[PATCH 24/27] sunxi: suniv: set SYS_TEXT_BASE default

Yifan Gu me at yifangu.com
Mon Jul 26 01:16:33 CEST 2021


suniv ddr memory starts at 0x8000000. Set SYS_TEXT_BASE accordingly so
SPL can copy U-Boot proper to DRAM.

Signed-off-by: Yifan Gu <me at yifangu.com>
---
 common/Kconfig.boot | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/Kconfig.boot b/common/Kconfig.boot
index 642dd9bcfb..23c6db286a 100644
--- a/common/Kconfig.boot
+++ b/common/Kconfig.boot
@@ -360,9 +360,10 @@ config SYS_TEXT_BASE
 	depends on HAVE_SYS_TEXT_BASE
 	default 0x0 if POSITION_INDEPENDENT
 	default 0x80800000 if ARCH_OMAP2PLUS || ARCH_K3
-	default 0x4a000000 if ARCH_SUNXI && !MACH_SUN9I && !MACH_SUN8I_V3S
+	default 0x4a000000 if ARCH_SUNXI && !MACH_SUN9I && !MACH_SUN8I_V3S && !MACH_SUNIV
 	default 0x2a000000 if ARCH_SUNXI && MACH_SUN9I
 	default 0x42e00000 if ARCH_SUNXI && MACH_SUN8I_V3S
+	default 0x81c00000 if ARCH_SUNXI && MACH_SUNIV
 	hex "Text Base"
 	help
 	  The address in memory that U-Boot will be running from, initially.
-- 
2.25.1



More information about the U-Boot mailing list