commit | fece39baa5ce730d8467454e5ce407c0bc45cb78 | [log] [tgz] |
---|---|---|
author | Nicola Corna <nicola@corna.info> | Fri Mar 10 17:34:03 2017 +0100 |
committer | Martin Roth <martinroth@google.com> | Mon Mar 13 17:11:12 2017 +0100 |
tree | 6007f00617344950e091a3ef80ebcb94419f0bb2 | |
parent | 4fbd1aab33d81694b808f184d4f37b874d4cc383 [diff] [blame] |
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>
diff --git a/payloads/nvramcui/nvramcui.c b/payloads/nvramcui/nvramcui.c index 97be9df..9e12b97 100644 --- a/payloads/nvramcui/nvramcui.c +++ b/payloads/nvramcui/nvramcui.c
@@ -176,6 +176,10 @@ int ch, done; int i; +#if IS_ENABLED(CONFIG_LP_USB) + usb_initialize(); +#endif + /* coreboot data structures */ lib_get_sysinfo();