From: Heiko Stuebner <heiko@sntech.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] rockchip: spl: use spl_early_init() instead of spl_init()
Date: Mon, 20 Mar 2017 11:30:10 +0100 [thread overview]
Message-ID: <6424796.Ys40lJ4WOK@phil> (raw)
In-Reply-To: <1489992436-24085-1-git-send-email-kever.yang@rock-chips.com>
Am Montag, 20. März 2017, 14:47:16 CET schrieb Kever Yang:
> 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>
on rk3188-radxarock
Tested-by: Heiko Stuebner <heiko@sntech.de>
> ---
>
> 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(-)
>
> 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
>
> - 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();
> }
>
> 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);
>
> - 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();
> }
next prev parent reply other threads:[~2017-03-20 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-20 6:47 [U-Boot] [PATCH] rockchip: spl: use spl_early_init() instead of spl_init() Kever Yang
2017-03-20 10:30 ` Heiko Stuebner [this message]
2017-03-22 13:06 ` Simon Glass
2017-03-26 2:40 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6424796.Ys40lJ4WOK@phil \
--to=heiko@sntech.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox