diff options
author | Simon Glass <sjg@chromium.org> | 2015-11-08 23:48:07 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-11-19 20:27:52 -0700 |
commit | 460a7172852033a1b897a61e954d1e3f1c32285f (patch) | |
tree | 1669a4430275c5e6c64ae4f9e8d33721049ca164 | |
parent | d8a26f0300e0fae51de277e5d5892926de12102f (diff) |
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>
-rw-r--r-- | configs/sandbox_defconfig | 2 | ||||
-rw-r--r-- | include/configs/sandbox.h | 2 |
2 files changed, 3 insertions, 1 deletions
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 |