diff options
author | Marc Gauthier <marc@gums.hq.tensilica.com> | 2007-10-23 19:40:24 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2008-02-13 20:15:34 -0500 |
commit | ed3174d93c342b8b2eeba6bbd124707d55304a7b (patch) | |
tree | 3780be40c11765ee2f71706bee1d8c94728caa7d /arch | |
parent | 3befce8f0f79be8322aba885ed052b8ad927913d (diff) |
[XTENSA] adjust boot linker script start addresses
Move boot-redboot load address from 0xD0200000 to 0xD1000000
to make space for larger kernel images, in particular those with
an embedded initramfs filesystem.
Also properly set the ELF start address in boot-elf images so
that PC need not be set manually when loading them using GDB.
Signed-off-by: Marc Gauthier <marc@tensilica.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/xtensa/boot/boot-elf/boot.ld | 1 | ||||
-rw-r--r-- | arch/xtensa/boot/boot-redboot/boot.ld | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/xtensa/boot/boot-elf/boot.ld b/arch/xtensa/boot/boot-elf/boot.ld index 4ab06a0a7a6b..e33855c167bf 100644 --- a/arch/xtensa/boot/boot-elf/boot.ld +++ b/arch/xtensa/boot/boot-elf/boot.ld | |||
@@ -1,4 +1,5 @@ | |||
1 | OUTPUT_ARCH(xtensa) | 1 | OUTPUT_ARCH(xtensa) |
2 | ENTRY(_ResetVector) | ||
2 | 3 | ||
3 | SECTIONS | 4 | SECTIONS |
4 | { | 5 | { |
diff --git a/arch/xtensa/boot/boot-redboot/boot.ld b/arch/xtensa/boot/boot-redboot/boot.ld index 65b726410e8a..774db20d11f7 100644 --- a/arch/xtensa/boot/boot-redboot/boot.ld +++ b/arch/xtensa/boot/boot-redboot/boot.ld | |||
@@ -2,7 +2,7 @@ OUTPUT_ARCH(xtensa) | |||
2 | 2 | ||
3 | SECTIONS | 3 | SECTIONS |
4 | { | 4 | { |
5 | .start 0xD0200000 : { *(.start) } | 5 | .start 0xD1000000 : { *(.start) } |
6 | 6 | ||
7 | .text : | 7 | .text : |
8 | { | 8 | { |