In falcon boot, the kernel should be loaded to the same address as main
domain SPL, which necessitates the address to be 2MiB aligned[1].

Therefore this patch updates the SPL_TEXT_BASE to a 2MiB aligned
address.

[1]:
"The Image must be placed text_offset bytes from a 2MB aligned
baseaddress anywhere in usable system RAM and called there."
- Documentation/arch/arm64/booting.rst (linux kernel)

Signed-off-by: Anshul Dalal <ansh...@ti.com>
---
 common/spl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 35161d02d19..6336b0635b1 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -270,7 +270,7 @@ config SPL_TEXT_BASE
        default 0x40200000 if OMAP34XX
        default 0x402F4000 if AM43XX
        default 0x402F0400 if AM33XX
-       default 0x80080000 if ARCH_K3 && ARM64
+       default 0x82200000 if ARCH_K3 && ARM64
        default 0x43c00000 if ARCH_K3 && !ARM64
        default 0x00908000 if ARCH_MX6
        default 0x00912000 if ARCH_MX7
-- 
2.49.0

Reply via email to