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

Simon Glass sjg at chromium.org
Fri Aug 7 15:42:30 CEST 2015


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 at 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 --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
-- 
2.5.0.rc2.392.g76e840b



More information about the U-Boot mailing list