diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-05 16:23:34 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-09 20:19:31 -0400 |
commit | 25085236c67a68e6d50e7bfa79d41c870df4047e (patch) | |
tree | 1a62cc51a15fc9d8dca13571d09713dfccb03756 | |
parent | 91b00b5fcc42a138ad4cd030748463df85774bfc (diff) | |
download | u-boot-25085236c67a68e6d50e7bfa79d41c870df4047e.tar.gz |
dm: arm: rpi: Move to driver model for USB
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>
-rw-r--r-- | configs/rpi_2_defconfig | 1 | ||||
-rw-r--r-- | configs/rpi_3_32b_defconfig | 1 | ||||
-rw-r--r-- | configs/rpi_3_defconfig | 1 | ||||
-rw-r--r-- | configs/rpi_defconfig | 1 | ||||
-rw-r--r-- | include/configs/rpi.h | 5 |
5 files changed, 4 insertions, 5 deletions
diff --git a/configs/rpi_2_defconfig b/configs/rpi_2_defconfig index 9875f5d295..9b7fee7768 100644 --- a/configs/rpi_2_defconfig +++ b/configs/rpi_2_defconfig @@ -17,6 +17,7 @@ CONFIG_OF_EMBED=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_BCM2835=y CONFIG_USB=y +CONFIG_DM_USB=y CONFIG_USB_STORAGE=y CONFIG_USB_KEYBOARD=y CONFIG_SYS_WHITE_ON_BLACK=y diff --git a/configs/rpi_3_32b_defconfig b/configs/rpi_3_32b_defconfig index e4a81b882d..8db0a58885 100644 --- a/configs/rpi_3_32b_defconfig +++ b/configs/rpi_3_32b_defconfig @@ -19,6 +19,7 @@ CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_BCM2835=y # CONFIG_REQUIRE_SERIAL_CONSOLE is not set CONFIG_USB=y +CONFIG_DM_USB=y CONFIG_USB_STORAGE=y CONFIG_USB_KEYBOARD=y CONFIG_SYS_WHITE_ON_BLACK=y diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig index e0be6c76f8..b0c38a9f91 100644 --- a/configs/rpi_3_defconfig +++ b/configs/rpi_3_defconfig @@ -19,6 +19,7 @@ CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_BCM2835=y # CONFIG_REQUIRE_SERIAL_CONSOLE is not set CONFIG_USB=y +CONFIG_DM_USB=y CONFIG_USB_STORAGE=y CONFIG_USB_KEYBOARD=y CONFIG_SYS_WHITE_ON_BLACK=y diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig index a07d69800c..7ee2dee1aa 100644 --- a/configs/rpi_defconfig +++ b/configs/rpi_defconfig @@ -17,6 +17,7 @@ CONFIG_OF_EMBED=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_BCM2835=y CONFIG_USB=y +CONFIG_DM_USB=y CONFIG_USB_STORAGE=y CONFIG_USB_KEYBOARD=y CONFIG_SYS_WHITE_ON_BLACK=y diff --git a/include/configs/rpi.h b/include/configs/rpi.h index 732d5b9fbe..a2e74f6a4d 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -79,11 +79,6 @@ #ifdef CONFIG_CMD_USB #define CONFIG_USB_DWC2 -#ifndef CONFIG_BCM2835 -#define CONFIG_USB_DWC2_REG_ADDR 0x3f980000 -#else -#define CONFIG_USB_DWC2_REG_ADDR 0x20980000 -#endif #define CONFIG_USB_HOST_ETHER #define CONFIG_USB_ETHER_SMSC95XX #define CONFIG_TFTP_TSIZE |