diff mbox series

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

Message ID 20210725231636.879913-25-me@yifangu.com
State Superseded
Delegated to: Andre Przywara
Headers show
Series Add F1C100s based PocketGo handheld support | expand

Commit Message

Yifan Gu July 25, 2021, 11:16 p.m. UTC
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@yifangu.com>
---
 common/Kconfig.boot | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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.