Skip to contentSkip to conversation

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

PATCH New Kever Yang 3 participants 4 messages Mar 20, 2017 – Mar 26, 2017

Subsystems (3)
lore
Share & tools
lore

Kever Yang

author
#0 lore raw

PATCH 1/1 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)

---

 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(-)
arch/arm/mach-rockchip/rk3188-board-spl.c +2 -2
index f93feae..117f6b8 100644
@@ -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();
 	}
 
arch/arm/mach-rockchip/rk3399-board-spl.c +2 -2
index 8ae3055..08aa0cb 100644
@@ -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();
 	}
 
Signature · 1 line
1.9.1
maintainer
#1 lore raw

PATCH 1/1 rockchip: spl: use spl_early_init() instead of spl_init()

Am Montag, 20. März 2017, 14:47:16 CET schrieb Kever Yang:

Quoted 4 lines

Rockchip spl driver needs using spl_early_init().

Fixes b3d2861e (spl: Remove overwrite of relocated malloc limit)

on rk3188-radxarock

Quoted 37 lines

---

 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(-)
(quoted diff) +0 -0

b/arch/arm/mach-rockchip/rk3188-board-spl.c index f93feae..117f6b8 100644

arch/arm/mach-rockchip/rk3188-board-spl.c +2 -2
@@ -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();
 	}
 
(quoted diff) +0 -0

b/arch/arm/mach-rockchip/rk3399-board-spl.c index 8ae3055..08aa0cb 100644

arch/arm/mach-rockchip/rk3399-board-spl.c +2 -2
@@ -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();
 	}
#2 lore raw

PATCH 1/1 rockchip: spl: use spl_early_init() instead of spl_init()

In reply to Kever Yang
Quoted 9 lines · Kever Yang

Rockchip spl driver needs using spl_early_init().

Fixes b3d2861e (spl: Remove overwrite of relocated malloc limit)

---

 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(-)
#3 lore raw

PATCH 1/1 rockchip: spl: use spl_early_init() instead of spl_init()

Quoted 7 lines · Simon Glass
Quoted 6 lines · Kever Yang

Rockchip spl driver needs using spl_early_init().

Fixes b3d2861e (spl: Remove overwrite of relocated malloc limit)

---

Quoted 5 lines
Quoted 3 lines
 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(-)

Applied to u-boot-rockchip, thanks!