diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-08-24 08:00:07 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-26 14:54:16 (GMT) |
commit | 8ceb2429c97cc037bd2a6f27f4645d02a78e7aa5 (patch) | |
tree | b0cd9885628cf67554ecb2aebf7379ebe6a88e7b /include | |
parent | 7d96166b1b1a261ddd4247befd62b35b2f482bae (diff) | |
download | u-boot-8ceb2429c97cc037bd2a6f27f4645d02a78e7aa5.tar.xz |
video: cfb_console: Allow VGA device to work without i8042 keyboard
So far if CONFIG_VGA_AS_SINGLE_DEVICE is not defined, the VGA device
will try to initialize a keyboard device (for x86, it is i8042). But
if i8042 controller initialization fails (eg: there is no keyboard
connected to the PS/2 port), drv_video_init() just simply returns.
This kills the opportunity of using a usb keyboard later with the vga
console, as the vga initialization part is actually ok, only keyboard
part fails. Change the code logic to allow this.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions