imx: ventana: fix boot to SD
This fixes a regression caused by e25fbe3fe5
(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: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
98a49e5340
commit
d783c2744f
@ -530,10 +530,13 @@ void board_init_f(ulong dummy)
|
|||||||
struct ventana_board_info ventana_info;
|
struct ventana_board_info ventana_info;
|
||||||
int board_model;
|
int board_model;
|
||||||
|
|
||||||
|
/* setup clock gating */
|
||||||
|
ccgr_init();
|
||||||
|
|
||||||
/* setup AIPS and disable watchdog */
|
/* setup AIPS and disable watchdog */
|
||||||
arch_cpu_init();
|
arch_cpu_init();
|
||||||
|
|
||||||
ccgr_init();
|
/* setup AXI */
|
||||||
gpr_init();
|
gpr_init();
|
||||||
|
|
||||||
/* iomux and setup of i2c */
|
/* iomux and setup of i2c */
|
||||||
|
Loading…
Reference in New Issue
Block a user