u-boot/arch/arm/mach-imx/mx5/Kconfig
Tom Rini be5c0608b8 usb: Enforce DM_USB migration for USB_HOST devices.
As the deadline for migration to DM_USB, when using a USB host
controller has now gone two years past the deadline, enforce migration.
This is done by:

- Ensuring that all host controller options (other than the very legacy
  old MUSB ones) now select USB_HOST.  USB_HOST now enforces DM_USB and
  OF_CONTROL.
  - Remove other parts of Kconfig logic that had platforms pick DM_USB.
  - To keep Kconfig happy, have some select statements test for USB_HOST
    as well.
- Re-order some Kconfig entries and menus so that we can cleanly pick
  host or gadget roles.  For the various HCD options that have platform
  glue options, group them together and update dependencies in some
  cases.
- As SPL_DM_USB is not required, on platforms that had not yet enabled
  it, disable it.

Cc: Marek Vasut <marex@denx.de>
Cc: Icenowy Zheng <icenowy@aosc.io>
Cc: Samuel Holland <samuel@sholland.org>
Cc: FUKAUMI Naoki <naobsd@gmail.com>
Cc: Andre Przywara <andre.przywara@arm.com>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2021-07-18 21:05:31 -04:00

82 lines
1.3 KiB
Text

if ARCH_MX5
config MX5
bool
default y
select GPT_TIMER
config MX51
bool
select ARM_CORTEX_A8_CVE_2017_5715
select SYS_FSL_ERRATUM_ESDHC_A001
config MX53
bool
select ARM_CORTEX_A8_CVE_2017_5715
choice
prompt "MX5 board select"
optional
config TARGET_KP_IMX53
bool "Support K+P imx53 board"
select BOARD_LATE_INIT
select DM
select DM_ETH
select DM_GPIO
select DM_I2C
select DM_PMIC
select DM_SERIAL
select DM_MMC
select BLK
select DM_REGULATOR
select MX53
imply CMD_DM
config TARGET_M53MENLO
bool "Support m53menlo"
select MX53
select SUPPORT_SPL
config TARGET_MX51EVK
bool "Support mx51evk"
select BOARD_LATE_INIT
select MX51
config TARGET_MX53CX9020
bool "Support CX9020"
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select MX53
imply CMD_DM
config TARGET_MX53LOCO
bool "Support mx53loco"
select BOARD_LATE_INIT
select MX53
config TARGET_MX53PPD
bool "Support mx53ppd"
select MX53
help
Enable support for the GE Healthcare PPD.
config TARGET_USBARMORY
bool "Support USB armory"
select MX53
endchoice
config SYS_SOC
default "mx5"
source "board/beckhoff/mx53cx9020/Kconfig"
source "board/freescale/mx51evk/Kconfig"
source "board/freescale/mx53loco/Kconfig"
source "board/ge/mx53ppd/Kconfig"
source "board/inversepath/usbarmory/Kconfig"
source "board/k+p/kp_imx53/Kconfig"
source "board/menlo/m53menlo/Kconfig"
endif