summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorNicola Corna <nicola@corna.info>2017-03-10 17:34:03 +0100
committerMartin Roth <martinroth@google.com>2017-03-13 17:11:12 +0100
commitfece39baa5ce730d8467454e5ce407c0bc45cb78 (patch)
tree6007f00617344950e091a3ef80ebcb94419f0bb2 /payloads
parent4fbd1aab33d81694b808f184d4f37b874d4cc383 (diff)
downloadcoreboot-fece39baa5ce730d8467454e5ce407c0bc45cb78.tar.xz
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/ Change-Id: I04697c5f582b41e6f6ffe98955bf59f4fe57f66e Signed-off-by: Nicola Corna <nicola@corna.info> Reviewed-on: https://review.coreboot.org/18765 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/nvramcui/nvramcui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/nvramcui/nvramcui.c b/payloads/nvramcui/nvramcui.c
index 97be9df2fe..9e12b9763b 100644
--- a/payloads/nvramcui/nvramcui.c
+++ b/payloads/nvramcui/nvramcui.c
@@ -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();