]> git.baikalelectronics.ru Git - uboot.git/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)
commit4639ffa2f986360601337a414f62f500b41a5535
tree8b3e0f5da133892768ee0d34458e6bef6194b484
parentdb972d602763c63c7928af8d502e031c6069d64b
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