[PATCH] evb_rk3399: add usb ohci definations

Kever Yang kever.yang at rock-chips.com
Tue Jun 1 14:15:16 CEST 2021


Hi Artem,

On 2021/5/26 下午5:33, Artem Lapkin wrote:
> Problem: not possible to use CONFIG_USB_OHCI_HCD=y and
> CONFIG_USB_OHCI_GENERIC=y options without CONFIG_USB_OHCI_NEW and
> CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS definations
>
> Add missed definations.

But , evb_rk3399 board does not enable CONFIG_USB_OHCI_HCD and 
CONFIG_USB_OHCI_GENERIC.


Thanks,

- Kever

>
> Signed-off-by: Artem Lapkin <art at khadas.com>
> ---
>   include/configs/evb_rk3399.h | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/include/configs/evb_rk3399.h b/include/configs/evb_rk3399.h
> index b7e85037..492b7b4d 100644
> --- a/include/configs/evb_rk3399.h
> +++ b/include/configs/evb_rk3399.h
> @@ -15,4 +15,7 @@
>   
>   #define SDRAM_BANK_SIZE			(2UL << 30)
>   
> +#define CONFIG_USB_OHCI_NEW
> +#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     2
> +
>   #endif




More information about the U-Boot mailing list