提交 105a5ad6 编写于 作者: P Patrick Delaunay

stm32mp1: spl: hang with trace when DDR init failed

When DDR initialization failed, print error message
and stop the SPL execution.
Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
上级 b496eec6
......@@ -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();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册