[U-Boot] [PATCH v2 3/3] mx6ul_14x14_ev: Enable the CCGR clocks earlier

Eric Nelson eric at nelint.com
Mon Aug 29 20:22:53 CEST 2016


Hi Fabio,

On 08/29/2016 10:56 AM, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> To be in the safe side we need to enable the CCGR clocks prior
> to calling arch_cpu_init().
> 
> Inspired by Tim Harvey's commit d783c2744f9 ("imx: ventana: fix boot to SD").
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---
> Changes since v1:
> - Newly introduced in this version
> 
>  board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
> index b13f0e2..fe81042 100644
> --- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
> +++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
> @@ -842,11 +842,11 @@ static void spl_dram_init(void)
>  
>  void board_init_f(ulong dummy)
>  {
> +	ccgr_init();
> +
>  	/* setup AIPS and disable watchdog */
>  	arch_cpu_init();
>  
> -	ccgr_init();
> -
>  	/* iomux and setup of i2c */
>  	board_early_init_f();
>  
> 

Reviewed-by: Eric Nelson <eric at nelint.com>
Tested-by: Eric Nelson <eric at nelint.com>



More information about the U-Boot mailing list