diff mbox

[U-Boot,6/6] x86: qemu: Convert to use driver model keyboard

Message ID 1447335186-27731-6-git-send-email-bmeng.cn@gmail.com
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Bin Meng Nov. 12, 2015, 1:33 p.m. UTC
Convert to use driver model keyboard on QEMU.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 arch/x86/dts/qemu-x86_i440fx.dts | 1 +
 arch/x86/dts/qemu-x86_q35.dts    | 1 +
 include/configs/qemu-x86.h       | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

Comments

Simon Glass Nov. 12, 2015, 7:58 p.m. UTC | #1
On 12 November 2015 at 06:33, Bin Meng <bmeng.cn@gmail.com> wrote:
> Convert to use driver model keyboard on QEMU.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
>  arch/x86/dts/qemu-x86_i440fx.dts | 1 +
>  arch/x86/dts/qemu-x86_q35.dts    | 1 +
>  include/configs/qemu-x86.h       | 2 +-
>  3 files changed, 3 insertions(+), 1 deletion(-)

Acked-by: Simon Glass <sjg@chromium.org>
Simon Glass Nov. 14, 2015, 2:05 a.m. UTC | #2
Applied to u-boot-dm, thanks!
diff mbox

Patch

diff --git a/arch/x86/dts/qemu-x86_i440fx.dts b/arch/x86/dts/qemu-x86_i440fx.dts
index fc74cd0..8da7e52 100644
--- a/arch/x86/dts/qemu-x86_i440fx.dts
+++ b/arch/x86/dts/qemu-x86_i440fx.dts
@@ -10,6 +10,7 @@ 
 
 /include/ "skeleton.dtsi"
 /include/ "serial.dtsi"
+/include/ "keyboard.dtsi"
 /include/ "rtc.dtsi"
 
 / {
diff --git a/arch/x86/dts/qemu-x86_q35.dts b/arch/x86/dts/qemu-x86_q35.dts
index 7f16971..df30c89 100644
--- a/arch/x86/dts/qemu-x86_q35.dts
+++ b/arch/x86/dts/qemu-x86_q35.dts
@@ -20,6 +20,7 @@ 
 
 /include/ "skeleton.dtsi"
 /include/ "serial.dtsi"
+/include/ "keyboard.dtsi"
 /include/ "rtc.dtsi"
 
 / {
diff --git a/include/configs/qemu-x86.h b/include/configs/qemu-x86.h
index 1b544c1..9daf943 100644
--- a/include/configs/qemu-x86.h
+++ b/include/configs/qemu-x86.h
@@ -30,7 +30,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"