]> git.sur5r.net Git - u-boot/commit
x86: efi-x86_payload: Enable usb keyboard during boot
authorBin Meng <bmeng.cn@gmail.com>
Sun, 17 Jun 2018 12:57:53 +0000 (05:57 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jun 2018 00:56:04 +0000 (08:56 +0800)
commit1ab2c010879baff93c690be8d98d294e9ccfab94
tree8b3e0f5da133892768ee0d34458e6bef6194b484
parent6d02cf0562ead596b20ce23f102be5c3020c04f9
x86: efi-x86_payload: Enable usb keyboard during boot

For boards that don't route serial port pins out, it's quite common
to attach a USB keyboard as the input device, along with a monitor.
However USB is not automatically started in the generic efi payload
codes. This uses a payload specific last_stage_init() to start the
USB bus, so that a USB keyboard can be used on the U-Boot shell.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/cpu.c
arch/x86/cpu/efi/payload.c
include/configs/efi-x86_payload.h