]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx6ul_14x14_ev: Enable the CCGR clocks earlier
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 29 Aug 2016 23:37:18 +0000 (20:37 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 6 Sep 2016 16:22:48 +0000 (18:22 +0200)
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@nxp.com>
Reviewed-by: Eric Nelson <eric@nelint.com>
Tested-by: Eric Nelson <eric@nelint.com>
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c

index 4a1e60d828c2d75e4dae142c1ec71d6874aee6c8..399bad215fa7e7be36fbecc68c7836a4348dfe1e 100644 (file)
@@ -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();