UPSTREAM: nvramcui: Add USB support

Enable the USB during the initialization of nvramcui. Without it
the USB keyboards don't work, which makes this payload pointless
on the systems where a PS/2 keyboard port isn't available.

Based on https://review.coreboot.org/#/c/17507/

BUG=none
BRANCH=none
TEST=none

Change-Id: I794d780072cdd36c98b2dac0012ecb69c1d609e2
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: fece39baa5
Original-Change-Id: I04697c5f582b41e6f6ffe98955bf59f4fe57f66e
Original-Signed-off-by: Nicola Corna <nicola@corna.info>
Original-Reviewed-on: https://review.coreboot.org/18765
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://chromium-review.googlesource.com/454543
This commit is contained in:
Nicola Corna 2017-03-10 17:34:03 +01:00 committed by chrome-bot
parent 03908ec016
commit ecc4ace061

View file

@ -176,6 +176,10 @@ int main(void)
int ch, done;
int i;
#if IS_ENABLED(CONFIG_LP_USB)
usb_initialize();
#endif
/* coreboot data structures */
lib_get_sysinfo();