diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2016-08-04 15:45:32 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2016-09-09 18:38:35 -0700 |
commit | 73a3eed0a4800cbe9d99cc6447fed8309d7fcb97 (patch) | |
tree | 16bc65b6e01480d678f8306a8dbe27c01c25e2cc /arch/xtensa/variants/csp | |
parent | 9e8511ff7e3f18df7d202da06c9704d940fa68f9 (diff) | |
download | linux-73a3eed0a4800cbe9d99cc6447fed8309d7fcb97.tar.bz2 |
xtensa: fix default kernel load address
Make default kernel load address 0xd0003000 for MMUv2 cores and
0x60003000 for noMMU cores. Don't initialize MMU inside vmlinux for
predefined MMUv2 cores (it's noop anyway).
This fixes the following defconfig build error:
arch/xtensa/kernel/built-in.o: In function `fast_alloca':
(.text+0x99a): dangerous relocation: j: cannot encode: _WindowUnderflow12
arch/xtensa/kernel/built-in.o: In function `fast_alloca':
(.text+0x99d): dangerous relocation: j: cannot encode: _WindowUnderflow8
arch/xtensa/kernel/built-in.o: In function `fast_alloca':
(.text+0x9a0): dangerous relocation: j: cannot encode: _WindowUnderflow4
arch/xtensa/kernel/built-in.o: In function `window_overflow_restore_a0_fixup':
(.text+0x23a3): dangerous relocation: j: cannot encode: (.DoubleExceptionVector.text+0x104)
arch/xtensa/kernel/built-in.o: In function `window_overflow_restore_a0_fixup':
(.text+0x23c1): dangerous relocation: j: cannot encode: (.DoubleExceptionVector.text+0x104)
arch/xtensa/kernel/built-in.o: In function `window_overflow_restore_a0_fixup':
(.text+0x23dd): dangerous relocation: j: cannot encode: (.DoubleExceptionVector.text+0x104)
With this change all xtensa defconfigs build correctly.
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/variants/csp')
0 files changed, 0 insertions, 0 deletions