aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Kbuild.platforms1
-rw-r--r--arch/mips/Makefile12
-rw-r--r--arch/mips/cavium-octeon/Makefile3
-rw-r--r--arch/mips/cavium-octeon/Platform11
4 files changed, 13 insertions, 14 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms
index c00aa348a432..5a45333ecf92 100644
--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -4,6 +4,7 @@ platforms += alchemy
4platforms += ar7 4platforms += ar7
5platforms += bcm47xx 5platforms += bcm47xx
6platforms += bcm63xx 6platforms += bcm63xx
7platforms += cavium-octeon
7platforms += cobalt 8platforms += cobalt
8platforms += dec 9platforms += dec
9platforms += jazz 10platforms += jazz
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 4cb60db6a44a..b62d8323a0b7 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -301,18 +301,6 @@ core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/
301core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/ 301core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/
302core-$(CONFIG_TOSHIBA_RBTX4939) += arch/mips/txx9/rbtx4939/ 302core-$(CONFIG_TOSHIBA_RBTX4939) += arch/mips/txx9/rbtx4939/
303 303
304#
305# Cavium Octeon
306#
307core-$(CONFIG_CPU_CAVIUM_OCTEON) += arch/mips/cavium-octeon/
308cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -I$(srctree)/arch/mips/include/asm/mach-cavium-octeon
309core-$(CONFIG_CPU_CAVIUM_OCTEON) += arch/mips/cavium-octeon/executive/
310ifdef CONFIG_CAVIUM_OCTEON_2ND_KERNEL
311load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff84100000
312else
313load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000
314endif
315
316cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic 304cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic
317drivers-$(CONFIG_PCI) += arch/mips/pci/ 305drivers-$(CONFIG_PCI) += arch/mips/pci/
318 306
diff --git a/arch/mips/cavium-octeon/Makefile b/arch/mips/cavium-octeon/Makefile
index 3e9876317e61..19eb0434269f 100644
--- a/arch/mips/cavium-octeon/Makefile
+++ b/arch/mips/cavium-octeon/Makefile
@@ -12,7 +12,6 @@
12obj-y := cpu.o setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o 12obj-y := cpu.o setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o
13obj-y += dma-octeon.o flash_setup.o 13obj-y += dma-octeon.o flash_setup.o
14obj-y += octeon-memcpy.o 14obj-y += octeon-memcpy.o
15obj-y += executive/
15 16
16obj-$(CONFIG_SMP) += smp.o 17obj-$(CONFIG_SMP) += smp.o
17
18EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/cavium-octeon/Platform b/arch/mips/cavium-octeon/Platform
new file mode 100644
index 000000000000..1e43ccf1a792
--- /dev/null
+++ b/arch/mips/cavium-octeon/Platform
@@ -0,0 +1,11 @@
1#
2# Cavium Octeon
3#
4platform-$(CONFIG_CPU_CAVIUM_OCTEON) += cavium-octeon/
5cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += \
6 -I$(srctree)/arch/mips/include/asm/mach-cavium-octeon
7ifdef CONFIG_CAVIUM_OCTEON_2ND_KERNEL
8load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff84100000
9else
10load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000
11endif