summaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana/gw_ventana_spl.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-06-08 08:37:02 -0400
committerTom Rini <trini@konsulko.com>2015-06-08 08:37:02 -0400
commit4d80051b63ff54f6b6f90fceb92cf87ab3401ecb (patch)
treeaea5bee67c756558fc8c820b4ee04adb75c85146 /board/gateworks/gw_ventana/gw_ventana_spl.c
parent5bcec545a6ca977ad74ee9fe0f2b335d348b5000 (diff)
parent943a3f2ccb71bcb4a6041bc2946129c4d4bb197e (diff)
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'board/gateworks/gw_ventana/gw_ventana_spl.c')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana_spl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana_spl.c b/board/gateworks/gw_ventana/gw_ventana_spl.c
index 9f5d2b17cd..d4418e554c 100644
--- a/board/gateworks/gw_ventana/gw_ventana_spl.c
+++ b/board/gateworks/gw_ventana/gw_ventana_spl.c
@@ -515,10 +515,8 @@ void board_init_f(ulong dummy)
setup_iomux_gpio(board_model, &ventana_info);
/* provide some some default: 32bit 128MB */
- if (GW_UNKNOWN == board_model) {
- ventana_info.sdram_width = 2;
- ventana_info.sdram_size = 3;
- }
+ if (GW_UNKNOWN == board_model)
+ hang();
/* configure MMDC for SDRAM width/size and per-model calibration */
spl_dram_init(8 << ventana_info.sdram_width,