mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
91b00b5fcc
commit
25085236c6
5 changed files with 4 additions and 5 deletions
|
@ -17,6 +17,7 @@ CONFIG_OF_EMBED=y
|
||||||
CONFIG_MMC_SDHCI=y
|
CONFIG_MMC_SDHCI=y
|
||||||
CONFIG_MMC_SDHCI_BCM2835=y
|
CONFIG_MMC_SDHCI_BCM2835=y
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
|
CONFIG_DM_USB=y
|
||||||
CONFIG_USB_STORAGE=y
|
CONFIG_USB_STORAGE=y
|
||||||
CONFIG_USB_KEYBOARD=y
|
CONFIG_USB_KEYBOARD=y
|
||||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||||
|
|
|
@ -19,6 +19,7 @@ CONFIG_MMC_SDHCI=y
|
||||||
CONFIG_MMC_SDHCI_BCM2835=y
|
CONFIG_MMC_SDHCI_BCM2835=y
|
||||||
# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
|
# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
|
CONFIG_DM_USB=y
|
||||||
CONFIG_USB_STORAGE=y
|
CONFIG_USB_STORAGE=y
|
||||||
CONFIG_USB_KEYBOARD=y
|
CONFIG_USB_KEYBOARD=y
|
||||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||||
|
|
|
@ -19,6 +19,7 @@ CONFIG_MMC_SDHCI=y
|
||||||
CONFIG_MMC_SDHCI_BCM2835=y
|
CONFIG_MMC_SDHCI_BCM2835=y
|
||||||
# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
|
# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
|
CONFIG_DM_USB=y
|
||||||
CONFIG_USB_STORAGE=y
|
CONFIG_USB_STORAGE=y
|
||||||
CONFIG_USB_KEYBOARD=y
|
CONFIG_USB_KEYBOARD=y
|
||||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||||
|
|
|
@ -17,6 +17,7 @@ CONFIG_OF_EMBED=y
|
||||||
CONFIG_MMC_SDHCI=y
|
CONFIG_MMC_SDHCI=y
|
||||||
CONFIG_MMC_SDHCI_BCM2835=y
|
CONFIG_MMC_SDHCI_BCM2835=y
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
|
CONFIG_DM_USB=y
|
||||||
CONFIG_USB_STORAGE=y
|
CONFIG_USB_STORAGE=y
|
||||||
CONFIG_USB_KEYBOARD=y
|
CONFIG_USB_KEYBOARD=y
|
||||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||||
|
|
|
@ -79,11 +79,6 @@
|
||||||
|
|
||||||
#ifdef CONFIG_CMD_USB
|
#ifdef CONFIG_CMD_USB
|
||||||
#define CONFIG_USB_DWC2
|
#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_HOST_ETHER
|
||||||
#define CONFIG_USB_ETHER_SMSC95XX
|
#define CONFIG_USB_ETHER_SMSC95XX
|
||||||
#define CONFIG_TFTP_TSIZE
|
#define CONFIG_TFTP_TSIZE
|
||||||
|
|
Loading…
Reference in a new issue