[U-Boot] [PATCH v3 4/7] x86: i8042: Correctly initialize the controller

Simon Glass sjg at chromium.org
Wed Aug 26 16:56:20 CEST 2015


On 24 August 2015 at 01:00, Bin Meng <bmeng.cn at gmail.com> wrote:
> The existing i8042 keyboard controller driver has some issues.
> First of all, it does not issue a self-test command (0xaa) to the
> controller at the very beginning. Without this, the controller
> does not respond to any command at all. Secondly, it initializes
> the configuration byte register to turn on the keyboard's interrupt,
> as U-Boot does not normally allow interrupts to be processed.
> Finally, at the end of the initialization routine, it wrongly
> sets the controller to disable all interfaces including both
> keyboard and mouse.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> Acked-by: Simon Glass <sjg at chromium.org>
>
> ---
>
> Changes in v3:
> - Fix commit message per Simon's comments
>
> Changes in v2:
> - Reorder this patch to follow the i8042 driver clean up patches
>
>  drivers/input/i8042.c | 43 +++++++++++++++++++++----------------------
>  1 file changed, 21 insertions(+), 22 deletions(-)

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list