From 460a7172852033a1b897a61e954d1e3f1c32285f Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 8 Nov 2015 23:48:07 -0700 Subject: [PATCH] sandbox: Enable USB keyboard Enable the USB keyboard on sandbox, now that we have a suitable emulation driver. Signed-off-by: Simon Glass --- configs/sandbox_defconfig | 2 ++ include/configs/sandbox.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.25.1