stm32mp1: spl: hang with trace when DDR init failed
When DDR initialization failed, print error message and stop the SPL execution. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
parent
b496eec65d
commit
105a5ad614
@ -111,7 +111,7 @@ void board_init_f(ulong dummy)
|
||||
|
||||
ret = uclass_get_device(UCLASS_RAM, 0, &dev);
|
||||
if (ret) {
|
||||
debug("DRAM init failed: %d\n", ret);
|
||||
return;
|
||||
printf("DRAM init failed: %d\n", ret);
|
||||
hang();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user