aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/Kbuild.platforms1
-rw-r--r--arch/mips/Makefile8
-rw-r--r--arch/mips/pnx833x/Makefile3
-rw-r--r--arch/mips/pnx833x/Platform5
-rw-r--r--arch/mips/pnx833x/common/Makefile2
-rw-r--r--arch/mips/pnx833x/stb22x/Makefile2
6 files changed, 9 insertions, 12 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms
index 8985487b3def..6f007c30bfb8 100644
--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -14,6 +14,7 @@ platforms += loongson
14platforms += mipssim 14platforms += mipssim
15platforms += mti-malta 15platforms += mti-malta
16platforms += pmc-sierra 16platforms += pmc-sierra
17platforms += pnx833x
17platforms += powertv 18platforms += powertv
18platforms += rb532 19platforms += rb532
19platforms += sgi-ip22 20platforms += sgi-ip22
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 4ba8070ef4f2..17f93314b94e 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -191,14 +191,6 @@ endif
191# 191#
192include $(srctree)/arch/mips/Kbuild.platforms 192include $(srctree)/arch/mips/Kbuild.platforms
193 193
194# NXP STB225
195core-$(CONFIG_SOC_PNX833X) += arch/mips/pnx833x/common/
196cflags-$(CONFIG_SOC_PNX833X) += -Iarch/mips/include/asm/mach-pnx833x
197core-$(CONFIG_NXP_STB220) += arch/mips/pnx833x/stb22x/
198load-$(CONFIG_NXP_STB220) += 0xffffffff80001000
199core-$(CONFIG_NXP_STB225) += arch/mips/pnx833x/stb22x/
200load-$(CONFIG_NXP_STB225) += 0xffffffff80001000
201
202# 194#
203# Common NXP PNX8550 195# Common NXP PNX8550
204# 196#
diff --git a/arch/mips/pnx833x/Makefile b/arch/mips/pnx833x/Makefile
new file mode 100644
index 000000000000..02c4698cab05
--- /dev/null
+++ b/arch/mips/pnx833x/Makefile
@@ -0,0 +1,3 @@
1obj-$(CONFIG_SOC_PNX833X) += common/
2obj-$(CONFIG_NXP_STB220) += stb22x/
3obj-$(CONFIG_NXP_STB225) += stb22x/
diff --git a/arch/mips/pnx833x/Platform b/arch/mips/pnx833x/Platform
new file mode 100644
index 000000000000..7e6ec4dbc8dd
--- /dev/null
+++ b/arch/mips/pnx833x/Platform
@@ -0,0 +1,5 @@
1# NXP STB225
2platform-$(CONFIG_SOC_PNX833X) += pnx833x/
3cflags-$(CONFIG_SOC_PNX833X) += -Iarch/mips/include/asm/mach-pnx833x
4load-$(CONFIG_NXP_STB220) += 0xffffffff80001000
5load-$(CONFIG_NXP_STB225) += 0xffffffff80001000
diff --git a/arch/mips/pnx833x/common/Makefile b/arch/mips/pnx833x/common/Makefile
index 4a16f3b503b5..1a46dd291b16 100644
--- a/arch/mips/pnx833x/common/Makefile
+++ b/arch/mips/pnx833x/common/Makefile
@@ -1,3 +1 @@
1obj-y := interrupts.o platform.o prom.o setup.o reset.o obj-y := interrupts.o platform.o prom.o setup.o reset.o
2
3EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/pnx833x/stb22x/Makefile b/arch/mips/pnx833x/stb22x/Makefile
index 0c4df9f22098..7b580060de50 100644
--- a/arch/mips/pnx833x/stb22x/Makefile
+++ b/arch/mips/pnx833x/stb22x/Makefile
@@ -1,3 +1 @@
1obj-y := board.o obj-y := board.o
2
3EXTRA_CFLAGS += -Werror