[U-Boot] [PATCH v3 5/7] video: cfb_console: Allow VGA device to work without i8042 keyboard

Anatolij Gustschin agust at denx.de
Tue Aug 25 09:45:24 CEST 2015


Hi Bin,

On Mon, 24 Aug 2015 01:00:07 -0700
Bin Meng <bmeng.cn at gmail.com> wrote:

> 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 at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Acked-by: Anatolij Gustschin <agust at denx.de>


More information about the U-Boot mailing list