
Enable the USB keyboard on sandbox, now that we have a suitable emulation driver.
Signed-off-by: Simon Glass sjg@chromium.org ---
Changes in v2: None
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 ac3cce2..d1f10d5 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -72,3 +72,5 @@ CONFIG_ADC_SANDBOX=y CONFIG_CONSOLE_RECORD=y CONFIG_CONSOLE_RECORD_OUT_SIZE=0x1000 CONFIG_SYS_MALLOC_F_LEN=0x2000 +CONFIG_USB_KEYBOARD=y +CONFIG_SYS_USB_EVENT_POLL=y diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index f52488b..c89bc5a 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -178,7 +178,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