[PATCH v2 9/9] configs: evb-rk3399: update support usb3.0 host

Jagan Teki jagan at amarulasolutions.com
Fri May 1 09:13:18 CEST 2020


On Thu, Apr 30, 2020 at 7:49 AM Frank Wang <frank.wang at rock-chips.com> wrote:
>
> Update evb-rk3399 default config to enable USB3.0 Host.
>
> Signed-off-by: Frank Wang <frank.wang at rock-chips.com>
> ---
>  configs/evb-rk3399_defconfig | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
> index a342bfd16d..0234995175 100644
> --- a/configs/evb-rk3399_defconfig
> +++ b/configs/evb-rk3399_defconfig
> @@ -18,6 +18,7 @@ CONFIG_CMD_BOOTZ=y
>  CONFIG_CMD_GPT=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_USB=y
> +CONFIG_CMD_USB_MASS_STORAGE=y

Require CONFIG_USB_GADGET=y
otherwise,

WARNING: unmet direct dependencies detected for USB_FUNCTION_MASS_STORAGE
  Depends on [n]: USB [=y] && USB_GADGET [=n] && USB_GADGET_DOWNLOAD [=n]
  Selected by [y]:
  - CMD_USB_MASS_STORAGE [=y]

>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_TIME=y
>  CONFIG_SPL_OF_CONTROL=y
> @@ -50,6 +51,9 @@ CONFIG_USB_XHCI_HCD=y
>  CONFIG_USB_XHCI_DWC3=y
>  CONFIG_USB_EHCI_HCD=y
>  CONFIG_USB_EHCI_GENERIC=y
> +CONFIG_USB_DWC3=y
> +CONFIG_USB_DWC3_GENERIC=y

This won't select unless we have MISC=y

Jagan.


More information about the U-Boot mailing list