]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
MIPS: PMC-Sierra: Move board Makefile parts to their own Platform file
authorShane McDonald <mcdonald.shane@gmail.com>
Thu, 3 Jun 2010 10:34:06 +0000 (04:34 -0600)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:48 +0000 (13:25 +0100)
Signed-off-by: Shane McDonald <mcdonald.shane@gmail.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1354/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kbuild.platforms
arch/mips/Makefile
arch/mips/pmc-sierra/Platform [new file with mode: 0644]

index 9b6e8d71d4c63c3b60d1ab34fc6c4c8112a43078..c074ee2455b0c482925602c9c65a22cf51b3d887 100644 (file)
@@ -5,6 +5,7 @@ platforms += ar7
 platforms += cobalt
 platforms += loongson
 platforms += mipssim
+platforms += pmc-sierra
 platforms += sgi-ip27
 platforms += vr41xx
 
index 84fe05a687a47afd344119a233e4847339f46803..e83a88d6286879c50e3487f4042c47bcf52be6e3 100644 (file)
@@ -221,21 +221,6 @@ cflags-$(CONFIG_MIPS_MALTA)        += -I$(srctree)/arch/mips/include/asm/mach-malta
 load-$(CONFIG_MIPS_MALTA)      += 0xffffffff80100000
 all-$(CONFIG_MIPS_MALTA)       := $(COMPRESSION_FNAME).bin
 
-#
-# PMC-Sierra MSP SOCs
-#
-core-$(CONFIG_PMC_MSP)         += arch/mips/pmc-sierra/msp71xx/
-cflags-$(CONFIG_PMC_MSP)       += -I$(srctree)/arch/mips/include/asm/pmc-sierra/msp71xx \
-                                       -mno-branch-likely
-load-$(CONFIG_PMC_MSP)         += 0xffffffff80100000
-
-#
-# PMC-Sierra Yosemite
-#
-core-$(CONFIG_PMC_YOSEMITE)    += arch/mips/pmc-sierra/yosemite/
-cflags-$(CONFIG_PMC_YOSEMITE)  += -I$(srctree)/arch/mips/include/asm/mach-yosemite
-load-$(CONFIG_PMC_YOSEMITE)    += 0xffffffff80100000
-
 #
 # LASAT platforms
 #
diff --git a/arch/mips/pmc-sierra/Platform b/arch/mips/pmc-sierra/Platform
new file mode 100644 (file)
index 0000000..f092f25
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# PMC-Sierra MSP SOCs
+#
+platform-$(CONFIG_PMC_MSP)     += pmc-sierra/msp71xx/
+cflags-$(CONFIG_PMC_MSP)       += -I$(srctree)/arch/mips/include/asm/pmc-sierra/msp71xx \
+                                       -mno-branch-likely
+load-$(CONFIG_PMC_MSP)         += 0xffffffff80100000
+
+#
+# PMC-Sierra Yosemite
+#
+platform-$(CONFIG_PMC_YOSEMITE)        += pmc-sierra/yosemite/
+cflags-$(CONFIG_PMC_YOSEMITE)  += -I$(srctree)/arch/mips/include/asm/mach-yosemite
+load-$(CONFIG_PMC_YOSEMITE)    += 0xffffffff80100000