[U-Boot] [PATCH v4 1/3] rockchip: firefly: Add some macros to enable the usb keyboard

Leo Wen leo.wen at rock-chips.com
Tue Jul 25 06:48:06 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.

Change-Id: I13696758827f3129733cdd21073a83781be93b06
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 ac36986..ac268cd 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -88,6 +88,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