commit | c25886949524d1e1a9809cf1a9908b070b731c03 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sun May 18 17:10:41 2008 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sun May 18 17:10:41 2008 -0400 |
tree | 7687d4af41dd1a689f1d0fbf2a990c50809ef098 | |
parent | f64f0dbd521653db7138d7a9fdba4eeaf25f44a4 [diff] |
Don't initialize keyboard hardware on coreboot - coreboot already does it.
diff --git a/src/kbd.c b/src/kbd.c index 3770305..6786698 100644 --- a/src/kbd.c +++ b/src/kbd.c
@@ -48,6 +48,10 @@ static void keyboard_init() { + if (CONFIG_COREBOOT) + // Coreboot already does low-level keyboard init. + return; + /* ------------------- Flush buffers ------------------------*/ /* Wait until buffer is empty */ kbd_flush(0xff);