summaryrefslogtreecommitdiffstats
path: root/arch/mips/Makefile
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2008-05-27 01:15:16 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-06-16 15:14:46 +0100
commit0e27d7931157fa89cc9afb7735095a0d81ce8fec (patch)
tree39af5fa47992f9943f9bdd397bd6fca3c2ecda37 /arch/mips/Makefile
parentd0f9cbd4b29c3d208d6b31519cbb940d98d61e7d (diff)
downloadlinux-0e27d7931157fa89cc9afb7735095a0d81ce8fec.tar.bz2
[MIPS] Better load address for big endian SNI RM
Use better load address for big endian kernels to avoid clashes with PROM / SASH. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r--arch/mips/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 69648d01acc0..1ec8e35f2e48 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -565,7 +565,11 @@ load-$(CONFIG_BCM47XX) := 0xffffffff80001000
#
core-$(CONFIG_SNI_RM) += arch/mips/sni/
cflags-$(CONFIG_SNI_RM) += -Iinclude/asm-mips/mach-rm
+ifdef CONFIG_CPU_LITTLE_ENDIAN
load-$(CONFIG_SNI_RM) += 0xffffffff80600000
+else
+load-$(CONFIG_SNI_RM) += 0xffffffff80030000
+endif
all-$(CONFIG_SNI_RM) := vmlinux.ecoff
#