From: Fabio Estevam Date: Mon, 29 Aug 2016 23:37:18 +0000 (-0300) Subject: mx6ul_14x14_ev: Enable the CCGR clocks earlier X-Git-Tag: v2016.09~7^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ab25f0f69f2024d14bfa739261a3f56d363ead30;p=u-boot mx6ul_14x14_ev: Enable the CCGR clocks earlier 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 Reviewed-by: Eric Nelson Tested-by: Eric Nelson --- diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c index 4a1e60d828..399bad215f 100644 --- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c @@ -844,11 +844,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();