]> err.no Git - linux-2.6/commitdiff
[MIPS] Better load address for big endian SNI RM
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 26 May 2008 23:15:16 +0000 (01:15 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 16 Jun 2008 14:14:46 +0000 (15:14 +0100)
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>
arch/mips/Makefile

index 69648d01acc0a49e195259efbf039417793b9c36..1ec8e35f2e48b7fbdd8ee784ad2c2d45c023cf62 100644 (file)
@@ -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
 
 #