Skip to content
Snippets Groups Projects
Commit d783c274 authored by Tim Harvey's avatar Tim Harvey Committed by Stefano Babic
Browse files

imx: ventana: fix boot to SD


This fixes a regression caused by e25fbe3f
(gw_ventana: Move the DCD settings to spl code)

The clock gating must be setup prior to calling arch_cpu_init(). Without this
booting to SD (directly via eFuse or via bmode) will hang.

Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
parent 98a49e53
No related branches found
No related tags found
No related merge requests found
......@@ -530,10 +530,13 @@ void board_init_f(ulong dummy)
struct ventana_board_info ventana_info;
int board_model;
/* setup clock gating */
ccgr_init();
/* setup AIPS and disable watchdog */
arch_cpu_init();
ccgr_init();
/* setup AXI */
gpr_init();
/* iomux and setup of i2c */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment