summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2014-09-21 10:25:12 +0200
committerMarek Vasut <[email protected]>2014-10-22 22:02:08 +0200
commit72d5702c44ed43cf36491059f00a7b1819341610 (patch)
tree043b44572780e2c7bf710dbc3f732c3f5f1bd997
parent6e9e06260d4fa8873fdebddc2a11f9205674d189 (diff)
arm: rpi: Enable USB support on RPi
Enable DWC2 USB, storage and ethernet support. Tested on RPi B+. Signed-off-by: Marek Vasut <[email protected]> Cc: Stephen Warren <[email protected]> Cc: Chin Liang See <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Albert Aribaud <[email protected]> Cc: Tom Rini <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Pavel Machek <[email protected]>
-rw-r--r--include/configs/rpi_b.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h
index 2d698094800..9a532326805 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