aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2008-12-11 18:33:38 -0500
committerRalf Baechle <ralf@linux-mips.org>2009-01-11 04:57:25 -0500
commita86c7f72454c4e855d5d6c80ed9f7f2ac55b001a (patch)
treefd408e39dbfe1f64b469804a17c306ce832cec4f /arch/mips/Kconfig
parent551d9304de60229080b5bf97230728c1c1bc8260 (diff)
MIPS: Add Cavium OCTEON to arch/mips/Kconfig
Signed-off-by: Tomaso Paoletti <tpaoletti@caviumnetworks.com> Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig63
1 files changed, 61 insertions, 2 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index a5255e7c79e0..424ff744d07f 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -595,6 +595,44 @@ config WR_PPMC
595 This enables support for the Wind River MIPS32 4KC PPMC evaluation 595 This enables support for the Wind River MIPS32 4KC PPMC evaluation
596 board, which is based on GT64120 bridge chip. 596 board, which is based on GT64120 bridge chip.
597 597
598config CAVIUM_OCTEON_SIMULATOR
599 bool "Support for the Cavium Networks Octeon Simulator"
600 select CEVT_R4K
601 select 64BIT_PHYS_ADDR
602 select DMA_COHERENT
603 select SYS_SUPPORTS_64BIT_KERNEL
604 select SYS_SUPPORTS_BIG_ENDIAN
605 select SYS_SUPPORTS_HIGHMEM
606 select CPU_CAVIUM_OCTEON
607 help
608 The Octeon simulator is software performance model of the Cavium
609 Octeon Processor. It supports simulating Octeon processors on x86
610 hardware.
611
612config CAVIUM_OCTEON_REFERENCE_BOARD
613 bool "Support for the Cavium Networks Octeon reference board"
614 select CEVT_R4K
615 select 64BIT_PHYS_ADDR
616 select DMA_COHERENT
617 select SYS_SUPPORTS_64BIT_KERNEL
618 select SYS_SUPPORTS_BIG_ENDIAN
619 select SYS_SUPPORTS_HIGHMEM
620 select SYS_HAS_EARLY_PRINTK
621 select CPU_CAVIUM_OCTEON
622 select SWAP_IO_SPACE
623 help
624 This option supports all of the Octeon reference boards from Cavium
625 Networks. It builds a kernel that dynamically determines the Octeon
626 CPU type and supports all known board reference implementations.
627 Some of the supported boards are:
628 EBT3000
629 EBH3000
630 EBH3100
631 Thunder
632 Kodama
633 Hikari
634 Say Y here for most Octeon reference boards.
635
598endchoice 636endchoice
599 637
600source "arch/mips/alchemy/Kconfig" 638source "arch/mips/alchemy/Kconfig"
@@ -607,6 +645,7 @@ source "arch/mips/sgi-ip27/Kconfig"
607source "arch/mips/sibyte/Kconfig" 645source "arch/mips/sibyte/Kconfig"
608source "arch/mips/txx9/Kconfig" 646source "arch/mips/txx9/Kconfig"
609source "arch/mips/vr41xx/Kconfig" 647source "arch/mips/vr41xx/Kconfig"
648source "arch/mips/cavium-octeon/Kconfig"
610 649
611endmenu 650endmenu
612 651
@@ -835,6 +874,9 @@ config IRQ_GT641XX
835config IRQ_GIC 874config IRQ_GIC
836 bool 875 bool
837 876
877config IRQ_CPU_OCTEON
878 bool
879
838config MIPS_BOARDS_GEN 880config MIPS_BOARDS_GEN
839 bool 881 bool
840 882
@@ -924,7 +966,7 @@ config BOOT_ELF32
924config MIPS_L1_CACHE_SHIFT 966config MIPS_L1_CACHE_SHIFT
925 int 967 int
926 default "4" if MACH_DECSTATION || MIKROTIK_RB532 968 default "4" if MACH_DECSTATION || MIKROTIK_RB532
927 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM 969 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
928 default "4" if PMC_MSP4200_EVAL 970 default "4" if PMC_MSP4200_EVAL
929 default "5" 971 default "5"
930 972
@@ -1185,6 +1227,23 @@ config CPU_SB1
1185 select CPU_SUPPORTS_HIGHMEM 1227 select CPU_SUPPORTS_HIGHMEM
1186 select WEAK_ORDERING 1228 select WEAK_ORDERING
1187 1229
1230config CPU_CAVIUM_OCTEON
1231 bool "Cavium Octeon processor"
1232 select IRQ_CPU
1233 select IRQ_CPU_OCTEON
1234 select CPU_HAS_PREFETCH
1235 select CPU_SUPPORTS_64BIT_KERNEL
1236 select SYS_SUPPORTS_SMP
1237 select NR_CPUS_DEFAULT_16
1238 select WEAK_ORDERING
1239 select WEAK_REORDERING_BEYOND_LLSC
1240 select CPU_SUPPORTS_HIGHMEM
1241 help
1242 The Cavium Octeon processor is a highly integrated chip containing
1243 many ethernet hardware widgets for networking tasks. The processor
1244 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1245 Full details can be found at http://www.caviumnetworks.com.
1246
1188endchoice 1247endchoice
1189 1248
1190config SYS_HAS_CPU_LOONGSON2 1249config SYS_HAS_CPU_LOONGSON2
@@ -1285,7 +1344,7 @@ config CPU_MIPSR1
1285 1344
1286config CPU_MIPSR2 1345config CPU_MIPSR2
1287 bool 1346 bool
1288 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 1347 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
1289 1348
1290config SYS_SUPPORTS_32BIT_KERNEL 1349config SYS_SUPPORTS_32BIT_KERNEL
1291 bool 1350 bool