diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_vboot_twostop.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/common/cmd_vboot_twostop.c b/common/cmd_vboot_twostop.c index 88cc50a9eb..76b3fed4d5 100644 --- a/common/cmd_vboot_twostop.c +++ b/common/cmd_vboot_twostop.c @@ -862,7 +862,15 @@ twostop_readwrite_main_firmware(void) return TWOSTOP_SELECT_ERROR; } - /* TODO Now, initialize device that bootstub did not initialize */ +#ifdef CONFIG_USB_KEYBOARD + if (board_use_usb_keyboard(FIRMWARE_TYPE_NORMAL)) { + int cnt; + /* enumerate USB devices to find the keyboard */ + cnt = usb_init(); + if (cnt >= 0) + drv_usb_kbd_init(); + } +#endif return twostop_main_firmware(&fmap, gbb, cdata, cdata->vb_shared_data); } |