提交 73976056 编写于 作者: E Eddie Cai 提交者: Simon Glass

rockchip: rk3288: use spl_early_init() instead of spl_init()

Use spl_early_init() to make sure that early malloc() is initialised. This
fixes booting on firefly-rk3288, for example.
Signed-off-by: NEddie Cai <eddie.cai.linux@gmail.com>
Signed-off-by: NSimon Glass <sjg@chromium.org>
Reviewed-by: NEddie Cai <eddie.cai.linux@gmail.com>
上级 340f418a
......@@ -184,9 +184,9 @@ void board_init_f(ulong dummy)
debug_uart_init();
#endif
ret = spl_init();
ret = spl_early_init();
if (ret) {
debug("spl_init() failed: %d\n", ret);
debug("spl_early_init() failed: %d\n", ret);
hang();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册