[U-Boot] [PATCH 2/5] x86: i8042: Correctly initialize the controller

Simon Glass sjg at chromium.org
Tue Aug 18 04:00:40 CEST 2015


On 17 August 2015 at 04:45, 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 any command at all. Secondly, it initializes
> the configuration byte reigster to turn on keyboard's interrupt,
> which is not allowed as U-Boot we don't normally enable interrupt.
> 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>
> ---
>
>  drivers/input/i8042.c | 22 +++++++++++++---------
>  1 file changed, 13 insertions(+), 9 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list