diff mbox

[U-Boot,v3,10/11] arm: rpi: Move to driver model for USB

Message ID 1438954951-13329-11-git-send-email-sjg@chromium.org
State Deferred
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Aug. 7, 2015, 1:42 p.m. UTC
Start using driver model for USB on the Raspberry Pi. The dwc2 supports
this now so this is just a config change.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v3: None
Changes in v2: None

 configs/rpi_defconfig        | 2 ++
 include/configs/rpi-common.h | 5 -----
 2 files changed, 2 insertions(+), 5 deletions(-)
diff mbox

Patch

diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig
index d22ed78..43f5fdd 100644
--- a/configs/rpi_defconfig
+++ b/configs/rpi_defconfig
@@ -9,3 +9,5 @@  CONFIG_PHYS_TO_BUS=y
 CONFIG_CMD_NET=y
 CONFIG_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="bcm2835-rpi-b"
+CONFIG_USB=y
+CONFIG_DM_USB=y
diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h
index 733d1ab..8d85e93 100644
--- a/include/configs/rpi-common.h
+++ b/include/configs/rpi-common.h
@@ -81,11 +81,6 @@ 
 #define CONFIG_CMD_USB
 #ifdef CONFIG_CMD_USB
 #define CONFIG_USB_DWC2
-#ifdef CONFIG_BCM2836
-#define CONFIG_USB_DWC2_REG_ADDR 0x3f980000
-#else
-#define CONFIG_USB_DWC2_REG_ADDR 0x20980000
-#endif
 #define CONFIG_USB_STORAGE
 #define CONFIG_USB_HOST_ETHER
 #define CONFIG_USB_ETHER_SMSC95XX