From: Simon Glass <sjg@chromium.org>
Date: Mon, 9 Nov 2015 06:48:07 +0000 (-0700)
Subject: sandbox: Enable USB keyboard
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=460a7172852033a1b897a61e954d1e3f1c32285f;p=project%2Fbcm63xx%2Fu-boot.git

sandbox: Enable USB keyboard

Enable the USB keyboard on sandbox, now that we have a suitable emulation
driver.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 4053848821..01786745f1 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -63,6 +63,8 @@ CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_EMUL=y
 CONFIG_USB_STORAGE=y
+CONFIG_USB_KEYBOARD=y
+CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_SYS_VSNPRINTF=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_TPM=y
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index fb1bfb7fac..1c75c383f9 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -177,7 +177,7 @@
 
 #define CONFIG_KEYBOARD
 
-#define SANDBOX_SERIAL_SETTINGS		"stdin=serial,cros-ec-keyb\0" \
+#define SANDBOX_SERIAL_SETTINGS		"stdin=serial,cros-ec-keyb,usbkbd\0" \
 					"stdout=serial,lcd\0" \
 					"stderr=serial,lcd\0"
 #else