Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xtensa: nommu: fix uImage load address

Use the same offset from the default physical memory start address as in
LOAD_MEMORY_ADDRESS definition.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

+4
+4
arch/xtensa/boot/boot-uboot/Makefile
··· 4 4 # for more details. 5 5 # 6 6 7 + ifdef CONFIG_MMU 7 8 ifdef CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX 8 9 UIMAGE_LOADADDR = 0x00003000 9 10 else 10 11 UIMAGE_LOADADDR = 0xd0003000 12 + endif 13 + else 14 + UIMAGE_LOADADDR = $(shell printf "0x%x" $$(( ${CONFIG_DEFAULT_MEM_START} + 0x3000 )) ) 11 15 endif 12 16 UIMAGE_COMPRESSION = gzip 13 17