[coreboot] Patch set updated for coreboot: 1f33e8f coreinfo: changes to get the USB keyboard working

Dave Frodin (dave.frodin@se-eng.com) gerrit at coreboot.org
Tue Dec 11 00:25:16 CET 2012

Dave Frodin (dave.frodin at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1983


commit 1f33e8f212ddc7fd76f6b661b24243af4c34a91b
Author: Dave Frodin <dave.frodin at se-eng.com>
Date:   Wed Dec 5 17:22:47 2012 -0700

    coreinfo: changes to get the USB keyboard working
    A call to usb_initialize() was needed. Also needed to set several
    curses flags. One to prevent keystrokes echoing to the display,
    and one to allow extended keystrokes (like the KEY_F(n)) to be
    seen when calling getch();
    Change-Id: I495b42055a54603e4efb92b2845051434d88432d
    Signed-off-by: Dave Frodin <dave.frodin at se-eng.com>
 payloads/coreinfo/coreinfo.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index 7e8b201..97538a0 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -271,6 +271,10 @@ int main(void)
 	int i, j;
+#if defined(CONFIG_USB)
+	usb_initialize();
@@ -292,6 +296,9 @@ int main(void)
+	noecho(); /* don't let curses echo keyboard chars */
+	keypad(stdscr, TRUE); /* allow KEY_F(n) keys to be seen */
 	return 0;

More information about the coreboot mailing list