diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-11-03 06:35:50 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-14 10:51:07 -0600 |
commit | 2ed26ee37472d48d04cf9c6cc7c3be806d06a900 (patch) | |
tree | b6cc62e061265c21f067427a621f6cc75e7afbe2 | |
parent | a3c101a613481ecc7286e1949e6aa97474c7a4fe (diff) |
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>
-rw-r--r-- | examples/api/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/api/Makefile b/examples/api/Makefile index ca4eb1f71ad..ec1643e4875 100644 --- a/examples/api/Makefile +++ b/examples/api/Makefile @@ -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 |