From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Fri, 7 Aug 2015 07:42:30 -0600 Subject: [U-Boot] [PATCH v3 10/11] arm: rpi: Move to driver model for USB In-Reply-To: <1438954951-13329-1-git-send-email-sjg@chromium.org> References: <1438954951-13329-1-git-send-email-sjg@chromium.org> Message-ID: <1438954951-13329-11-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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