mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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:
parent
03908ec016
commit
ecc4ace061
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue