]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: config: popmetal: enable the USB host controller and function
authorKever Yang <kever.yang@rock-chips.com>
Thu, 24 Nov 2016 07:29:51 +0000 (15:29 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Jan 2017 03:21:20 +0000 (20:21 -0700)
RK3288 using the dwc2 USB host controller, enable it and other usb host
funtion like storage and ether.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Added rockchip: tag:
Signed-off-by: Simon Glass <sjg@chromium.org>
configs/popmetal-rk3288_defconfig
include/configs/rk3288_common.h

index a123b841f9775ce7ff00c6edecced24e84838424..c4bf33a2b32669f7a1aed5a5e337cad1704bd1bb 100644 (file)
@@ -64,3 +64,6 @@ CONFIG_SYSRESET=y
 CONFIG_USE_TINY_PRINTF=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_ERRNO_STR=y
+CONFIG_CMD_USB=y
+CONFIG_USB=y
+CONFIG_USB_STORAGE=y
index a9995ee1900ad89f8c7deb2338e0e2c0da794cd8..33b1f0e99951b66ba6824830b90f2a389b2cb45c 100644 (file)
 #define CONFIG_G_DNL_VENDOR_NUM                0x2207
 #define CONFIG_G_DNL_PRODUCT_NUM       0x320a
 
+/* usb host support */
+#ifdef CONFIG_CMD_USB
+#define CONFIG_USB_DWC2
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_SMSC95XX
+#define CONFIG_USB_ETHER_ASIX
+#endif
 #define ENV_MEM_LAYOUT_SETTINGS \
        "scriptaddr=0x00000000\0" \
        "pxefile_addr_r=0x00100000\0" \