mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
imx: ventana: hang if board model could not be determined
If the EEPROM could not be read or is corrupt we always want to hang. Note that an error message will have been displayed by read_eeprom in this case. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
parent
80d1a3ee72
commit
fdead4be6a
1 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue