From 2342f8b343c49803f44803b5732613119f17cd50 Mon Sep 17 00:00:00 2001 From: Aaron Lwe Date: Tue, 6 May 2008 15:02:22 +0000 Subject: 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 Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3280 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/emulation/qemu-x86/mainboard.c | 2 ++ 1 file changed, 2 insertions(+) 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 = { -- cgit v1.2.3