diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kbuild.platforms | 1 | ||||
-rw-r--r-- | arch/mips/Makefile | 12 | ||||
-rw-r--r-- | arch/mips/cavium-octeon/Makefile | 3 | ||||
-rw-r--r-- | arch/mips/cavium-octeon/Platform | 11 |
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 | |||
4 | platforms += ar7 | 4 | platforms += ar7 |
5 | platforms += bcm47xx | 5 | platforms += bcm47xx |
6 | platforms += bcm63xx | 6 | platforms += bcm63xx |
7 | platforms += cavium-octeon | ||
7 | platforms += cobalt | 8 | platforms += cobalt |
8 | platforms += dec | 9 | platforms += dec |
9 | platforms += jazz | 10 | platforms += 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/ | |||
301 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/ | 301 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/ |
302 | core-$(CONFIG_TOSHIBA_RBTX4939) += arch/mips/txx9/rbtx4939/ | 302 | core-$(CONFIG_TOSHIBA_RBTX4939) += arch/mips/txx9/rbtx4939/ |
303 | 303 | ||
304 | # | ||
305 | # Cavium Octeon | ||
306 | # | ||
307 | core-$(CONFIG_CPU_CAVIUM_OCTEON) += arch/mips/cavium-octeon/ | ||
308 | cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -I$(srctree)/arch/mips/include/asm/mach-cavium-octeon | ||
309 | core-$(CONFIG_CPU_CAVIUM_OCTEON) += arch/mips/cavium-octeon/executive/ | ||
310 | ifdef CONFIG_CAVIUM_OCTEON_2ND_KERNEL | ||
311 | load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff84100000 | ||
312 | else | ||
313 | load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000 | ||
314 | endif | ||
315 | |||
316 | cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic | 304 | cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic |
317 | drivers-$(CONFIG_PCI) += arch/mips/pci/ | 305 | drivers-$(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 @@ | |||
12 | obj-y := cpu.o setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o | 12 | obj-y := cpu.o setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o |
13 | obj-y += dma-octeon.o flash_setup.o | 13 | obj-y += dma-octeon.o flash_setup.o |
14 | obj-y += octeon-memcpy.o | 14 | obj-y += octeon-memcpy.o |
15 | obj-y += executive/ | ||
15 | 16 | ||
16 | obj-$(CONFIG_SMP) += smp.o | 17 | obj-$(CONFIG_SMP) += smp.o |
17 | |||
18 | EXTRA_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 | # | ||
4 | platform-$(CONFIG_CPU_CAVIUM_OCTEON) += cavium-octeon/ | ||
5 | cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += \ | ||
6 | -I$(srctree)/arch/mips/include/asm/mach-cavium-octeon | ||
7 | ifdef CONFIG_CAVIUM_OCTEON_2ND_KERNEL | ||
8 | load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff84100000 | ||
9 | else | ||
10 | load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000 | ||
11 | endif | ||