diff options
author | Tim Harvey <tharvey@gateworks.com> | 2015-05-06 13:16:56 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-05-15 19:20:48 +0200 |
commit | d783c2744f9b04426f21e1afc4f3bc93fd21fa30 (patch) | |
tree | aa5b11e702ab5e48958c28a6d72d778e5af39905 | |
parent | 98a49e534026b70e75107877fc727fc70da58349 (diff) | |
download | u-boot-d783c2744f9b04426f21e1afc4f3bc93fd21fa30.tar.gz u-boot-d783c2744f9b04426f21e1afc4f3bc93fd21fa30.tar.xz u-boot-d783c2744f9b04426f21e1afc4f3bc93fd21fa30.zip |
imx: ventana: fix boot to SD
This fixes a regression caused by e25fbe3fe531029dc7b100ea4c79dbc802e17fc2
(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>
-rw-r--r-- | board/gateworks/gw_ventana/gw_ventana_spl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana_spl.c b/board/gateworks/gw_ventana/gw_ventana_spl.c index 0c0fee3196..289a0b8d5d 100644 --- a/board/gateworks/gw_ventana/gw_ventana_spl.c +++ b/board/gateworks/gw_ventana/gw_ventana_spl.c @@ -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 */ |