summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-08-24 01:00:06 -0700
committerSimon Glass <sjg@chromium.org>2015-08-26 07:54:16 -0700
commit7d96166b1b1a261ddd4247befd62b35b2f482bae (patch)
tree8bade35e77db70ad27eaf9e04da1040cf294b31a /lib
parent835dd000503591d8eb59a191f7220768898737b3 (diff)
downloadblackbird-obmc-uboot-7d96166b1b1a261ddd4247befd62b35b2f482bae.tar.gz
blackbird-obmc-uboot-7d96166b1b1a261ddd4247befd62b35b2f482bae.zip
x86: i8042: Correctly initialize the controller
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@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud