MIPS: BCM63xx: Utilize asm/bmips-spaces.h
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 4 May 2015 19:09:44 +0000 (12:09 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:53:32 +0000 (21:53 +0200)
Since BCM63xx runs on BMIPS3300 which requires the use of a FIXADDR_TOP
to avoid collisions with the SBR, utilize asm/bmips-spaces.h which
defines FIXADDR_TOP for us now.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: blogic@openwrt.org
Cc: cernekee@chromium.org
Cc: jogo@openwrt.org
Patchwork: https://patchwork.linux-mips.org/patch/9969/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-bcm63xx/spaces.h

index 61e750fb465355e9f0d8d93f90aefdb043fd96dc..1410ed0da4df35c08a7db4b393b7d8850865dcdd 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef _ASM_BCM63XX_SPACES_H
 #define _ASM_BCM63XX_SPACES_H
 
-#define FIXADDR_TOP            ((unsigned long)(long)(int)0xff000000)
+#include <asm/bmips-spaces.h>
 
 #include <asm/mach-generic/spaces.h>