[U-Boot] [PATCH v5 1/3] rockchip: firefly: Add some macros to enable the usb keyboard
Leo Wen
leo.wen at rock-chips.com
Tue Jul 25 11:00:18 UTC 2017
Add four macros of CONFIG_USB_KEYBOARD,CONFIG_DM_KEYBOARD,etc in
the rk3288_common.h,can support usb keyboard device when these four
macros are enabled.
Signed-off-by: Leo Wen <leo.wen at rock-chips.com>
---
include/configs/rk3288_common.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index 488d679..9a74ef3 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -84,6 +84,10 @@
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_SMSC95XX
#define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_KEYBOARD
+#define CONFIG_DM_KEYBOARD
+#define CONFIG_SYS_USB_EVENT_POLL
+#define CONFIG_SYS_STDIO_DEREGISTER 1
#endif
#define ENV_MEM_LAYOUT_SETTINGS \
"scriptaddr=0x00000000\0" \
--
2.7.4
More information about the U-Boot
mailing list