Browse Source

x86: qemu: Convert to use driver model keyboard

Convert to use driver model keyboard on QEMU.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Bin Meng 9 years ago
parent
commit
b6ff6ce60c
3 changed files with 3 additions and 1 deletions
  1. 1 0
      arch/x86/dts/qemu-x86_i440fx.dts
  2. 1 0
      arch/x86/dts/qemu-x86_q35.dts
  3. 1 1
      include/configs/qemu-x86.h

+ 1 - 0
arch/x86/dts/qemu-x86_i440fx.dts

@@ -10,6 +10,7 @@
 
 /include/ "skeleton.dtsi"
 /include/ "serial.dtsi"
+/include/ "keyboard.dtsi"
 /include/ "rtc.dtsi"
 
 / {

+ 1 - 0
arch/x86/dts/qemu-x86_q35.dts

@@ -20,6 +20,7 @@
 
 /include/ "skeleton.dtsi"
 /include/ "serial.dtsi"
+/include/ "keyboard.dtsi"
 /include/ "rtc.dtsi"
 
 / {

+ 1 - 1
include/configs/qemu-x86.h

@@ -19,7 +19,7 @@
 
 #define CONFIG_PCI_PNP
 
-#define CONFIG_STD_DEVICES_SETTINGS	"stdin=serial,vga\0" \
+#define CONFIG_STD_DEVICES_SETTINGS	"stdin=serial,i8042-kbd\0" \
 					"stdout=serial,vga\0" \
 					"stderr=serial,vga\0"