projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72bb305
)
xtensa: nommu: fix uImage load address
author
Max Filippov
<jcmvbkbc@gmail.com>
Fri, 3 Oct 2014 15:04:59 +0000
(19:04 +0400)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Tue, 21 Oct 2014 09:28:54 +0000
(13:28 +0400)
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>
arch/xtensa/boot/boot-uboot/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/xtensa/boot/boot-uboot/Makefile
b/arch/xtensa/boot/boot-uboot/Makefile
index 545759819ef9b11cee5b2227d0a68262b5e5ea1f..403fcf23405cf27bbd5bcdcad1d0a7c74269cbbd 100644
(file)
--- a/
arch/xtensa/boot/boot-uboot/Makefile
+++ b/
arch/xtensa/boot/boot-uboot/Makefile
@@
-4,11
+4,15
@@
# for more details.
#
+ifdef CONFIG_MMU
ifdef CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
UIMAGE_LOADADDR = 0x00003000
else
UIMAGE_LOADADDR = 0xd0003000
endif
+else
+UIMAGE_LOADADDR = $(shell printf "0x%x" $$(( ${CONFIG_DEFAULT_MEM_START} + 0x3000 )) )
+endif
UIMAGE_COMPRESSION = gzip
$(obj)/../uImage: vmlinux.bin.gz FORCE