[U-Boot] [PATCH 08/12] sunxi: USB EHCI Kconfig option instead of config define

Hans de Goede hdegoede at redhat.com
Wed Jul 22 11:31:00 CEST 2015


Hi,

On 22-07-15 10:45, Paul Kocialkowski wrote:
> This makes sunxi boards use the USB_EHCI_HCD Kconfig option instead of defining
> USB_EHCI as a config define. This allows for more flexibility in enabling the
> controller and handling other Kconfig that may depend on USB EHCI.
>
> Signed-off-by: Paul Kocialkowski <contact at paulk.fr>

This is already done by this commit:

https://github.com/jwrdegoede/u-boot-sunxi/commit/a38b760f8805dfa7d9a0d60fa08802412b38f463

My sunxi-wip tree has a whole bunch of patches to convert
the musb-host code to DM_USB so that the musb code can be built
in in host mode together with the ehci / uhci host drivers,
this is useful on boards where the musb is used in host only
mode such as the Mele A1000G quad where the musb is hooked up
to a usb2sata chip for the sata slot of the device.

The dm-usb bits of these series are queued up in:
http://git.denx.de/?p=u-boot/u-boot-dm.git;a=shortlog;h=refs/heads/next

And I'm waiting for those to go upstream before submitting
a pull-req with the sunxi bits of this, which is also why:

https://github.com/jwrdegoede/u-boot-sunxi/commit/a38b760f8805dfa7d9a0d60fa08802412b38f463

Has not been merged yet as it sits on top of all this...

I think that for v2 of this series it is best to base it
on my sunxi-wip branch, esp. since that contains the
addition of DM_USB support to the musb host code.

I'll rebase my sunxi-wip branch one of these days and push
everything in there which is ready for upstream, including the
dm-usb bits to u-boot-sunxi/next, so that people will have
something to base sunxi patches on.

Until then please use my sunxi-wip branch.

Regards,

Hans



> ---
>   configs/A10-OLinuXino-Lime_defconfig       | 3 ++-
>   configs/A10s-OLinuXino-M_defconfig         | 3 ++-
>   configs/A13-OLinuXinoM_defconfig           | 3 ++-
>   configs/A13-OLinuXino_defconfig            | 3 ++-
>   configs/A20-OLinuXino-Lime2_defconfig      | 3 ++-
>   configs/A20-OLinuXino-Lime_defconfig       | 3 ++-
>   configs/A20-OLinuXino_MICRO_defconfig      | 3 ++-
>   configs/Auxtek-T004_defconfig              | 3 ++-
>   configs/Bananapi_defconfig                 | 3 ++-
>   configs/Bananapro_defconfig                | 3 ++-
>   configs/CSQ_CS908_defconfig                | 3 ++-
>   configs/Colombus_defconfig                 | 3 ++-
>   configs/Cubieboard2_defconfig              | 3 ++-
>   configs/Cubieboard_defconfig               | 3 ++-
>   configs/Cubietruck_defconfig               | 3 ++-
>   configs/Hummingbird_A31_defconfig          | 3 ++-
>   configs/Linksprite_pcDuino3_Nano_defconfig | 3 ++-
>   configs/Linksprite_pcDuino3_defconfig      | 3 ++-
>   configs/Linksprite_pcDuino_defconfig       | 3 ++-
>   configs/MK808C_defconfig                   | 3 ++-
>   configs/Marsboard_A10_defconfig            | 3 ++-
>   configs/Mele_A1000G_quad_defconfig         | 3 ++-
>   configs/Mele_A1000_defconfig               | 3 ++-
>   configs/Mele_I7_defconfig                  | 3 ++-
>   configs/Mele_M3_defconfig                  | 3 ++-
>   configs/Mele_M5_defconfig                  | 3 ++-
>   configs/Mele_M9_defconfig                  | 3 ++-
>   configs/Mini-X_defconfig                   | 3 ++-
>   configs/Orangepi_defconfig                 | 3 ++-
>   configs/Orangepi_mini_defconfig            | 3 ++-
>   configs/Wexler_TAB7200_defconfig           | 3 ++-
>   configs/Wits_Pro_A20_DKT_defconfig         | 3 ++-
>   configs/ba10_tv_box_defconfig              | 3 ++-
>   configs/i12-tvbox_defconfig                | 3 ++-
>   configs/jesurun_q5_defconfig               | 3 ++-
>   configs/mixtile_loftq_defconfig            | 3 ++-
>   configs/mk802_a10s_defconfig               | 3 ++-
>   configs/mk802_defconfig                    | 2 ++
>   configs/mk802ii_defconfig                  | 3 ++-
>   configs/r7-tv-dongle_defconfig             | 3 ++-
>   configs/sunxi_Gemei_G9_defconfig           | 3 ++-
>   41 files changed, 82 insertions(+), 40 deletions(-)
>
> diff --git a/configs/A10-OLinuXino-Lime_defconfig b/configs/A10-OLinuXino-Lime_defconfig
> index 87ade90..7fab4c4 100644
> --- a/configs/A10-OLinuXino-Lime_defconfig
> +++ b/configs/A10-OLinuXino-Lime_defconfig
> @@ -7,7 +7,7 @@ CONFIG_SYS_CLK_FREQ=912000000
>   CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-olinuxino-lime"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPC(3),USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPC(3)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -15,3 +15,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/A10s-OLinuXino-M_defconfig b/configs/A10s-OLinuXino-M_defconfig
> index 5a450af..d45f7af 100644
> --- a/configs/A10s-OLinuXino-M_defconfig
> +++ b/configs/A10s-OLinuXino-M_defconfig
> @@ -9,7 +9,7 @@ CONFIG_USB1_VBUS_PIN="PB10"
>   CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-olinuxino-micro"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,SUNXI_EMAC,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,SUNXI_EMAC"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -17,3 +17,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/A13-OLinuXinoM_defconfig b/configs/A13-OLinuXinoM_defconfig
> index 213ece6..8668d7e 100644
> --- a/configs/A13-OLinuXinoM_defconfig
> +++ b/configs/A13-OLinuXinoM_defconfig
> @@ -13,7 +13,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
>   CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino-micro"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -21,3 +21,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/A13-OLinuXino_defconfig b/configs/A13-OLinuXino_defconfig
> index d71c11c..059b09d 100644
> --- a/configs/A13-OLinuXino_defconfig
> +++ b/configs/A13-OLinuXino_defconfig
> @@ -14,7 +14,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
>   CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2,AXP209_POWER,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2,AXP209_POWER"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -22,3 +22,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig
> index 6445b25..c0c9a38 100644
> --- a/configs/A20-OLinuXino-Lime2_defconfig
> +++ b/configs/A20-OLinuXino-Lime2_defconfig
> @@ -8,7 +8,7 @@ CONFIG_USB0_VBUS_DET="PH5"
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime2"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3),USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -17,3 +17,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/A20-OLinuXino-Lime_defconfig b/configs/A20-OLinuXino-Lime_defconfig
> index 650670f..15475dc 100644
> --- a/configs/A20-OLinuXino-Lime_defconfig
> +++ b/configs/A20-OLinuXino-Lime_defconfig
> @@ -5,7 +5,7 @@ CONFIG_DRAM_CLK=480
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPC(3),USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPC(3)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -14,3 +14,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/A20-OLinuXino_MICRO_defconfig b/configs/A20-OLinuXino_MICRO_defconfig
> index 3f92504..2b70048 100644
> --- a/configs/A20-OLinuXino_MICRO_defconfig
> +++ b/configs/A20-OLinuXino_MICRO_defconfig
> @@ -9,7 +9,7 @@ CONFIG_VIDEO_VGA=y
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-micro"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8),USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -18,3 +18,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Auxtek-T004_defconfig b/configs/Auxtek-T004_defconfig
> index 016ccd9..e326822 100644
> --- a/configs/Auxtek-T004_defconfig
> +++ b/configs/Auxtek-T004_defconfig
> @@ -6,7 +6,7 @@ CONFIG_USB1_VBUS_PIN="PG13"
>   CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-auxtek-t004"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -14,3 +14,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Bananapi_defconfig b/configs/Bananapi_defconfig
> index 3e186f6..c10c7d7 100644
> --- a/configs/Bananapi_defconfig
> +++ b/configs/Bananapi_defconfig
> @@ -6,7 +6,7 @@ CONFIG_GMAC_TX_DELAY=3
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapi"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -15,3 +15,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Bananapro_defconfig b/configs/Bananapro_defconfig
> index 5bd2fd6..8943188 100644
> --- a/configs/Bananapro_defconfig
> +++ b/configs/Bananapro_defconfig
> @@ -8,7 +8,7 @@ CONFIG_GMAC_TX_DELAY=3
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapro"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -17,3 +17,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/CSQ_CS908_defconfig b/configs/CSQ_CS908_defconfig
> index 54f4846..98d3268 100644
> --- a/configs/CSQ_CS908_defconfig
> +++ b/configs/CSQ_CS908_defconfig
> @@ -7,7 +7,7 @@ CONFIG_USB2_VBUS_PIN=""
>   CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-cs908"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC"
> +CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -18,3 +18,4 @@ CONFIG_AXP221_DLDO1_VOLT=3300
>   CONFIG_AXP221_ALDO1_VOLT=3300
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Colombus_defconfig b/configs/Colombus_defconfig
> index 9d84901..f35104d 100644
> --- a/configs/Colombus_defconfig
> +++ b/configs/Colombus_defconfig
> @@ -7,7 +7,7 @@ CONFIG_USB1_VBUS_PIN=""
>   CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-colombus"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC"
> +CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -17,3 +17,4 @@ CONFIG_DM_SERIAL=y
>   CONFIG_AXP221_ALDO1_VOLT=3300
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Cubieboard2_defconfig b/configs/Cubieboard2_defconfig
> index 0fbaa23..c7f8718 100644
> --- a/configs/Cubieboard2_defconfig
> +++ b/configs/Cubieboard2_defconfig
> @@ -6,7 +6,7 @@ CONFIG_MMC0_CD_PIN="PH1"
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-cubieboard2"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8),USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -15,3 +15,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Cubieboard_defconfig b/configs/Cubieboard_defconfig
> index 0d0051e..b1421e5 100644
> --- a/configs/Cubieboard_defconfig
> +++ b/configs/Cubieboard_defconfig
> @@ -5,7 +5,7 @@ CONFIG_DRAM_CLK=480
>   CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-cubieboard"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPB(8),USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPB(8)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -13,3 +13,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Cubietruck_defconfig b/configs/Cubietruck_defconfig
> index 57a3847..418a58c 100644
> --- a/configs/Cubietruck_defconfig
> +++ b/configs/Cubietruck_defconfig
> @@ -7,7 +7,7 @@ CONFIG_GMAC_TX_DELAY=1
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-cubietruck"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(12),USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(12)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -16,3 +16,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Hummingbird_A31_defconfig b/configs/Hummingbird_A31_defconfig
> index 02c657a..5bc84e9 100644
> --- a/configs/Hummingbird_A31_defconfig
> +++ b/configs/Hummingbird_A31_defconfig
> @@ -9,7 +9,7 @@ CONFIG_VIDEO_VGA_EXTERNAL_DAC_EN="PH25"
>   CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-hummingbird"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPA(21)"
> +CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPA(21)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -19,3 +19,4 @@ CONFIG_DM_SERIAL=y
>   CONFIG_AXP221_ALDO1_VOLT=3300
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig
> index 04ec7ab..52c1d41 100644
> --- a/configs/Linksprite_pcDuino3_Nano_defconfig
> +++ b/configs/Linksprite_pcDuino3_Nano_defconfig
> @@ -8,7 +8,7 @@ CONFIG_GMAC_TX_DELAY=3
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3-nano"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(2)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -17,3 +17,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Linksprite_pcDuino3_defconfig b/configs/Linksprite_pcDuino3_defconfig
> index 6d7690d..937220f 100644
> --- a/configs/Linksprite_pcDuino3_defconfig
> +++ b/configs/Linksprite_pcDuino3_defconfig
> @@ -6,7 +6,7 @@ CONFIG_DRAM_ZQ=122
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -15,3 +15,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Linksprite_pcDuino_defconfig b/configs/Linksprite_pcDuino_defconfig
> index ddd162f..c2b8784 100644
> --- a/configs/Linksprite_pcDuino_defconfig
> +++ b/configs/Linksprite_pcDuino_defconfig
> @@ -5,7 +5,7 @@ CONFIG_DRAM_CLK=408
>   CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-pcduino"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -13,3 +13,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/MK808C_defconfig b/configs/MK808C_defconfig
> index a6db139..bf8bcc6 100644
> --- a/configs/MK808C_defconfig
> +++ b/configs/MK808C_defconfig
> @@ -5,7 +5,7 @@ CONFIG_DRAM_CLK=384
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-mk808c"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -13,3 +13,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Marsboard_A10_defconfig b/configs/Marsboard_A10_defconfig
> index ed41af6..47b39aa 100644
> --- a/configs/Marsboard_A10_defconfig
> +++ b/configs/Marsboard_A10_defconfig
> @@ -4,7 +4,7 @@ CONFIG_MACH_SUN4I=y
>   CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-marsboard"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -12,3 +12,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Mele_A1000G_quad_defconfig b/configs/Mele_A1000G_quad_defconfig
> index 6e0a493..9d70c72 100644
> --- a/configs/Mele_A1000G_quad_defconfig
> +++ b/configs/Mele_A1000G_quad_defconfig
> @@ -7,7 +7,7 @@ CONFIG_USB2_VBUS_PIN=""
>   CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-mele-a1000g-quad"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC"
> +CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -20,3 +20,4 @@ CONFIG_AXP221_DLDO4_VOLT=3300
>   CONFIG_AXP221_ALDO1_VOLT=3300
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Mele_A1000_defconfig b/configs/Mele_A1000_defconfig
> index 983ffdc..72dab0d 100644
> --- a/configs/Mele_A1000_defconfig
> +++ b/configs/Mele_A1000_defconfig
> @@ -5,7 +5,7 @@ CONFIG_VIDEO_VGA=y
>   CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-a1000"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,MACPWR=SUNXI_GPH(15),AHCI,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,MACPWR=SUNXI_GPH(15),AHCI"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -13,3 +13,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Mele_I7_defconfig b/configs/Mele_I7_defconfig
> index 7f083a7..ab2684a 100644
> --- a/configs/Mele_I7_defconfig
> +++ b/configs/Mele_I7_defconfig
> @@ -7,7 +7,7 @@ CONFIG_USB2_VBUS_PIN=""
>   CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-i7"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC"
> +CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -20,3 +20,4 @@ CONFIG_AXP221_DLDO4_VOLT=3300
>   CONFIG_AXP221_ALDO1_VOLT=3300
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Mele_M3_defconfig b/configs/Mele_M3_defconfig
> index 73d87c3..299bc71 100644
> --- a/configs/Mele_M3_defconfig
> +++ b/configs/Mele_M3_defconfig
> @@ -8,7 +8,7 @@ CONFIG_VIDEO_VGA=y
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-m3"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -17,3 +17,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Mele_M5_defconfig b/configs/Mele_M5_defconfig
> index 79c5901..6545fff 100644
> --- a/configs/Mele_M5_defconfig
> +++ b/configs/Mele_M5_defconfig
> @@ -7,7 +7,7 @@ CONFIG_MMC0_CD_PIN="PH1"
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-m5"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,USB_EHCI,STATUSLED=234"
> +CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,STATUSLED=234"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -16,3 +16,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Mele_M9_defconfig b/configs/Mele_M9_defconfig
> index e017ad7..3609f69 100644
> --- a/configs/Mele_M9_defconfig
> +++ b/configs/Mele_M9_defconfig
> @@ -7,7 +7,7 @@ CONFIG_USB2_VBUS_PIN=""
>   CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-m9"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC"
> +CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -20,3 +20,4 @@ CONFIG_AXP221_DLDO4_VOLT=3300
>   CONFIG_AXP221_ALDO1_VOLT=3300
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Mini-X_defconfig b/configs/Mini-X_defconfig
> index da57711..0539bc5 100644
> --- a/configs/Mini-X_defconfig
> +++ b/configs/Mini-X_defconfig
> @@ -4,7 +4,7 @@ CONFIG_MACH_SUN4I=y
>   CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-mini-xplus"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -12,3 +12,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Orangepi_defconfig b/configs/Orangepi_defconfig
> index ba89a25..a2a415a 100644
> --- a/configs/Orangepi_defconfig
> +++ b/configs/Orangepi_defconfig
> @@ -9,7 +9,7 @@ CONFIG_GMAC_TX_DELAY=3
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-orangepi"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -18,3 +18,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Orangepi_mini_defconfig b/configs/Orangepi_mini_defconfig
> index 8f03815..2c0c9df 100644
> --- a/configs/Orangepi_mini_defconfig
> +++ b/configs/Orangepi_mini_defconfig
> @@ -11,7 +11,7 @@ CONFIG_GMAC_TX_DELAY=3
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-orangepi-mini"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -20,3 +20,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Wexler_TAB7200_defconfig b/configs/Wexler_TAB7200_defconfig
> index d9180c7..81fd800 100644
> --- a/configs/Wexler_TAB7200_defconfig
> +++ b/configs/Wexler_TAB7200_defconfig
> @@ -9,7 +9,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-wexler-tab7200"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -17,3 +17,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/Wits_Pro_A20_DKT_defconfig b/configs/Wits_Pro_A20_DKT_defconfig
> index bb8dd29..9dac8db 100644
> --- a/configs/Wits_Pro_A20_DKT_defconfig
> +++ b/configs/Wits_Pro_A20_DKT_defconfig
> @@ -11,7 +11,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-wits-pro-a20-dkt"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -20,3 +20,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/ba10_tv_box_defconfig b/configs/ba10_tv_box_defconfig
> index c84e82e..3a40dbd 100644
> --- a/configs/ba10_tv_box_defconfig
> +++ b/configs/ba10_tv_box_defconfig
> @@ -7,7 +7,7 @@ CONFIG_USB2_VBUS_PIN="PH12"
>   CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-ba10-tvbox"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -15,3 +15,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/i12-tvbox_defconfig b/configs/i12-tvbox_defconfig
> index 3a69422..09cf985 100644
> --- a/configs/i12-tvbox_defconfig
> +++ b/configs/i12-tvbox_defconfig
> @@ -5,7 +5,7 @@ CONFIG_DRAM_CLK=384
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-i12-tvbox"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,MACPWR=SUNXI_GPH(21),USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,MACPWR=SUNXI_GPH(21)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -14,3 +14,4 @@ CONFIG_ETH_DESIGNWARE=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/jesurun_q5_defconfig b/configs/jesurun_q5_defconfig
> index 4b09a33..99c188f 100644
> --- a/configs/jesurun_q5_defconfig
> +++ b/configs/jesurun_q5_defconfig
> @@ -5,7 +5,7 @@ CONFIG_DRAM_CLK=312
>   CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-jesurun-q5"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,USB_EHCI,MACPWR=SUNXI_GPH(19)"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,MACPWR=SUNXI_GPH(19)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -13,3 +13,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/mixtile_loftq_defconfig b/configs/mixtile_loftq_defconfig
> index a8c497c..3f17a6b 100644
> --- a/configs/mixtile_loftq_defconfig
> +++ b/configs/mixtile_loftq_defconfig
> @@ -8,7 +8,7 @@ CONFIG_USB2_VBUS_PIN=""
>   CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-mixtile-loftq"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPA(21)"
> +CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPA(21)"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -18,3 +18,4 @@ CONFIG_DM_SERIAL=y
>   CONFIG_AXP221_ALDO1_VOLT=3300
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/mk802_a10s_defconfig b/configs/mk802_a10s_defconfig
> index dc78fa4..664ea24 100644
> --- a/configs/mk802_a10s_defconfig
> +++ b/configs/mk802_a10s_defconfig
> @@ -7,7 +7,7 @@ CONFIG_USB1_VBUS_PIN="PB10"
>   CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-mk802"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -15,3 +15,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/mk802_defconfig b/configs/mk802_defconfig
> index 31bde00..1571ddb 100644
> --- a/configs/mk802_defconfig
> +++ b/configs/mk802_defconfig
> @@ -13,3 +13,5 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/mk802ii_defconfig b/configs/mk802ii_defconfig
> index ffa7891..351ae06 100644
> --- a/configs/mk802ii_defconfig
> +++ b/configs/mk802ii_defconfig
> @@ -4,7 +4,7 @@ CONFIG_MACH_SUN4I=y
>   CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-mk802ii"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -12,3 +12,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/r7-tv-dongle_defconfig b/configs/r7-tv-dongle_defconfig
> index ac7928d..284af24 100644
> --- a/configs/r7-tv-dongle_defconfig
> +++ b/configs/r7-tv-dongle_defconfig
> @@ -6,7 +6,7 @@ CONFIG_USB1_VBUS_PIN="PG13"
>   CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-r7-tv-dongle"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -14,3 +14,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
> diff --git a/configs/sunxi_Gemei_G9_defconfig b/configs/sunxi_Gemei_G9_defconfig
> index e95cbe4..def4b78 100644
> --- a/configs/sunxi_Gemei_G9_defconfig
> +++ b/configs/sunxi_Gemei_G9_defconfig
> @@ -11,7 +11,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y
>   CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-gemei-g9"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,USB_EHCI"
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER"
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   # CONFIG_CMD_FPGA is not set
> @@ -19,3 +19,4 @@ CONFIG_DM_ETH=y
>   CONFIG_DM_SERIAL=y
>   CONFIG_USB=y
>   CONFIG_DM_USB=y
> +CONFIG_USB_EHCI_HCD=y
>


More information about the U-Boot mailing list