mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
This commit is contained in:
commit
319d309b58
12 changed files with 26 additions and 7 deletions
|
@ -69,6 +69,7 @@ CONFIG_DFU_MMC=y
|
||||||
CONFIG_DFU_RAM=y
|
CONFIG_DFU_RAM=y
|
||||||
CONFIG_DFU_SF=y
|
CONFIG_DFU_SF=y
|
||||||
CONFIG_MISC=y
|
CONFIG_MISC=y
|
||||||
|
CONFIG_SPL_MISC=y
|
||||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x50
|
CONFIG_SYS_I2C_EEPROM_ADDR=0x50
|
||||||
CONFIG_MMC_OMAP_HS=y
|
CONFIG_MMC_OMAP_HS=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
|
@ -103,6 +104,7 @@ CONFIG_USB_XHCI_OMAP=y
|
||||||
CONFIG_USB_DWC3=y
|
CONFIG_USB_DWC3=y
|
||||||
CONFIG_USB_DWC3_OMAP=y
|
CONFIG_USB_DWC3_OMAP=y
|
||||||
CONFIG_USB_DWC3_GENERIC=y
|
CONFIG_USB_DWC3_GENERIC=y
|
||||||
|
CONFIG_SPL_USB_DWC3_GENERIC=y
|
||||||
CONFIG_USB_DWC3_PHY_OMAP=y
|
CONFIG_USB_DWC3_PHY_OMAP=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||||
|
|
|
@ -8,6 +8,7 @@ CONFIG_DM_GPIO=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm"
|
CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm"
|
||||||
CONFIG_AM43XX=y
|
CONFIG_AM43XX=y
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
|
CONFIG_SPL_MISC=y
|
||||||
CONFIG_DISTRO_DEFAULTS=y
|
CONFIG_DISTRO_DEFAULTS=y
|
||||||
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
||||||
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4033ff00
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4033ff00
|
||||||
|
@ -104,6 +105,7 @@ CONFIG_USB_XHCI_OMAP=y
|
||||||
CONFIG_USB_DWC3=y
|
CONFIG_USB_DWC3=y
|
||||||
CONFIG_USB_DWC3_OMAP=y
|
CONFIG_USB_DWC3_OMAP=y
|
||||||
CONFIG_USB_DWC3_GENERIC=y
|
CONFIG_USB_DWC3_GENERIC=y
|
||||||
|
CONFIG_SPL_USB_DWC3_GENERIC=y
|
||||||
CONFIG_USB_DWC3_PHY_OMAP=y
|
CONFIG_USB_DWC3_PHY_OMAP=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||||
|
|
|
@ -15,6 +15,7 @@ CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000
|
||||||
CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
|
CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
|
||||||
CONFIG_SPL_DRIVERS_MISC=y
|
CONFIG_SPL_DRIVERS_MISC=y
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
|
CONFIG_SPL_MISC=y
|
||||||
CONFIG_DISTRO_DEFAULTS=y
|
CONFIG_DISTRO_DEFAULTS=y
|
||||||
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
||||||
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4033ff00
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4033ff00
|
||||||
|
@ -102,6 +103,7 @@ CONFIG_USB_XHCI_OMAP=y
|
||||||
CONFIG_USB_DWC3=y
|
CONFIG_USB_DWC3=y
|
||||||
CONFIG_USB_DWC3_OMAP=y
|
CONFIG_USB_DWC3_OMAP=y
|
||||||
CONFIG_USB_DWC3_GENERIC=y
|
CONFIG_USB_DWC3_GENERIC=y
|
||||||
|
CONFIG_SPL_USB_DWC3_GENERIC=y
|
||||||
CONFIG_USB_DWC3_PHY_OMAP=y
|
CONFIG_USB_DWC3_PHY_OMAP=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||||
|
|
|
@ -14,6 +14,7 @@ CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000
|
||||||
CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
|
CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
|
||||||
CONFIG_TARGET_AM57XX_EVM=y
|
CONFIG_TARGET_AM57XX_EVM=y
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
|
CONFIG_SPL_MISC=y
|
||||||
CONFIG_ENV_OFFSET_REDUND=0x280000
|
CONFIG_ENV_OFFSET_REDUND=0x280000
|
||||||
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
||||||
CONFIG_SPL_SPI=y
|
CONFIG_SPL_SPI=y
|
||||||
|
@ -121,6 +122,7 @@ CONFIG_USB_XHCI_DWC3=y
|
||||||
CONFIG_USB_XHCI_OMAP=y
|
CONFIG_USB_XHCI_OMAP=y
|
||||||
CONFIG_USB_DWC3=y
|
CONFIG_USB_DWC3=y
|
||||||
CONFIG_USB_DWC3_GENERIC=y
|
CONFIG_USB_DWC3_GENERIC=y
|
||||||
|
CONFIG_SPL_USB_DWC3_GENERIC=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0451
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0451
|
||||||
|
|
|
@ -12,6 +12,7 @@ CONFIG_ENV_SIZE=0x20000
|
||||||
CONFIG_ENV_OFFSET=0x680000
|
CONFIG_ENV_OFFSET=0x680000
|
||||||
CONFIG_DM_GPIO=y
|
CONFIG_DM_GPIO=y
|
||||||
CONFIG_SPL_DM_SPI=y
|
CONFIG_SPL_DM_SPI=y
|
||||||
|
CONFIG_SPL_MISC=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="k3-am654-base-board"
|
CONFIG_DEFAULT_DEVICE_TREE="k3-am654-base-board"
|
||||||
CONFIG_SPL_TEXT_BASE=0x80080000
|
CONFIG_SPL_TEXT_BASE=0x80080000
|
||||||
CONFIG_SPL_MMC=y
|
CONFIG_SPL_MMC=y
|
||||||
|
@ -173,6 +174,7 @@ CONFIG_USB_XHCI_HCD=y
|
||||||
CONFIG_USB_XHCI_DWC3=y
|
CONFIG_USB_XHCI_DWC3=y
|
||||||
CONFIG_USB_DWC3=y
|
CONFIG_USB_DWC3=y
|
||||||
CONFIG_USB_DWC3_GENERIC=y
|
CONFIG_USB_DWC3_GENERIC=y
|
||||||
|
CONFIG_SPL_USB_DWC3_GENERIC=y
|
||||||
CONFIG_USB_KEYBOARD=y
|
CONFIG_USB_KEYBOARD=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||||
|
|
|
@ -3,6 +3,7 @@ CONFIG_ARCH_K3=y
|
||||||
CONFIG_SYS_MALLOC_LEN=0x2000000
|
CONFIG_SYS_MALLOC_LEN=0x2000000
|
||||||
CONFIG_SYS_MALLOC_F_LEN=0x55000
|
CONFIG_SYS_MALLOC_F_LEN=0x55000
|
||||||
CONFIG_SPL_GPIO=y
|
CONFIG_SPL_GPIO=y
|
||||||
|
CONFIG_SPL_MISC=y
|
||||||
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
||||||
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
||||||
CONFIG_NR_DRAM_BANKS=2
|
CONFIG_NR_DRAM_BANKS=2
|
||||||
|
@ -128,6 +129,7 @@ CONFIG_USB_XHCI_HCD=y
|
||||||
CONFIG_USB_XHCI_DWC3=y
|
CONFIG_USB_XHCI_DWC3=y
|
||||||
CONFIG_USB_DWC3=y
|
CONFIG_USB_DWC3=y
|
||||||
CONFIG_USB_DWC3_GENERIC=y
|
CONFIG_USB_DWC3_GENERIC=y
|
||||||
|
CONFIG_SPL_USB_DWC3_GENERIC=y
|
||||||
CONFIG_USB_STORAGE=y
|
CONFIG_USB_STORAGE=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||||
|
|
|
@ -10,6 +10,7 @@ CONFIG_SPL_TEXT_BASE=0x40300000
|
||||||
CONFIG_OMAP54XX=y
|
CONFIG_OMAP54XX=y
|
||||||
CONFIG_TARGET_DRA7XX_EVM=y
|
CONFIG_TARGET_DRA7XX_EVM=y
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
|
CONFIG_SPL_MISC=y
|
||||||
CONFIG_ENV_OFFSET_REDUND=0x280000
|
CONFIG_ENV_OFFSET_REDUND=0x280000
|
||||||
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
||||||
CONFIG_SPL_SPI=y
|
CONFIG_SPL_SPI=y
|
||||||
|
@ -147,6 +148,7 @@ CONFIG_USB_XHCI_OMAP=y
|
||||||
CONFIG_USB_DWC3=y
|
CONFIG_USB_DWC3=y
|
||||||
CONFIG_USB_DWC3_OMAP=y
|
CONFIG_USB_DWC3_OMAP=y
|
||||||
CONFIG_USB_DWC3_GENERIC=y
|
CONFIG_USB_DWC3_GENERIC=y
|
||||||
|
CONFIG_SPL_USB_DWC3_GENERIC=y
|
||||||
CONFIG_USB_DWC3_PHY_OMAP=y
|
CONFIG_USB_DWC3_PHY_OMAP=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||||
|
|
|
@ -13,6 +13,7 @@ CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000
|
||||||
CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
|
CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
|
||||||
CONFIG_TARGET_DRA7XX_EVM=y
|
CONFIG_TARGET_DRA7XX_EVM=y
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
|
CONFIG_SPL_MISC=y
|
||||||
CONFIG_ENV_OFFSET_REDUND=0x280000
|
CONFIG_ENV_OFFSET_REDUND=0x280000
|
||||||
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
||||||
CONFIG_SPL_SPI=y
|
CONFIG_SPL_SPI=y
|
||||||
|
@ -141,6 +142,7 @@ CONFIG_USB_XHCI_OMAP=y
|
||||||
CONFIG_USB_DWC3=y
|
CONFIG_USB_DWC3=y
|
||||||
CONFIG_USB_DWC3_OMAP=y
|
CONFIG_USB_DWC3_OMAP=y
|
||||||
CONFIG_USB_DWC3_GENERIC=y
|
CONFIG_USB_DWC3_GENERIC=y
|
||||||
|
CONFIG_SPL_USB_DWC3_GENERIC=y
|
||||||
CONFIG_USB_DWC3_PHY_OMAP=y
|
CONFIG_USB_DWC3_PHY_OMAP=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||||
|
|
|
@ -15,6 +15,7 @@ CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000
|
||||||
CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
|
CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
|
||||||
CONFIG_TARGET_DRA7XX_EVM=y
|
CONFIG_TARGET_DRA7XX_EVM=y
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
|
CONFIG_SPL_MISC=y
|
||||||
CONFIG_ENV_OFFSET_REDUND=0x280000
|
CONFIG_ENV_OFFSET_REDUND=0x280000
|
||||||
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
||||||
CONFIG_SPL_SPI=y
|
CONFIG_SPL_SPI=y
|
||||||
|
@ -129,6 +130,7 @@ CONFIG_USB_XHCI_DWC3=y
|
||||||
CONFIG_USB_XHCI_OMAP=y
|
CONFIG_USB_XHCI_OMAP=y
|
||||||
CONFIG_USB_DWC3=y
|
CONFIG_USB_DWC3=y
|
||||||
CONFIG_USB_DWC3_GENERIC=y
|
CONFIG_USB_DWC3_GENERIC=y
|
||||||
|
CONFIG_SPL_USB_DWC3_GENERIC=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0451
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0451
|
||||||
|
|
|
@ -30,6 +30,13 @@ config USB_DWC3_GENERIC
|
||||||
Select this for Xilinx ZynqMP and similar Platforms.
|
Select this for Xilinx ZynqMP and similar Platforms.
|
||||||
This wrapper supports Host and Peripheral operation modes.
|
This wrapper supports Host and Peripheral operation modes.
|
||||||
|
|
||||||
|
config SPL_USB_DWC3_GENERIC
|
||||||
|
bool "Generic implementation of a DWC3 wrapper (aka dwc3 glue) for the SPL"
|
||||||
|
depends on SPL_DM_USB && USB_DWC3 && SPL_MISC
|
||||||
|
help
|
||||||
|
Select this for Xilinx ZynqMP and similar Platforms.
|
||||||
|
This wrapper supports Host and Peripheral operation modes.
|
||||||
|
|
||||||
config USB_DWC3_MESON_G12A
|
config USB_DWC3_MESON_G12A
|
||||||
bool "Amlogic Meson G12A USB wrapper"
|
bool "Amlogic Meson G12A USB wrapper"
|
||||||
depends on DM_USB && USB_DWC3 && ARCH_MESON
|
depends on DM_USB && USB_DWC3 && ARCH_MESON
|
||||||
|
|
|
@ -9,7 +9,7 @@ obj-$(CONFIG_USB_DWC3_GADGET) += gadget.o ep0.o
|
||||||
obj-$(CONFIG_USB_DWC3_OMAP) += dwc3-omap.o
|
obj-$(CONFIG_USB_DWC3_OMAP) += dwc3-omap.o
|
||||||
obj-$(CONFIG_USB_DWC3_MESON_G12A) += dwc3-meson-g12a.o
|
obj-$(CONFIG_USB_DWC3_MESON_G12A) += dwc3-meson-g12a.o
|
||||||
obj-$(CONFIG_USB_DWC3_MESON_GXL) += dwc3-meson-gxl.o
|
obj-$(CONFIG_USB_DWC3_MESON_GXL) += dwc3-meson-gxl.o
|
||||||
obj-$(CONFIG_USB_DWC3_GENERIC) += dwc3-generic.o
|
obj-$(CONFIG_$(SPL_)USB_DWC3_GENERIC) += dwc3-generic.o
|
||||||
obj-$(CONFIG_USB_DWC3_UNIPHIER) += dwc3-uniphier.o
|
obj-$(CONFIG_USB_DWC3_UNIPHIER) += dwc3-uniphier.o
|
||||||
obj-$(CONFIG_USB_DWC3_LAYERSCAPE) += dwc3-layerscape.o
|
obj-$(CONFIG_USB_DWC3_LAYERSCAPE) += dwc3-layerscape.o
|
||||||
obj-$(CONFIG_USB_DWC3_PHY_OMAP) += ti_usb_phy.o
|
obj-$(CONFIG_USB_DWC3_PHY_OMAP) += ti_usb_phy.o
|
||||||
|
|
|
@ -241,12 +241,6 @@ static int sunxi_musb_enable(struct musb *musb)
|
||||||
musb_writeb(musb->mregs, USBC_REG_o_VEND0, 0);
|
musb_writeb(musb->mregs, USBC_REG_o_VEND0, 0);
|
||||||
|
|
||||||
if (is_host_enabled(musb)) {
|
if (is_host_enabled(musb)) {
|
||||||
ret = sun4i_usb_phy_vbus_detect(&glue->phy);
|
|
||||||
if (ret == 1) {
|
|
||||||
printf("A charger is plugged into the OTG: ");
|
|
||||||
return -ENODEV;
|
|
||||||
}
|
|
||||||
|
|
||||||
ret = sun4i_usb_phy_id_detect(&glue->phy);
|
ret = sun4i_usb_phy_id_detect(&glue->phy);
|
||||||
if (ret == 1) {
|
if (ret == 1) {
|
||||||
printf("No host cable detected: ");
|
printf("No host cable detected: ");
|
||||||
|
|
Loading…
Reference in a new issue