diff options
author | Marek Vasut <marex@denx.de> | 2014-09-21 10:25:12 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2014-10-22 22:02:08 +0200 |
commit | 72d5702c44ed43cf36491059f00a7b1819341610 (patch) | |
tree | 043b44572780e2c7bf710dbc3f732c3f5f1bd997 | |
parent | 6e9e06260d4fa8873fdebddc2a11f9205674d189 (diff) | |
download | u-boot-imx-72d5702c44ed43cf36491059f00a7b1819341610.zip u-boot-imx-72d5702c44ed43cf36491059f00a7b1819341610.tar.gz u-boot-imx-72d5702c44ed43cf36491059f00a7b1819341610.tar.bz2 |
arm: rpi: Enable USB support on RPi
Enable DWC2 USB, storage and ethernet support. Tested on RPi B+.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pavel Machek <pavel@denx.de>
-rw-r--r-- | include/configs/rpi_b.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index 2d69809..9a53232 100644 --- a/include/configs/rpi_b.h +++ b/include/configs/rpi_b.h @@ -124,13 +124,7 @@ /* Some things don't make sense on this HW or yet */ #undef CONFIG_CMD_FPGA -#undef CONFIG_CMD_NET -#undef CONFIG_CMD_NFS #undef CONFIG_CMD_SAVEENV -#undef CONFIG_CMD_DHCP -#undef CONFIG_CMD_MII -#undef CONFIG_CMD_NET -#undef CONFIG_CMD_PING /* Environment */ #define ENV_DEVICE_SETTINGS \ @@ -181,4 +175,13 @@ #define CONFIG_BOOTDELAY 2 +#define CONFIG_CMD_USB +#ifdef CONFIG_CMD_USB +#define CONFIG_USB_DWC2 +#define CONFIG_USB_DWC2_REG_ADDR 0x20980000 +#define CONFIG_USB_STORAGE +#define CONFIG_USB_HOST_ETHER +#define CONFIG_USB_ETHER_SMSC95XX +#endif + #endif |