diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2015-01-14 10:42:48 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-01-29 17:42:29 +0100 |
commit | 1c2e529243b126a15b604cadd96e5dff3ce225de (patch) | |
tree | efd01ff0860a05b359fa0e2e36ce76fc30a7ea90 /include | |
parent | 8015dde87876dc3f5cb600186d7ad30744a1b7dc (diff) | |
download | u-boot-imx-1c2e529243b126a15b604cadd96e5dff3ce225de.zip u-boot-imx-1c2e529243b126a15b604cadd96e5dff3ce225de.tar.gz u-boot-imx-1c2e529243b126a15b604cadd96e5dff3ce225de.tar.bz2 |
arm: mx6: cm-fx6: add support for usb keyboard
Add support for usb keyboard for cm_fx6.
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/cm_fx6.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h index 5d0d303..49b1b00 100644 --- a/include/configs/cm_fx6.h +++ b/include/configs/cm_fx6.h @@ -103,6 +103,7 @@ #define CONFIG_ENV_OFFSET (768 * 1024) #define CONFIG_EXTRA_ENV_SETTINGS \ + "stdin=serial,usbkbd\0" \ "stdout=serial,vga\0" \ "stderr=serial,vga\0" \ "panel=HDMI\0" \ @@ -193,6 +194,8 @@ "run setupnandboot;" \ "run nandboot;" +#define CONFIG_PREBOOT "usb start" + /* SPI */ #define CONFIG_SPI #define CONFIG_MXC_SPI @@ -241,6 +244,9 @@ #define CONFIG_MXC_USB_FLAGS 0 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET /* For OTG port */ +#define CONFIG_USB_KEYBOARD +#define CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP +#define CONFIG_SYS_STDIO_DEREGISTER /* I2C */ #define CONFIG_CMD_I2C |