]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
examples: adjust LOAD_ADDR on arm64
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 3 Nov 2024 05:35:50 +0000 (06:35 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 14 Nov 2024 16:51:07 +0000 (10:51 -0600)
Change the load address on arm64 such that it is compatible with the memory
available on qemu_arm64_defconfig.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
examples/api/Makefile

index ca4eb1f71adfeea83cbe41e0949acb0e4838428d..ec1643e48750eb98b070efe027d64cca1045b618 100644 (file)
@@ -9,8 +9,12 @@ ifeq ($(ARCH),powerpc)
 LOAD_ADDR = 0x40000
 endif
 ifeq ($(ARCH),arm)
+ifdef CONFIG_64BIT
+LOAD_ADDR = 0x40400000
+else
 LOAD_ADDR = 0x1000000
 endif
+endif
 ifeq ($(ARCH),mips)
 ifdef CONFIG_64BIT
 LOAD_ADDR = 0xffffffff80200000