Commit 26bff9eb authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer
Browse files

MIPS: Only include the platform file needed



Instead of including all Platform files, we simply include the
needed one and avoid clashes with makefile variables.

Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 22235ef3
Loading
Loading
Loading
Loading
+39 −34
Original line number Original line Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0
# All platforms listed in alphabetic order
# All platforms listed in alphabetic order


platforms += alchemy
platform-$(CONFIG_MIPS_ALCHEMY)		+= alchemy/
platforms += ar7
platform-$(CONFIG_AR7)			+= ar7/
platforms += ath25
platform-$(CONFIG_ATH25)		+= ath25/
platforms += ath79
platform-$(CONFIG_ATH79)		+= ath79/
platforms += bcm47xx
platform-$(CONFIG_BCM47XX)		+= bcm47xx/
platforms += bcm63xx
platform-$(CONFIG_BCM63XX)		+= bcm63xx/
platforms += bmips
platform-$(CONFIG_BMIPS_GENERIC)	+= bmips/
platforms += cavium-octeon
platform-$(CONFIG_CAVIUM_OCTEON_SOC)	+= cavium-octeon/
platforms += cobalt
platform-$(CONFIG_MIPS_COBALT)		+= cobalt/
platforms += dec
platform-$(CONFIG_MACH_DECSTATION)	+= dec/
platforms += generic
platform-$(CONFIG_MIPS_GENERIC)		+= generic/
platforms += jazz
platform-$(CONFIG_MACH_JAZZ)		+= jazz/
platforms += jz4740
platform-$(CONFIG_MACH_INGENIC)		+= jz4740/
platforms += lantiq
platform-$(CONFIG_LANTIQ)		+= lantiq/
platforms += loongson2ef
platform-$(CONFIG_MACH_LOONGSON2EF)	+= loongson2ef/
platforms += loongson32
platform-$(CONFIG_MACH_LOONGSON32)	+= loongson32/
platforms += loongson64
platform-$(CONFIG_MACH_LOONGSON64)	+= loongson64/
platforms += mti-malta
platform-$(CONFIG_MIPS_MALTA)		+= mti-malta/
platforms += netlogic
platform-$(CONFIG_NLM_COMMON)		+= netlogic/
platforms += paravirt
platform-$(CONFIG_MIPS_PARAVIRT)	+= paravirt/
platforms += pic32
platform-$(CONFIG_PIC32MZDA)		+= pic32/
platforms += pistachio
platform-$(CONFIG_MACH_PISTACHIO)	+= pistachio/
platforms += pnx833x
platform-$(CONFIG_SOC_PNX833X)		+= pnx833x/
platforms += ralink
platform-$(CONFIG_RALINK)		+= ralink/
platforms += rb532
platform-$(CONFIG_MIKROTIK_RB532)	+= rb532/
platforms += sgi-ip22
platform-$(CONFIG_SGI_IP22)		+= sgi-ip22/
platforms += sgi-ip27
platform-$(CONFIG_SGI_IP27)		+= sgi-ip27/
platforms += sgi-ip30
platform-$(CONFIG_SGI_IP28)		+= sgi-ip22/
platforms += sgi-ip32
platform-$(CONFIG_SGI_IP30)		+= sgi-ip30/
platforms += sibyte
platform-$(CONFIG_SGI_IP32)		+= sgi-ip32/
platforms += sni
platform-$(CONFIG_SIBYTE_BCM112X)	+= sibyte/
platforms += txx9
platform-$(CONFIG_SIBYTE_SB1250)	+= sibyte/
platforms += vr41xx
platform-$(CONFIG_SIBYTE_BCM1x55)	+= sibyte/
platform-$(CONFIG_SIBYTE_BCM1x80)	+= sibyte/
platform-$(CONFIG_SNI_RM)		+= sni/
platform-$(CONFIG_MACH_TX39XX)		+= tx99/
platform-$(CONFIG_MACH_TX49XX)		+= tx99/
platform-$(CONFIG_MACH_VR41XX)		+= vr41xx/


# include the platform specific files
# include the platform specific files
include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))
include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platform-y))
+0 −3
Original line number Original line Diff line number Diff line
@@ -15,19 +15,16 @@ load-$(CONFIG_MIPS_DB1XXX) += 0xffffffff80100000
#
#
# 4G-Systems MTX-1 "MeshCube" wireless router
# 4G-Systems MTX-1 "MeshCube" wireless router
#
#
platform-$(CONFIG_MIPS_MTX1)	+= alchemy/
load-$(CONFIG_MIPS_MTX1)	+= 0xffffffff80100000
load-$(CONFIG_MIPS_MTX1)	+= 0xffffffff80100000


#
#
# MyCable eval board
# MyCable eval board
#
#
platform-$(CONFIG_MIPS_XXS1500) += alchemy/
load-$(CONFIG_MIPS_XXS1500)	+= 0xffffffff80100000
load-$(CONFIG_MIPS_XXS1500)	+= 0xffffffff80100000


#
#
# Trapeze ITS GRP board
# Trapeze ITS GRP board
#
#
platform-$(CONFIG_MIPS_GPR)	+= alchemy/
load-$(CONFIG_MIPS_GPR)		+= 0xffffffff80100000
load-$(CONFIG_MIPS_GPR)		+= 0xffffffff80100000


# boards can specify their own <gpio.h> in one of their include dirs.
# boards can specify their own <gpio.h> in one of their include dirs.
+0 −1
Original line number Original line Diff line number Diff line
#
#
# Texas Instruments AR7
# Texas Instruments AR7
#
#
platform-$(CONFIG_AR7)		+= ar7/
cflags-$(CONFIG_AR7)		+= -I$(srctree)/arch/mips/include/asm/mach-ar7
cflags-$(CONFIG_AR7)		+= -I$(srctree)/arch/mips/include/asm/mach-ar7
load-$(CONFIG_AR7)		+= 0xffffffff94100000
load-$(CONFIG_AR7)		+= 0xffffffff94100000
+0 −1
Original line number Original line Diff line number Diff line
#
#
# Atheros AR531X/AR231X WiSoC
# Atheros AR531X/AR231X WiSoC
#
#
platform-$(CONFIG_ATH25)	+= ath25/
cflags-$(CONFIG_ATH25)		+= -I$(srctree)/arch/mips/include/asm/mach-ath25
cflags-$(CONFIG_ATH25)		+= -I$(srctree)/arch/mips/include/asm/mach-ath25
load-$(CONFIG_ATH25)		+= 0xffffffff80041000
load-$(CONFIG_ATH25)		+= 0xffffffff80041000
+0 −1
Original line number Original line Diff line number Diff line
@@ -2,6 +2,5 @@
# Atheros AR71xx/AR724x/AR913x
# Atheros AR71xx/AR724x/AR913x
#
#


platform-$(CONFIG_ATH79)	+= ath79/
cflags-$(CONFIG_ATH79)		+= -I$(srctree)/arch/mips/include/asm/mach-ath79
cflags-$(CONFIG_ATH79)		+= -I$(srctree)/arch/mips/include/asm/mach-ath79
load-$(CONFIG_ATH79)		= 0xffffffff80060000
load-$(CONFIG_ATH79)		= 0xffffffff80060000
Loading