[U-Boot] [PATCH 08/14] arm: mx6: cm-fx6: add support for usb keyboard
Nikita Kiryanov
nikita at compulab.co.il
Wed Jan 14 09:42:48 CET 2015
Add support for usb keyboard for cm_fx6.
Signed-off-by: Nikita Kiryanov <nikita at compulab.co.il>
Cc: Stefano Babic <sbabic at denx.de>
Cc: Igor Grinberg <grinberg at compulab.co.il>
---
include/configs/cm_fx6.h | 6 ++++++
1 file changed, 6 insertions(+)
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
--
1.9.1
More information about the U-Boot
mailing list