[PATCH 1/2] configs: rockchip: Use dwc3-generic driver on RK3328 and RK3399

Marek Vasut marex at denx.de
Thu Oct 19 01:44:58 CEST 2023


On 10/19/23 00:30, Jonas Karlman wrote:

[..]

> +++ b/configs/rock960-rk3399_defconfig
> @@ -50,6 +50,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>   CONFIG_SYS_MMC_ENV_DEV=1
>   CONFIG_ROCKCHIP_GPIO=y
>   CONFIG_SYS_I2C_ROCKCHIP=y
> +CONFIG_MISC=y
>   CONFIG_MMC_DW=y
>   CONFIG_MMC_DW_ROCKCHIP=y
>   CONFIG_MMC_SDHCI=y
> @@ -70,12 +71,12 @@ CONFIG_SYS_NS16550_MEM32=y
>   CONFIG_SYSRESET=y
>   CONFIG_USB=y
>   CONFIG_USB_XHCI_HCD=y
> -CONFIG_USB_XHCI_DWC3=y
>   CONFIG_USB_EHCI_HCD=y
>   CONFIG_USB_EHCI_GENERIC=y
>   CONFIG_USB_OHCI_HCD=y
>   CONFIG_USB_OHCI_GENERIC=y
>   CONFIG_USB_DWC3=y
> +CONFIG_USB_DWC3_GENERIC=y

Why not add 'default y if ROCKCHIP' into the Kconfig instead ? This will 
have the same effect, without requiring such massive modification of 
config files.

(seems some of the CC domains are not even working, so CC list clipped)


More information about the U-Boot mailing list