From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Stuebner Date: Mon, 20 Mar 2017 11:30:10 +0100 Subject: [U-Boot] [PATCH] rockchip: spl: use spl_early_init() instead of spl_init() In-Reply-To: <1489992436-24085-1-git-send-email-kever.yang@rock-chips.com> References: <1489992436-24085-1-git-send-email-kever.yang@rock-chips.com> Message-ID: <6424796.Ys40lJ4WOK@phil> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Am Montag, 20. M=C3=A4rz 2017, 14:47:16 CET schrieb Kever Yang: > Rockchip spl driver needs using spl_early_init(). >=20 > Fixes: b3d2861e (spl: Remove overwrite of relocated malloc limit) > Signed-off-by: Kever Yang Reviewed-by: Heiko Stuebner on rk3188-radxarock Tested-by: Heiko Stuebner > --- >=20 > arch/arm/mach-rockchip/rk3188-board-spl.c | 4 ++-- > arch/arm/mach-rockchip/rk3399-board-spl.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/arch/arm/mach-rockchip/rk3188-board-spl.c > b/arch/arm/mach-rockchip/rk3188-board-spl.c index f93feae..117f6b8 100644 > --- a/arch/arm/mach-rockchip/rk3188-board-spl.c > +++ b/arch/arm/mach-rockchip/rk3188-board-spl.c > @@ -109,9 +109,9 @@ void board_init_f(ulong dummy) > printch('\n'); > #endif >=20 > - ret =3D spl_init(); > + ret =3D spl_early_init(); > if (ret) { > - debug("spl_init() failed: %d\n", ret); > + debug("spl_early_init() failed: %d\n", ret); > hang(); > } >=20 > diff --git a/arch/arm/mach-rockchip/rk3399-board-spl.c > b/arch/arm/mach-rockchip/rk3399-board-spl.c index 8ae3055..08aa0cb 100644 > --- a/arch/arm/mach-rockchip/rk3399-board-spl.c > +++ b/arch/arm/mach-rockchip/rk3399-board-spl.c > @@ -96,9 +96,9 @@ void board_init_f(ulong dummy) > /* Emmc clock generator: disable the clock multipilier */ > rk_clrreg(GRF_EMMCCORE_CON11, 0x0ff); >=20 > - ret =3D spl_init(); > + ret =3D spl_early_init(); > if (ret) { > - debug("spl_init() failed: %d\n", ret); > + debug("spl_early_init() failed: %d\n", ret); > hang(); > }