From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 5 Aug 2010 12:25:54 +0000 (+0100)
Subject: MIPS: BCM47xx: Migrate to new platform makefile style.
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=53e4345906703785d6d02bd1b418abe2e8c9ebc1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

MIPS: BCM47xx: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---

diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms
index d99704cac561..e4c991efee91 100644
--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -2,6 +2,7 @@
 
 platforms += alchemy
 platforms += ar7
+platforms += bcm47xx
 platforms += cobalt
 platforms += dec
 platforms += jazz
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 24ba9394fa68..b855d066b82f 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -279,13 +279,6 @@ load-$(CONFIG_SIBYTE_SWARM)	:= 0xffffffff80100000
 core-$(CONFIG_SIBYTE_BIGSUR)	+= arch/mips/sibyte/swarm/
 load-$(CONFIG_SIBYTE_BIGSUR)	:= 0xffffffff80100000
 
-#
-# Broadcom BCM47XX boards
-#
-core-$(CONFIG_BCM47XX)		+= arch/mips/bcm47xx/
-cflags-$(CONFIG_BCM47XX)	+= -I$(srctree)/arch/mips/include/asm/mach-bcm47xx
-load-$(CONFIG_BCM47XX)		:= 0xffffffff80001000
-
 #
 # Broadcom BCM63XX boards
 #
diff --git a/arch/mips/bcm47xx/Platform b/arch/mips/bcm47xx/Platform
new file mode 100644
index 000000000000..874b7ca4cd11
--- /dev/null
+++ b/arch/mips/bcm47xx/Platform
@@ -0,0 +1,7 @@
+#
+# Broadcom BCM47XX boards
+#
+platform-$(CONFIG_BCM47XX)	+= bcm47xx/
+cflags-$(CONFIG_BCM47XX)	+=					\
+		-I$(srctree)/arch/mips/include/asm/mach-bcm47xx
+load-$(CONFIG_BCM47XX)		:= 0xffffffff80001000