input: Provide a board specific mechanism to decide whether to skip i8042 init
authorGabe Black <gabeblack@chromium.org>
Fri, 12 Oct 2012 14:02:02 +0000 (14:02 +0000)
committerTom Rini <trini@ti.com>
Fri, 19 Oct 2012 22:25:43 +0000 (15:25 -0700)
commit48edb304d05d5d8b410db74f6e497adcfb132430
tree5c5401bae667835a612cb3cfa3674960965e6662
parentef94f7fa64190876c08b68eb1b067c5e6d3085f5
input: Provide a board specific mechanism to decide whether to skip i8042 init

This change adds a board overridable function which can be used to decide
whether or not to initialize the i8042 keyboard controller. On systems where
it isn't actually connected to anything, this can save a significant amount of
boot time.

On Stumpy, this saves about 200ms on boot.

Signed-off-by: Gabe Black <gabeblack@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@ti.com>
drivers/input/i8042.c