]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
input: i8042: Provide feature to disable keyboard before booting kernel
authorLouis Yung-Chieh Lo <yjlou@chromium.org>
Thu, 11 Oct 2012 15:15:51 +0000 (15:15 +0000)
committerTom Rini <trini@ti.com>
Fri, 19 Oct 2012 22:25:43 +0000 (15:25 -0700)
commit45fe668f5f6065f37836d5e941f36418fa3676cd
tree7a99c1a78b68eb0d8430f919d8c731afee8b008d
parent48edb304d05d5d8b410db74f6e497adcfb132430
input: i8042: Provide feature to disable keyboard before booting kernel

The BIOS leaves the keyboard enabled during boot time so that any
keystroke would interfere kernel driver initialization.

Add a way to disable the keyboard to make sure no scancode will be
generated during the boot time. Note that the keyboard will be
re-enabled again after the kernel driver is up.

This code can be called from the board functions.
Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org>
Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@ti.com>
drivers/input/i8042.c
include/i8042.h