mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
rockchip: spl: use spl_early_init() instead of spl_init()
Rockchip spl driver needs using spl_early_init().
Fixes: b3d2861e
(spl: Remove overwrite of relocated malloc limit)
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f3f1af939e
commit
232cf96222
2 changed files with 4 additions and 4 deletions
|
@ -109,9 +109,9 @@ void board_init_f(ulong dummy)
|
||||||
printch('\n');
|
printch('\n');
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ret = spl_init();
|
ret = spl_early_init();
|
||||||
if (ret) {
|
if (ret) {
|
||||||
debug("spl_init() failed: %d\n", ret);
|
debug("spl_early_init() failed: %d\n", ret);
|
||||||
hang();
|
hang();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -96,9 +96,9 @@ void board_init_f(ulong dummy)
|
||||||
/* Emmc clock generator: disable the clock multipilier */
|
/* Emmc clock generator: disable the clock multipilier */
|
||||||
rk_clrreg(GRF_EMMCCORE_CON11, 0x0ff);
|
rk_clrreg(GRF_EMMCCORE_CON11, 0x0ff);
|
||||||
|
|
||||||
ret = spl_init();
|
ret = spl_early_init();
|
||||||
if (ret) {
|
if (ret) {
|
||||||
debug("spl_init() failed: %d\n", ret);
|
debug("spl_early_init() failed: %d\n", ret);
|
||||||
hang();
|
hang();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue