Skip to content

Commit 2ed26ee

Browse files
xyprontrini
authored andcommitted
examples: adjust LOAD_ADDR on arm64
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>
1 parent a3c101a commit 2ed26ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/api/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ ifeq ($(ARCH),powerpc)
99
LOAD_ADDR = 0x40000
1010
endif
1111
ifeq ($(ARCH),arm)
12+
ifdef CONFIG_64BIT
13+
LOAD_ADDR = 0x40400000
14+
else
1215
LOAD_ADDR = 0x1000000
1316
endif
17+
endif
1418
ifeq ($(ARCH),mips)
1519
ifdef CONFIG_64BIT
1620
LOAD_ADDR = 0xffffffff80200000

0 commit comments

Comments
 (0)