提交 d783c274 编写于 作者: T Tim Harvey 提交者: Stefano Babic

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: NTim Harvey <tharvey@gateworks.com>
Reviewed-by: NFabio Estevam <fabio.estevam@freescale.com>
上级 98a49e53
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册