* [U-Boot] [PATCH] rockchip: spl: use spl_early_init() instead of spl_init()
@ 2017-03-20 6:47 Kever Yang
2017-03-20 10:30 ` Heiko Stuebner
2017-03-22 13:06 ` Simon Glass
0 siblings, 2 replies; 4+ messages in thread
From: Kever Yang @ 2017-03-20 6:47 UTC (permalink / raw)
To: u-boot
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>
---
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();
}
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [U-Boot] [PATCH] rockchip: spl: use spl_early_init() instead of spl_init()
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
2017-03-22 13:06 ` Simon Glass
1 sibling, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2017-03-20 10:30 UTC (permalink / raw)
To: u-boot
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();
> }
^ permalink raw reply [flat|nested] 4+ messages in thread* [U-Boot] [PATCH] rockchip: spl: use spl_early_init() instead of spl_init()
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
@ 2017-03-22 13:06 ` Simon Glass
2017-03-26 2:40 ` Simon Glass
1 sibling, 1 reply; 4+ messages in thread
From: Simon Glass @ 2017-03-22 13:06 UTC (permalink / raw)
To: u-boot
On 20 March 2017 at 00:47, Kever Yang <kever.yang@rock-chips.com> wrote:
> 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>
> ---
>
> 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(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] rockchip: spl: use spl_early_init() instead of spl_init()
2017-03-22 13:06 ` Simon Glass
@ 2017-03-26 2:40 ` Simon Glass
0 siblings, 0 replies; 4+ messages in thread
From: Simon Glass @ 2017-03-26 2:40 UTC (permalink / raw)
To: u-boot
On 22 March 2017 at 07:06, Simon Glass <sjg@chromium.org> wrote:
> On 20 March 2017 at 00:47, Kever Yang <kever.yang@rock-chips.com> wrote:
>> 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>
>> ---
>>
>> 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(-)
>
> Reviewed-by: Simon Glass <sjg@chromium.org>
Applied to u-boot-rockchip, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-26 2:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2017-03-22 13:06 ` Simon Glass
2017-03-26 2:40 ` Simon Glass
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox