aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig78
1 files changed, 71 insertions, 7 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index a5255e7c79e0..600eef3f3ac7 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -351,7 +351,7 @@ config SGI_IP27
351 select ARC64 351 select ARC64
352 select BOOT_ELF64 352 select BOOT_ELF64
353 select DEFAULT_SGI_PARTITION 353 select DEFAULT_SGI_PARTITION
354 select DMA_IP27 354 select DMA_COHERENT
355 select SYS_HAS_EARLY_PRINTK 355 select SYS_HAS_EARLY_PRINTK
356 select HW_HAS_PCI 356 select HW_HAS_PCI
357 select NR_CPUS_DEFAULT_64 357 select NR_CPUS_DEFAULT_64
@@ -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
@@ -682,7 +721,11 @@ config CEVT_DS1287
682config CEVT_GT641XX 721config CEVT_GT641XX
683 bool 722 bool
684 723
724config CEVT_R4K_LIB
725 bool
726
685config CEVT_R4K 727config CEVT_R4K
728 select CEVT_R4K_LIB
686 bool 729 bool
687 730
688config CEVT_SB1250 731config CEVT_SB1250
@@ -697,7 +740,11 @@ config CSRC_BCM1480
697config CSRC_IOASIC 740config CSRC_IOASIC
698 bool 741 bool
699 742
743config CSRC_R4K_LIB
744 bool
745
700config CSRC_R4K 746config CSRC_R4K
747 select CSRC_R4K_LIB
701 bool 748 bool
702 749
703config CSRC_SB1250 750config CSRC_SB1250
@@ -714,9 +761,6 @@ config CFE
714config DMA_COHERENT 761config DMA_COHERENT
715 bool 762 bool
716 763
717config DMA_IP27
718 bool
719
720config DMA_NONCOHERENT 764config DMA_NONCOHERENT
721 bool 765 bool
722 select DMA_NEED_PCI_MAP_STATE 766 select DMA_NEED_PCI_MAP_STATE
@@ -835,6 +879,9 @@ config IRQ_GT641XX
835config IRQ_GIC 879config IRQ_GIC
836 bool 880 bool
837 881
882config IRQ_CPU_OCTEON
883 bool
884
838config MIPS_BOARDS_GEN 885config MIPS_BOARDS_GEN
839 bool 886 bool
840 887
@@ -924,7 +971,7 @@ config BOOT_ELF32
924config MIPS_L1_CACHE_SHIFT 971config MIPS_L1_CACHE_SHIFT
925 int 972 int
926 default "4" if MACH_DECSTATION || MIKROTIK_RB532 973 default "4" if MACH_DECSTATION || MIKROTIK_RB532
927 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM 974 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
928 default "4" if PMC_MSP4200_EVAL 975 default "4" if PMC_MSP4200_EVAL
929 default "5" 976 default "5"
930 977
@@ -1185,6 +1232,23 @@ config CPU_SB1
1185 select CPU_SUPPORTS_HIGHMEM 1232 select CPU_SUPPORTS_HIGHMEM
1186 select WEAK_ORDERING 1233 select WEAK_ORDERING
1187 1234
1235config CPU_CAVIUM_OCTEON
1236 bool "Cavium Octeon processor"
1237 select IRQ_CPU
1238 select IRQ_CPU_OCTEON
1239 select CPU_HAS_PREFETCH
1240 select CPU_SUPPORTS_64BIT_KERNEL
1241 select SYS_SUPPORTS_SMP
1242 select NR_CPUS_DEFAULT_16
1243 select WEAK_ORDERING
1244 select WEAK_REORDERING_BEYOND_LLSC
1245 select CPU_SUPPORTS_HIGHMEM
1246 help
1247 The Cavium Octeon processor is a highly integrated chip containing
1248 many ethernet hardware widgets for networking tasks. The processor
1249 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1250 Full details can be found at http://www.caviumnetworks.com.
1251
1188endchoice 1252endchoice
1189 1253
1190config SYS_HAS_CPU_LOONGSON2 1254config SYS_HAS_CPU_LOONGSON2
@@ -1285,7 +1349,7 @@ config CPU_MIPSR1
1285 1349
1286config CPU_MIPSR2 1350config CPU_MIPSR2
1287 bool 1351 bool
1288 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 1352 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
1289 1353
1290config SYS_SUPPORTS_32BIT_KERNEL 1354config SYS_SUPPORTS_32BIT_KERNEL
1291 bool 1355 bool
@@ -1301,7 +1365,7 @@ config CPU_SUPPORTS_64BIT_KERNEL
1301# 1365#
1302config HARDWARE_WATCHPOINTS 1366config HARDWARE_WATCHPOINTS
1303 bool 1367 bool
1304 default y if CPU_MIPS32 || CPU_MIPS64 1368 default y if CPU_MIPSR1 || CPU_MIPSR2
1305 1369
1306menu "Kernel type" 1370menu "Kernel type"
1307 1371