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>
This commit is contained in:
Kever Yang 2016-11-08 18:13:39 +08:00 committed by Simon Glass
parent 0dffb28107
commit 1e352124b9
2 changed files with 10 additions and 0 deletions

View file

@ -36,3 +36,6 @@ CONFIG_RAM=y
CONFIG_SYSRESET=y CONFIG_SYSRESET=y
CONFIG_CMD_DHRYSTONE=y CONFIG_CMD_DHRYSTONE=y
CONFIG_ERRNO_STR=y CONFIG_ERRNO_STR=y
CONFIG_CMD_USB=y
CONFIG_USB=y
CONFIG_USB_STORAGE=y

View file

@ -79,6 +79,13 @@
#define CONFIG_G_DNL_VENDOR_NUM 0x2207 #define CONFIG_G_DNL_VENDOR_NUM 0x2207
#define CONFIG_G_DNL_PRODUCT_NUM 0x310a #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 \ #define ENV_MEM_LAYOUT_SETTINGS \
"scriptaddr=0x60000000\0" \ "scriptaddr=0x60000000\0" \
"pxefile_addr_r=0x60100000\0" \ "pxefile_addr_r=0x60100000\0" \