summaryrefslogtreecommitdiff
path: root/include/configs/rk3036_common.h
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2016-11-08 10:13:39 (GMT)
committerSimon Glass <sjg@chromium.org>2016-11-26 00:59:29 (GMT)
commit1e352124b94f977fb7bbb516ea09ef345a70ee09 (patch)
tree3c54d3d945cd454a3c2f77d738a70c930040c1bf /include/configs/rk3036_common.h
parent0dffb28107392bf4552858fb7f5d329d812cfd0a (diff)
downloadu-boot-1e352124b94f977fb7bbb516ea09ef345a70ee09.tar.xz
config: rk3036: enable configs for USB HOST
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>
Diffstat (limited to 'include/configs/rk3036_common.h')
-rw-r--r--include/configs/rk3036_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h
index 4eef3f8..92be29e 100644
--- a/include/configs/rk3036_common.h
+++ b/include/configs/rk3036_common.h
@@ -79,6 +79,13 @@
#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" \