[U-Boot] [PATCH] x86: Make the i8042 driver checkpatch clean

Gabe Black gabeblack at google.com
Tue Nov 15 07:23:03 CET 2011


On Mon, Nov 14, 2011 at 9:26 PM, Graeme Russ <graeme.russ at gmail.com> wrote:

> Hi Gabe,
>
>
> On Tue, Nov 15, 2011 at 4:24 PM, Gabe Black <gabeblack at chromium.org>
> wrote:
> > Signed-off-by: Gabe Black <gabeblack at chromium.org>
> > ---
> >  drivers/input/i8042.c |  970
> ++++++++++++++++++++++++-------------------------
> >  1 files changed, 472 insertions(+), 498 deletions(-)
>
> So is this the legacy PS/2 keyboard connector? If so, I think I may be
> able to test this really soon
>
> Regards,
>
> Graeme
>


Historically speaking yes, but on at least some laptops the built-in
keyboard uses PS/2 and looks like an i8042 to software. The BIOS can use
SMIs to emulate a PS/2 keyboard when a USB keyboard is used and the system
hasn't yet indicated that it understands USB. That could be the case if
U-Boot was being used more as a bootloader and there was a traditional BIOS
underneath that did fancy things like that.

Gabe


More information about the U-Boot mailing list