This patch moves the entries for the PMC-Sierra boards from the main mips Makefile into their own Platform file. Signed-off-by: Shane McDonald <mcdonald.shane@xxxxxxxxx> --- This patch applies against the linux-queue tree. It has been compile tested for both the MSP71xx and the yosemite defconfigs, the yosemite one after disabling the broken Titan GE driver. arch/mips/Kbuild.platforms | 1 + arch/mips/Makefile | 15 --------------- arch/mips/pmc-sierra/Platform | 14 ++++++++++++++ 3 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 arch/mips/pmc-sierra/Platform diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index 9b6e8d7..c074ee2 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms @@ -5,6 +5,7 @@ platforms += ar7 platforms += cobalt platforms += loongson platforms += mipssim +platforms += pmc-sierra platforms += sgi-ip27 platforms += vr41xx diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 6997faa..a27c645 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -222,21 +222,6 @@ 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 # core-$(CONFIG_LASAT) += arch/mips/lasat/ diff --git a/arch/mips/pmc-sierra/Platform b/arch/mips/pmc-sierra/Platform new file mode 100644 index 0000000..f092f25 --- /dev/null +++ b/arch/mips/pmc-sierra/Platform @@ -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 -- 1.5.6.5