summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-x86
diff options
context:
space:
mode:
authorAaron Lwe <aaron.lwe@gmail.com>2008-05-06 15:02:22 +0000
committerMyles Watson <mylesgw@gmail.com>2008-05-06 15:02:22 +0000
commit2342f8b343c49803f44803b5732613119f17cd50 (patch)
treea4965c0d4000648f346dd9e44229a6be7a3e5899 /src/mainboard/emulation/qemu-x86
parent4f9141758ef41080c0aaa93bc6cef6309085f70d (diff)
This patch adds pc keyboard init function call for qemu in v2 since some payloads assume
Coreboot initializes it. Coreboot v3 already does it. Signed-off-by: Aaron Lwe <aaron.lwe@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3280 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/emulation/qemu-x86')
-rw-r--r--src/mainboard/emulation/qemu-x86/mainboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-x86/mainboard.c b/src/mainboard/emulation/qemu-x86/mainboard.c
index f00a2cca2d..abf1299dd1 100644
--- a/src/mainboard/emulation/qemu-x86/mainboard.c
+++ b/src/mainboard/emulation/qemu-x86/mainboard.c
@@ -17,6 +17,8 @@ static void vga_init(device_t dev)
do_vgabios();
vga_enable_console();
+
+ init_pc_keyboard(0x60, 0x64, 0);
}
static struct device_operations vga_operations = {