Message ID | 20200430021845.26066-1-frank.wang@rock-chips.com |
---|---|
State | New |
Headers | show |
Series | Add Rockchip RK3399 USB3.0 Host support | expand |
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.
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 # 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 +CONFIG_USB_STORAGE=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX88179=y
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(+)