summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2016-11-24 15:29:51 +0800
committerSimon Glass <sjg@chromium.org>2017-01-11 20:21:20 -0700
commitf57f35a833aa9748ae5a9600fd45a134a3e09152 (patch)
tree9ca7038077730f525ecbdbfce1644f3a625b877e /include
parentda20981269d890cb85ef9336a3f488d61fbd73b7 (diff)
rockchip: config: popmetal: enable the USB host controller and function
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/rk3288_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index a9995ee190..33b1f0e999 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -87,6 +87,13 @@
#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" \