aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/boot
diff options
context:
space:
mode:
authorMarc Gauthier <marc@gums.hq.tensilica.com>2007-10-23 16:40:24 -0700
committerChris Zankel <chris@zankel.net>2008-02-13 17:15:34 -0800
commited3174d93c342b8b2eeba6bbd124707d55304a7b (patch)
tree3780be40c11765ee2f71706bee1d8c94728caa7d /arch/xtensa/boot
parent3befce8f0f79be8322aba885ed052b8ad927913d (diff)
downloadkernel_samsung_smdk4412-ed3174d93c342b8b2eeba6bbd124707d55304a7b.zip
kernel_samsung_smdk4412-ed3174d93c342b8b2eeba6bbd124707d55304a7b.tar.gz
kernel_samsung_smdk4412-ed3174d93c342b8b2eeba6bbd124707d55304a7b.tar.bz2
[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/xtensa/boot')
-rw-r--r--arch/xtensa/boot/boot-elf/boot.ld1
-rw-r--r--arch/xtensa/boot/boot-redboot/boot.ld2
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 4ab06a0..e33855c 100644
--- a/arch/xtensa/boot/boot-elf/boot.ld
+++ b/arch/xtensa/boot/boot-elf/boot.ld
@@ -1,4 +1,5 @@
OUTPUT_ARCH(xtensa)
+ENTRY(_ResetVector)
SECTIONS
{
diff --git a/arch/xtensa/boot/boot-redboot/boot.ld b/arch/xtensa/boot/boot-redboot/boot.ld
index 65b7264..774db20 100644
--- a/arch/xtensa/boot/boot-redboot/boot.ld
+++ b/arch/xtensa/boot/boot-redboot/boot.ld
@@ -2,7 +2,7 @@ OUTPUT_ARCH(xtensa)
SECTIONS
{
- .start 0xD0200000 : { *(.start) }
+ .start 0xD1000000 : { *(.start) }
.text :
{