]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
config: rk3036: enable configs for USB HOST
authorKever Yang <kever.yang@rock-chips.com>
Tue, 8 Nov 2016 10:13:39 +0000 (18:13 +0800)
committerSimon Glass <sjg@chromium.org>
Sat, 26 Nov 2016 00:59:29 +0000 (17:59 -0700)
rk3036 using dwc2 usb controller, need enable relate configs for it.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
configs/kylin-rk3036_defconfig
include/configs/rk3036_common.h

index 424cdab5693afdc71b612662548970d48d7eb2bb..5a8b85aee151cc2d8f0fdc6c354dc1615218b987 100644 (file)
@@ -36,3 +36,6 @@ CONFIG_RAM=y
 CONFIG_SYSRESET=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_ERRNO_STR=y
+CONFIG_CMD_USB=y
+CONFIG_USB=y
+CONFIG_USB_STORAGE=y
index 4eef3f8cc6e8ac11eb03e05a9dd4ced960208840..92be29e7bbaa8696b66e37b65a78103ccb064be7 100644 (file)
 #define CONFIG_G_DNL_VENDOR_NUM                0x2207
 #define CONFIG_G_DNL_PRODUCT_NUM       0x310a
 
+/* usb host */
+#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=0x60000000\0" \
        "pxefile_addr_r=0x60100000\0" \