diff options
author | Yoichi Yuasa <yuasa@linux-mips.org> | 2010-06-02 03:52:21 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:48 -0400 |
commit | 4300a92e9b3794caee33a8f3985ad883db1b4650 (patch) | |
tree | 21f3797fbb499b670172b5b35a9d22f0016fb6c0 /arch/mips | |
parent | 5c6aecbda882b62c84abf72cf056e39e215feac3 (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/mips')
-rw-r--r-- | arch/mips/Kbuild.platforms | 1 | ||||
-rw-r--r-- | arch/mips/Makefile | 33 | ||||
-rw-r--r-- | arch/mips/vr41xx/Platform | 32 | ||||
-rw-r--r-- | arch/mips/vr41xx/common/Makefile | 2 |
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 | |||
6 | platforms += loongson | 6 | platforms += loongson |
7 | platforms += mipssim | 7 | platforms += mipssim |
8 | platforms += sgi-ip27 | 8 | platforms += sgi-ip27 |
9 | platforms += vr41xx | ||
9 | 10 | ||
10 | # include the platform specific files | 11 | # include the platform specific files |
11 | include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms)) | 12 | include $(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/ | |||
243 | cflags-$(CONFIG_LASAT) += -I$(srctree)/arch/mips/include/asm/mach-lasat | 243 | cflags-$(CONFIG_LASAT) += -I$(srctree)/arch/mips/include/asm/mach-lasat |
244 | load-$(CONFIG_LASAT) += 0xffffffff80000000 | 244 | load-$(CONFIG_LASAT) += 0xffffffff80000000 |
245 | 245 | ||
246 | # | ||
247 | # Common VR41xx | ||
248 | # | ||
249 | core-$(CONFIG_MACH_VR41XX) += arch/mips/vr41xx/common/ | ||
250 | cflags-$(CONFIG_MACH_VR41XX) += -I$(srctree)/arch/mips/include/asm/mach-vr41xx | ||
251 | |||
252 | # | ||
253 | # ZAO Networks Capcella (VR4131) | ||
254 | # | ||
255 | load-$(CONFIG_ZAO_CAPCELLA) += 0xffffffff80000000 | ||
256 | |||
257 | # | ||
258 | # Victor MP-C303/304 (VR4122) | ||
259 | # | ||
260 | load-$(CONFIG_VICTOR_MPC30X) += 0xffffffff80001000 | ||
261 | |||
262 | # | ||
263 | # IBM WorkPad z50 (VR4121) | ||
264 | # | ||
265 | core-$(CONFIG_IBM_WORKPAD) += arch/mips/vr41xx/ibm-workpad/ | ||
266 | load-$(CONFIG_IBM_WORKPAD) += 0xffffffff80004000 | ||
267 | |||
268 | # | ||
269 | # CASIO CASSIPEIA E-55/65 (VR4111) | ||
270 | # | ||
271 | core-$(CONFIG_CASIO_E55) += arch/mips/vr41xx/casio-e55/ | ||
272 | load-$(CONFIG_CASIO_E55) += 0xffffffff80004000 | ||
273 | |||
274 | # | ||
275 | # TANBAC VR4131 multichip module(TB0225) and TANBAC VR4131DIMM(TB0229) (VR4131) | ||
276 | # | ||
277 | load-$(CONFIG_TANBAC_TB022X) += 0xffffffff80000000 | ||
278 | |||
279 | # NXP STB225 | 246 | # NXP STB225 |
280 | core-$(CONFIG_SOC_PNX833X) += arch/mips/nxp/pnx833x/common/ | 247 | core-$(CONFIG_SOC_PNX833X) += arch/mips/nxp/pnx833x/common/ |
281 | cflags-$(CONFIG_SOC_PNX833X) += -Iarch/mips/include/asm/mach-pnx833x | 248 | cflags-$(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 | # | ||
4 | platform-$(CONFIG_MACH_VR41XX) += vr41xx/common/ | ||
5 | cflags-$(CONFIG_MACH_VR41XX) += -I$(srctree)/arch/mips/include/asm/mach-vr41xx | ||
6 | |||
7 | # | ||
8 | # CASIO CASSIPEIA E-55/65 (VR4111) | ||
9 | # | ||
10 | platform-$(CONFIG_CASIO_E55) += vr41xx/casio-e55/ | ||
11 | load-$(CONFIG_CASIO_E55) += 0xffffffff80004000 | ||
12 | |||
13 | # | ||
14 | # IBM WorkPad z50 (VR4121) | ||
15 | # | ||
16 | platform-$(CONFIG_IBM_WORKPAD) += vr41xx/ibm-workpad/ | ||
17 | load-$(CONFIG_IBM_WORKPAD) += 0xffffffff80004000 | ||
18 | |||
19 | # | ||
20 | # TANBAC VR4131 multichip module(TB0225) and TANBAC VR4131DIMM(TB0229) (VR4131) | ||
21 | # | ||
22 | load-$(CONFIG_TANBAC_TB022X) += 0xffffffff80000000 | ||
23 | |||
24 | # | ||
25 | # Victor MP-C303/304 (VR4122) | ||
26 | # | ||
27 | load-$(CONFIG_VICTOR_MPC30X) += 0xffffffff80001000 | ||
28 | |||
29 | # | ||
30 | # ZAO Networks Capcella (VR4131) | ||
31 | # | ||
32 | load-$(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 | ||
5 | obj-y += bcu.o cmu.o giu.o icu.o init.o irq.o pmu.o rtc.o siu.o type.o | 5 | obj-y += bcu.o cmu.o giu.o icu.o init.o irq.o pmu.o rtc.o siu.o type.o |
6 | |||
7 | EXTRA_CFLAGS += -Werror | ||