aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2010-06-02 03:52:21 -0400
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 08:25:48 -0400
commit4300a92e9b3794caee33a8f3985ad883db1b4650 (patch)
tree21f3797fbb499b670172b5b35a9d22f0016fb6c0 /arch
parent5c6aecbda882b62c84abf72cf056e39e215feac3 (diff)
MIPS: Move VR41xx Makefile parts to their own Platform file
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org> Cc: linux-mips <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/1322/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/Kbuild.platforms1
-rw-r--r--arch/mips/Makefile33
-rw-r--r--arch/mips/vr41xx/Platform32
-rw-r--r--arch/mips/vr41xx/common/Makefile2
4 files changed, 33 insertions, 35 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms
index 6c163c278222..9b6e8d71d4c6 100644
--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -6,6 +6,7 @@ platforms += cobalt
6platforms += loongson 6platforms += loongson
7platforms += mipssim 7platforms += mipssim
8platforms += sgi-ip27 8platforms += sgi-ip27
9platforms += vr41xx
9 10
10# include the platform specific files 11# include the platform specific files
11include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms)) 12include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 01fbd91a52c8..84fe05a687a4 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -243,39 +243,6 @@ core-$(CONFIG_LASAT) += arch/mips/lasat/
243cflags-$(CONFIG_LASAT) += -I$(srctree)/arch/mips/include/asm/mach-lasat 243cflags-$(CONFIG_LASAT) += -I$(srctree)/arch/mips/include/asm/mach-lasat
244load-$(CONFIG_LASAT) += 0xffffffff80000000 244load-$(CONFIG_LASAT) += 0xffffffff80000000
245 245
246#
247# Common VR41xx
248#
249core-$(CONFIG_MACH_VR41XX) += arch/mips/vr41xx/common/
250cflags-$(CONFIG_MACH_VR41XX) += -I$(srctree)/arch/mips/include/asm/mach-vr41xx
251
252#
253# ZAO Networks Capcella (VR4131)
254#
255load-$(CONFIG_ZAO_CAPCELLA) += 0xffffffff80000000
256
257#
258# Victor MP-C303/304 (VR4122)
259#
260load-$(CONFIG_VICTOR_MPC30X) += 0xffffffff80001000
261
262#
263# IBM WorkPad z50 (VR4121)
264#
265core-$(CONFIG_IBM_WORKPAD) += arch/mips/vr41xx/ibm-workpad/
266load-$(CONFIG_IBM_WORKPAD) += 0xffffffff80004000
267
268#
269# CASIO CASSIPEIA E-55/65 (VR4111)
270#
271core-$(CONFIG_CASIO_E55) += arch/mips/vr41xx/casio-e55/
272load-$(CONFIG_CASIO_E55) += 0xffffffff80004000
273
274#
275# TANBAC VR4131 multichip module(TB0225) and TANBAC VR4131DIMM(TB0229) (VR4131)
276#
277load-$(CONFIG_TANBAC_TB022X) += 0xffffffff80000000
278
279# NXP STB225 246# NXP STB225
280core-$(CONFIG_SOC_PNX833X) += arch/mips/nxp/pnx833x/common/ 247core-$(CONFIG_SOC_PNX833X) += arch/mips/nxp/pnx833x/common/
281cflags-$(CONFIG_SOC_PNX833X) += -Iarch/mips/include/asm/mach-pnx833x 248cflags-$(CONFIG_SOC_PNX833X) += -Iarch/mips/include/asm/mach-pnx833x
diff --git a/arch/mips/vr41xx/Platform b/arch/mips/vr41xx/Platform
new file mode 100644
index 000000000000..b6c8d5c08ddb
--- /dev/null
+++ b/arch/mips/vr41xx/Platform
@@ -0,0 +1,32 @@
1#
2# NEC VR4100 series based machines
3#
4platform-$(CONFIG_MACH_VR41XX) += vr41xx/common/
5cflags-$(CONFIG_MACH_VR41XX) += -I$(srctree)/arch/mips/include/asm/mach-vr41xx
6
7#
8# CASIO CASSIPEIA E-55/65 (VR4111)
9#
10platform-$(CONFIG_CASIO_E55) += vr41xx/casio-e55/
11load-$(CONFIG_CASIO_E55) += 0xffffffff80004000
12
13#
14# IBM WorkPad z50 (VR4121)
15#
16platform-$(CONFIG_IBM_WORKPAD) += vr41xx/ibm-workpad/
17load-$(CONFIG_IBM_WORKPAD) += 0xffffffff80004000
18
19#
20# TANBAC VR4131 multichip module(TB0225) and TANBAC VR4131DIMM(TB0229) (VR4131)
21#
22load-$(CONFIG_TANBAC_TB022X) += 0xffffffff80000000
23
24#
25# Victor MP-C303/304 (VR4122)
26#
27load-$(CONFIG_VICTOR_MPC30X) += 0xffffffff80001000
28
29#
30# ZAO Networks Capcella (VR4131)
31#
32load-$(CONFIG_ZAO_CAPCELLA) += 0xffffffff80000000
diff --git a/arch/mips/vr41xx/common/Makefile b/arch/mips/vr41xx/common/Makefile
index 7d5d83b8c582..d0d84ec8d63d 100644
--- a/arch/mips/vr41xx/common/Makefile
+++ b/arch/mips/vr41xx/common/Makefile
@@ -3,5 +3,3 @@
3# 3#
4 4
5obj-y += bcu.o cmu.o giu.o icu.o init.o irq.o pmu.o rtc.o siu.o type.o 5obj-y += bcu.o cmu.o giu.o icu.o init.o irq.o pmu.o rtc.o siu.o type.o
6
7EXTRA_CFLAGS += -Werror