aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig146
1 files changed, 97 insertions, 49 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 705a7a9170f3..8b5d174685f0 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1,12 +1,16 @@
1config MIPS 1config MIPS
2 bool 2 bool
3 default y 3 default y
4 select HAVE_GENERIC_DMA_COHERENT
4 select HAVE_IDE 5 select HAVE_IDE
5 select HAVE_OPROFILE 6 select HAVE_OPROFILE
6 select HAVE_ARCH_KGDB 7 select HAVE_ARCH_KGDB
7 # Horrible source of confusion. Die, die, die ... 8 select HAVE_FUNCTION_TRACER
8 select EMBEDDED 9 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
9 select RTC_LIB if !LEMOTE_FULOONG2E 10 select HAVE_DYNAMIC_FTRACE
11 select HAVE_FTRACE_MCOUNT_RECORD
12 select HAVE_FUNCTION_GRAPH_TRACER
13 select RTC_LIB if !MACH_LOONGSON
10 14
11mainmenu "Linux/MIPS Kernel Configuration" 15mainmenu "Linux/MIPS Kernel Configuration"
12 16
@@ -21,6 +25,7 @@ choice
21 25
22config MACH_ALCHEMY 26config MACH_ALCHEMY
23 bool "Alchemy processor based machines" 27 bool "Alchemy processor based machines"
28 select SYS_SUPPORTS_ZBOOT
24 29
25config AR7 30config AR7
26 bool "Texas Instruments AR7" 31 bool "Texas Instruments AR7"
@@ -35,6 +40,7 @@ config AR7
35 select SYS_HAS_EARLY_PRINTK 40 select SYS_HAS_EARLY_PRINTK
36 select SYS_SUPPORTS_32BIT_KERNEL 41 select SYS_SUPPORTS_32BIT_KERNEL
37 select SYS_SUPPORTS_LITTLE_ENDIAN 42 select SYS_SUPPORTS_LITTLE_ENDIAN
43 select SYS_SUPPORTS_ZBOOT_UART16550
38 select GENERIC_GPIO 44 select GENERIC_GPIO
39 select GCD 45 select GCD
40 select VLYNQ 46 select VLYNQ
@@ -42,23 +48,6 @@ config AR7
42 Support for the Texas Instruments AR7 System-on-a-Chip 48 Support for the Texas Instruments AR7 System-on-a-Chip
43 family: TNETD7100, 7200 and 7300. 49 family: TNETD7100, 7200 and 7300.
44 50
45config BASLER_EXCITE
46 bool "Basler eXcite smart camera"
47 select CEVT_R4K
48 select CSRC_R4K
49 select DMA_COHERENT
50 select HW_HAS_PCI
51 select IRQ_CPU
52 select IRQ_CPU_RM7K
53 select IRQ_CPU_RM9K
54 select MIPS_RM9122
55 select SYS_HAS_CPU_RM9000
56 select SYS_SUPPORTS_32BIT_KERNEL
57 select SYS_SUPPORTS_BIG_ENDIAN
58 help
59 The eXcite is a smart camera platform manufactured by
60 Basler Vision Technologies AG.
61
62config BCM47XX 51config BCM47XX
63 bool "BCM47XX based boards" 52 bool "BCM47XX based boards"
64 select CEVT_R4K 53 select CEVT_R4K
@@ -191,6 +180,7 @@ config LASAT
191 180
192config MACH_LOONGSON 181config MACH_LOONGSON
193 bool "Loongson family of machines" 182 bool "Loongson family of machines"
183 select SYS_SUPPORTS_ZBOOT_UART16550
194 help 184 help
195 This enables the support of Loongson family of machines. 185 This enables the support of Loongson family of machines.
196 186
@@ -232,6 +222,7 @@ config MIPS_MALTA
232 select SYS_SUPPORTS_MIPS_CMP 222 select SYS_SUPPORTS_MIPS_CMP
233 select SYS_SUPPORTS_MULTITHREADING 223 select SYS_SUPPORTS_MULTITHREADING
234 select SYS_SUPPORTS_SMARTMIPS 224 select SYS_SUPPORTS_SMARTMIPS
225 select SYS_SUPPORTS_ZBOOT
235 help 226 help
236 This enables support for the MIPS Technologies Malta evaluation 227 This enables support for the MIPS Technologies Malta evaluation
237 board. 228 board.
@@ -333,6 +324,24 @@ config PMC_YOSEMITE
333 Yosemite is an evaluation board for the RM9000x2 processor 324 Yosemite is an evaluation board for the RM9000x2 processor
334 manufactured by PMC-Sierra. 325 manufactured by PMC-Sierra.
335 326
327config POWERTV
328 bool "Cisco PowerTV"
329 select BOOT_ELF32
330 select CEVT_R4K
331 select CPU_MIPSR2_IRQ_VI
332 select CPU_MIPSR2_IRQ_EI
333 select CSRC_POWERTV
334 select DMA_NONCOHERENT
335 select HW_HAS_PCI
336 select SYS_HAS_EARLY_PRINTK
337 select SYS_HAS_CPU_MIPS32_R2
338 select SYS_SUPPORTS_32BIT_KERNEL
339 select SYS_SUPPORTS_BIG_ENDIAN
340 select SYS_SUPPORTS_HIGHMEM
341 select USB_OHCI_LITTLE_ENDIAN
342 help
343 This enables support for the Cisco PowerTV Platform.
344
336config SGI_IP22 345config SGI_IP22
337 bool "SGI IP22 (Indy/Indigo2)" 346 bool "SGI IP22 (Indy/Indigo2)"
338 select ARC 347 select ARC
@@ -357,7 +366,14 @@ config SGI_IP22
357 select SWAP_IO_SPACE 366 select SWAP_IO_SPACE
358 select SYS_HAS_CPU_R4X00 367 select SYS_HAS_CPU_R4X00
359 select SYS_HAS_CPU_R5000 368 select SYS_HAS_CPU_R5000
360 select SYS_HAS_EARLY_PRINTK 369 #
370 # Disable EARLY_PRINTK for now since it leads to overwritten prom
371 # memory during early boot on some machines.
372 #
373 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
374 # for a more details discussion
375 #
376 # select SYS_HAS_EARLY_PRINTK
361 select SYS_SUPPORTS_32BIT_KERNEL 377 select SYS_SUPPORTS_32BIT_KERNEL
362 select SYS_SUPPORTS_64BIT_KERNEL 378 select SYS_SUPPORTS_64BIT_KERNEL
363 select SYS_SUPPORTS_BIG_ENDIAN 379 select SYS_SUPPORTS_BIG_ENDIAN
@@ -409,7 +425,14 @@ config SGI_IP28
409 select SGI_HAS_ZILOG 425 select SGI_HAS_ZILOG
410 select SWAP_IO_SPACE 426 select SWAP_IO_SPACE
411 select SYS_HAS_CPU_R10000 427 select SYS_HAS_CPU_R10000
412 select SYS_HAS_EARLY_PRINTK 428 #
429 # Disable EARLY_PRINTK for now since it leads to overwritten prom
430 # memory during early boot on some machines.
431 #
432 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
433 # for a more details discussion
434 #
435 # select SYS_HAS_EARLY_PRINTK
413 select SYS_SUPPORTS_64BIT_KERNEL 436 select SYS_SUPPORTS_64BIT_KERNEL
414 select SYS_SUPPORTS_BIG_ENDIAN 437 select SYS_SUPPORTS_BIG_ENDIAN
415 help 438 help
@@ -659,11 +682,11 @@ config CAVIUM_OCTEON_REFERENCE_BOARD
659endchoice 682endchoice
660 683
661source "arch/mips/alchemy/Kconfig" 684source "arch/mips/alchemy/Kconfig"
662source "arch/mips/basler/excite/Kconfig"
663source "arch/mips/bcm63xx/Kconfig" 685source "arch/mips/bcm63xx/Kconfig"
664source "arch/mips/jazz/Kconfig" 686source "arch/mips/jazz/Kconfig"
665source "arch/mips/lasat/Kconfig" 687source "arch/mips/lasat/Kconfig"
666source "arch/mips/pmc-sierra/Kconfig" 688source "arch/mips/pmc-sierra/Kconfig"
689source "arch/mips/powertv/Kconfig"
667source "arch/mips/sgi-ip27/Kconfig" 690source "arch/mips/sgi-ip27/Kconfig"
668source "arch/mips/sibyte/Kconfig" 691source "arch/mips/sibyte/Kconfig"
669source "arch/mips/txx9/Kconfig" 692source "arch/mips/txx9/Kconfig"
@@ -763,6 +786,9 @@ config CSRC_BCM1480
763config CSRC_IOASIC 786config CSRC_IOASIC
764 bool 787 bool
765 788
789config CSRC_POWERTV
790 bool
791
766config CSRC_R4K_LIB 792config CSRC_R4K_LIB
767 bool 793 bool
768 794
@@ -791,20 +817,6 @@ config DMA_NONCOHERENT
791config DMA_NEED_PCI_MAP_STATE 817config DMA_NEED_PCI_MAP_STATE
792 bool 818 bool
793 819
794config EARLY_PRINTK
795 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
796 depends on SYS_HAS_EARLY_PRINTK
797 default y
798 help
799 This option enables special console drivers which allow the kernel
800 to print messages very early in the bootup process.
801
802 This is useful for kernel debugging when your machine crashes very
803 early before the console code is initialized. For normal operation,
804 it is not recommended because it looks ugly on some machines and
805 doesn't cooperate with an X server. You should normally say N here,
806 unless you want to debug such a crash.
807
808config SYS_HAS_EARLY_PRINTK 820config SYS_HAS_EARLY_PRINTK
809 bool 821 bool
810 822
@@ -1012,9 +1024,9 @@ config BOOT_ELF32
1012 1024
1013config MIPS_L1_CACHE_SHIFT 1025config MIPS_L1_CACHE_SHIFT
1014 int 1026 int
1015 default "4" if MACH_DECSTATION || MIKROTIK_RB532 1027 default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
1028 default "6" if MIPS_CPU_SCACHE
1016 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON 1029 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
1017 default "4" if PMC_MSP4200_EVAL
1018 default "5" 1030 default "5"
1019 1031
1020config HAVE_STD_PC_SERIAL_PORT 1032config HAVE_STD_PC_SERIAL_PORT
@@ -1054,6 +1066,21 @@ config CPU_LOONGSON2E
1054 The Loongson 2E processor implements the MIPS III instruction set 1066 The Loongson 2E processor implements the MIPS III instruction set
1055 with many extensions. 1067 with many extensions.
1056 1068
1069 It has an internal FPGA northbridge, which is compatiable to
1070 bonito64.
1071
1072config CPU_LOONGSON2F
1073 bool "Loongson 2F"
1074 depends on SYS_HAS_CPU_LOONGSON2F
1075 select CPU_LOONGSON2
1076 help
1077 The Loongson 2F processor implements the MIPS III instruction set
1078 with many extensions.
1079
1080 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
1081 have a similar programming interface with FPGA northbridge used in
1082 Loongson2E.
1083
1057config CPU_MIPS32_R1 1084config CPU_MIPS32_R1
1058 bool "MIPS32 Release 1" 1085 bool "MIPS32 Release 1"
1059 depends on SYS_HAS_CPU_MIPS32_R1 1086 depends on SYS_HAS_CPU_MIPS32_R1
@@ -1279,6 +1306,17 @@ config CPU_CAVIUM_OCTEON
1279 1306
1280endchoice 1307endchoice
1281 1308
1309config SYS_SUPPORTS_ZBOOT
1310 bool
1311 select HAVE_KERNEL_GZIP
1312 select HAVE_KERNEL_BZIP2
1313 select HAVE_KERNEL_LZMA
1314 select HAVE_KERNEL_LZO
1315
1316config SYS_SUPPORTS_ZBOOT_UART16550
1317 bool
1318 select SYS_SUPPORTS_ZBOOT
1319
1282config CPU_LOONGSON2 1320config CPU_LOONGSON2
1283 bool 1321 bool
1284 select CPU_SUPPORTS_32BIT_KERNEL 1322 select CPU_SUPPORTS_32BIT_KERNEL
@@ -1288,6 +1326,12 @@ config CPU_LOONGSON2
1288config SYS_HAS_CPU_LOONGSON2E 1326config SYS_HAS_CPU_LOONGSON2E
1289 bool 1327 bool
1290 1328
1329config SYS_HAS_CPU_LOONGSON2F
1330 bool
1331 select CPU_SUPPORTS_CPUFREQ
1332 select CPU_SUPPORTS_ADDRWINCFG if 64BIT
1333 select CPU_SUPPORTS_UNCACHED_ACCELERATED
1334
1291config SYS_HAS_CPU_MIPS32_R1 1335config SYS_HAS_CPU_MIPS32_R1
1292 bool 1336 bool
1293 1337
@@ -1396,8 +1440,17 @@ config CPU_SUPPORTS_32BIT_KERNEL
1396 bool 1440 bool
1397config CPU_SUPPORTS_64BIT_KERNEL 1441config CPU_SUPPORTS_64BIT_KERNEL
1398 bool 1442 bool
1443config CPU_SUPPORTS_CPUFREQ
1444 bool
1445config CPU_SUPPORTS_ADDRWINCFG
1446 bool
1399config CPU_SUPPORTS_HUGEPAGES 1447config CPU_SUPPORTS_HUGEPAGES
1400 bool 1448 bool
1449config CPU_SUPPORTS_UNCACHED_ACCELERATED
1450 bool
1451config MIPS_PGD_C0_CONTEXT
1452 bool
1453 default y if 64BIT && CPU_MIPSR2
1401 1454
1402# 1455#
1403# Set to y for ptrace access to watch registers. 1456# Set to y for ptrace access to watch registers.
@@ -1438,6 +1491,7 @@ choice
1438 1491
1439config PAGE_SIZE_4KB 1492config PAGE_SIZE_4KB
1440 bool "4kB" 1493 bool "4kB"
1494 depends on !CPU_LOONGSON2
1441 help 1495 help
1442 This option select the standard 4kB Linux page size. On some 1496 This option select the standard 4kB Linux page size. On some
1443 R3000-family processors this is the only available page size. Using 1497 R3000-family processors this is the only available page size. Using
@@ -1762,7 +1816,7 @@ config SYS_SUPPORTS_SMARTMIPS
1762 1816
1763config ARCH_FLATMEM_ENABLE 1817config ARCH_FLATMEM_ENABLE
1764 def_bool y 1818 def_bool y
1765 depends on !NUMA 1819 depends on !NUMA && !CPU_LOONGSON2
1766 1820
1767config ARCH_DISCONTIGMEM_ENABLE 1821config ARCH_DISCONTIGMEM_ENABLE
1768 bool 1822 bool
@@ -2008,15 +2062,6 @@ config STACKTRACE_SUPPORT
2008 2062
2009source "init/Kconfig" 2063source "init/Kconfig"
2010 2064
2011config PROBE_INITRD_HEADER
2012 bool "Probe initrd header created by addinitrd"
2013 depends on BLK_DEV_INITRD
2014 help
2015 Probe initrd header at the last page of kernel image.
2016 Say Y here if you are using arch/mips/boot/addinitrd.c to
2017 add initrd or initramfs image to the kernel image.
2018 Otherwise, say N.
2019
2020source "kernel/Kconfig.freezer" 2065source "kernel/Kconfig.freezer"
2021 2066
2022menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" 2067menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
@@ -2088,6 +2133,7 @@ config MMU
2088 2133
2089config I8253 2134config I8253
2090 bool 2135 bool
2136 select MIPS_EXTERNAL_TIMER
2091 2137
2092config ZONE_DMA32 2138config ZONE_DMA32
2093 bool 2139 bool
@@ -2164,6 +2210,8 @@ source "kernel/power/Kconfig"
2164 2210
2165endmenu 2211endmenu
2166 2212
2213source "arch/mips/kernel/cpufreq/Kconfig"
2214
2167source "net/Kconfig" 2215source "net/Kconfig"
2168 2216
2169source "drivers/Kconfig" 2217source "drivers/Kconfig"