[U-Boot] [PATCH v2] OMAP5: USB: hsusbtll_clkctrl has to be in hw_auto for USB to work

Sricharan R r.sricharan at ti.com
Mon Apr 8 08:05:46 CEST 2013


On Thursday 04 April 2013 09:21 PM, Lubomir Popov wrote:
> V2 fixes line wrap issue of the patch itself.
> 
> This fix is needed (but not sufficient) for USB EHCI operation.
> 
> Signed-off-by: Lubomir Popov <lpopov at mm-sol.com>
> 
> ---
>  arch/arm/cpu/armv7/omap5/hw_data.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/cpu/armv7/omap5/hw_data.c b/arch/arm/cpu/armv7/omap5/hw_data.c
> index ced274e..e5e41fd 100644
> --- a/arch/arm/cpu/armv7/omap5/hw_data.c
> +++ b/arch/arm/cpu/armv7/omap5/hw_data.c
> @@ -403,6 +403,7 @@ void enable_basic_uboot_clocks(void)
>  	};
>  
>  	u32 const clk_modules_hw_auto_essential[] = {
> +		(*prcm)->cm_l3init_hsusbtll_clkctrl,
>  		0
>  	};
>  
> @@ -411,7 +412,6 @@ void enable_basic_uboot_clocks(void)
>  		(*prcm)->cm_l4per_i2c2_clkctrl,
>  		(*prcm)->cm_l4per_i2c3_clkctrl,
>  		(*prcm)->cm_l4per_i2c4_clkctrl,
> -		(*prcm)->cm_l3init_hsusbtll_clkctrl,
>  		(*prcm)->cm_l3init_hsusbhost_clkctrl,
>  		(*prcm)->cm_l3init_fsusb_clkctrl,
>  		0

No, how is this helping you. Are you using EHCI at SPL ?
Those usb clocks are anyways getting enabled at u-boot.

Regards,
 Sricharan


More information about the U-Boot mailing list