From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Tue, 25 Aug 2015 09:54:28 +0200 Subject: [U-Boot] [PATCH v3 5/7] video: cfb_console: Allow VGA device to work without i8042 keyboard In-Reply-To: References: <1440403209-8783-1-git-send-email-bmeng.cn@gmail.com> <1440403209-8783-5-git-send-email-bmeng.cn@gmail.com> Message-ID: <20150825095428.3031c3a6@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Mon, 24 Aug 2015 22:13:41 -0600 Simon Glass wrote: > On 24 August 2015 at 02:00, Bin Meng 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 > > Reviewed-by: Simon Glass > > What are your thoughts on this patch, please? it is okay for me, please merge it with other patches in this series. Thanks, Anatolij