diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2011-12-07 21:37:30 +0000 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2011-12-08 09:08:25 -0800 |
commit | 37044352d10b38aa52ce6572b40fe81fdd83df97 (patch) | |
tree | ed7af536012252648d788368c22f481c9c2a5bec /include | |
parent | 18cff66c0bca062280d6788d3293570370b78c6f (diff) |
config: coreboot: enable USB keyboard
Enable the compilation of USB keyboard driver code and the associated
polling code to detect keypress with the EHCI controller.
BUG=chrome-os-partner:5752
TEST=tested on Stumpy and Lumpy, with and without usb-keyboard set
in the device tree, check Ctrl+U, Ctrl+D and space are working as expected.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Change-Id: I424758ad6a30d01b5858ddaff6e4494a40e79f83
Reviewed-on: https://gerrit.chromium.org/gerrit/12582
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/coreboot.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 47f4634f3c..c5bf9b7208 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -98,7 +98,7 @@ #endif #define CONFIG_SYS_CONSOLE_IS_IN_ENV -#define CONFIG_STD_DEVICES_SETTINGS "stdin=vga,serial\0" \ +#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,vga,serial\0" \ "stdout=serial,cbmem\0" \ "stderr=vga,serial,cbmem\0" @@ -254,6 +254,8 @@ #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 12 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 #define CONFIG_USB_STORAGE +#define CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP +#define CONFIG_USB_KEYBOARD #if BUILD_NETWORK_STUFF #define CONFIG_USB_HOST_ETHER |