]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
sandbox: Enable USB keyboard
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2015 06:48:07 +0000 (23:48 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:27:52 +0000 (20:27 -0700)
Enable the USB keyboard on sandbox, now that we have a suitable emulation
driver.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/sandbox_defconfig
include/configs/sandbox.h

index 40538488219bb0f08514bccaead553de2b64dc6f..01786745f18dc3fae6fc7f7f0bc807924ab2f7cc 100644 (file)
@@ -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
index fb1bfb7faccf39ddf67153cce61d463734069ae2..1c75c383f9ae65d95ee8427eb187ba79b1c80071 100644 (file)
 
 #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