diff options
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 146 |
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 @@ | |||
1 | config MIPS | 1 | config 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 | ||
11 | mainmenu "Linux/MIPS Kernel Configuration" | 15 | mainmenu "Linux/MIPS Kernel Configuration" |
12 | 16 | ||
@@ -21,6 +25,7 @@ choice | |||
21 | 25 | ||
22 | config MACH_ALCHEMY | 26 | config MACH_ALCHEMY |
23 | bool "Alchemy processor based machines" | 27 | bool "Alchemy processor based machines" |
28 | select SYS_SUPPORTS_ZBOOT | ||
24 | 29 | ||
25 | config AR7 | 30 | config 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 | ||
45 | config 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 | |||
62 | config BCM47XX | 51 | config 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 | ||
192 | config MACH_LOONGSON | 181 | config 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 | ||
327 | config 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 | |||
336 | config SGI_IP22 | 345 | config 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 | |||
659 | endchoice | 682 | endchoice |
660 | 683 | ||
661 | source "arch/mips/alchemy/Kconfig" | 684 | source "arch/mips/alchemy/Kconfig" |
662 | source "arch/mips/basler/excite/Kconfig" | ||
663 | source "arch/mips/bcm63xx/Kconfig" | 685 | source "arch/mips/bcm63xx/Kconfig" |
664 | source "arch/mips/jazz/Kconfig" | 686 | source "arch/mips/jazz/Kconfig" |
665 | source "arch/mips/lasat/Kconfig" | 687 | source "arch/mips/lasat/Kconfig" |
666 | source "arch/mips/pmc-sierra/Kconfig" | 688 | source "arch/mips/pmc-sierra/Kconfig" |
689 | source "arch/mips/powertv/Kconfig" | ||
667 | source "arch/mips/sgi-ip27/Kconfig" | 690 | source "arch/mips/sgi-ip27/Kconfig" |
668 | source "arch/mips/sibyte/Kconfig" | 691 | source "arch/mips/sibyte/Kconfig" |
669 | source "arch/mips/txx9/Kconfig" | 692 | source "arch/mips/txx9/Kconfig" |
@@ -763,6 +786,9 @@ config CSRC_BCM1480 | |||
763 | config CSRC_IOASIC | 786 | config CSRC_IOASIC |
764 | bool | 787 | bool |
765 | 788 | ||
789 | config CSRC_POWERTV | ||
790 | bool | ||
791 | |||
766 | config CSRC_R4K_LIB | 792 | config CSRC_R4K_LIB |
767 | bool | 793 | bool |
768 | 794 | ||
@@ -791,20 +817,6 @@ config DMA_NONCOHERENT | |||
791 | config DMA_NEED_PCI_MAP_STATE | 817 | config DMA_NEED_PCI_MAP_STATE |
792 | bool | 818 | bool |
793 | 819 | ||
794 | config 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 | |||
808 | config SYS_HAS_EARLY_PRINTK | 820 | config SYS_HAS_EARLY_PRINTK |
809 | bool | 821 | bool |
810 | 822 | ||
@@ -1012,9 +1024,9 @@ config BOOT_ELF32 | |||
1012 | 1024 | ||
1013 | config MIPS_L1_CACHE_SHIFT | 1025 | config 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 | ||
1020 | config HAVE_STD_PC_SERIAL_PORT | 1032 | config 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 | |||
1072 | config 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 | |||
1057 | config CPU_MIPS32_R1 | 1084 | config 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 | ||
1280 | endchoice | 1307 | endchoice |
1281 | 1308 | ||
1309 | config 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 | |||
1316 | config SYS_SUPPORTS_ZBOOT_UART16550 | ||
1317 | bool | ||
1318 | select SYS_SUPPORTS_ZBOOT | ||
1319 | |||
1282 | config CPU_LOONGSON2 | 1320 | config 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 | |||
1288 | config SYS_HAS_CPU_LOONGSON2E | 1326 | config SYS_HAS_CPU_LOONGSON2E |
1289 | bool | 1327 | bool |
1290 | 1328 | ||
1329 | config 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 | |||
1291 | config SYS_HAS_CPU_MIPS32_R1 | 1335 | config SYS_HAS_CPU_MIPS32_R1 |
1292 | bool | 1336 | bool |
1293 | 1337 | ||
@@ -1396,8 +1440,17 @@ config CPU_SUPPORTS_32BIT_KERNEL | |||
1396 | bool | 1440 | bool |
1397 | config CPU_SUPPORTS_64BIT_KERNEL | 1441 | config CPU_SUPPORTS_64BIT_KERNEL |
1398 | bool | 1442 | bool |
1443 | config CPU_SUPPORTS_CPUFREQ | ||
1444 | bool | ||
1445 | config CPU_SUPPORTS_ADDRWINCFG | ||
1446 | bool | ||
1399 | config CPU_SUPPORTS_HUGEPAGES | 1447 | config CPU_SUPPORTS_HUGEPAGES |
1400 | bool | 1448 | bool |
1449 | config CPU_SUPPORTS_UNCACHED_ACCELERATED | ||
1450 | bool | ||
1451 | config 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 | ||
1439 | config PAGE_SIZE_4KB | 1492 | config 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 | ||
1763 | config ARCH_FLATMEM_ENABLE | 1817 | config ARCH_FLATMEM_ENABLE |
1764 | def_bool y | 1818 | def_bool y |
1765 | depends on !NUMA | 1819 | depends on !NUMA && !CPU_LOONGSON2 |
1766 | 1820 | ||
1767 | config ARCH_DISCONTIGMEM_ENABLE | 1821 | config ARCH_DISCONTIGMEM_ENABLE |
1768 | bool | 1822 | bool |
@@ -2008,15 +2062,6 @@ config STACKTRACE_SUPPORT | |||
2008 | 2062 | ||
2009 | source "init/Kconfig" | 2063 | source "init/Kconfig" |
2010 | 2064 | ||
2011 | config 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 | |||
2020 | source "kernel/Kconfig.freezer" | 2065 | source "kernel/Kconfig.freezer" |
2021 | 2066 | ||
2022 | menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" | 2067 | menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" |
@@ -2088,6 +2133,7 @@ config MMU | |||
2088 | 2133 | ||
2089 | config I8253 | 2134 | config I8253 |
2090 | bool | 2135 | bool |
2136 | select MIPS_EXTERNAL_TIMER | ||
2091 | 2137 | ||
2092 | config ZONE_DMA32 | 2138 | config ZONE_DMA32 |
2093 | bool | 2139 | bool |
@@ -2164,6 +2210,8 @@ source "kernel/power/Kconfig" | |||
2164 | 2210 | ||
2165 | endmenu | 2211 | endmenu |
2166 | 2212 | ||
2213 | source "arch/mips/kernel/cpufreq/Kconfig" | ||
2214 | |||
2167 | source "net/Kconfig" | 2215 | source "net/Kconfig" |
2168 | 2216 | ||
2169 | source "drivers/Kconfig" | 2217 | source "drivers/Kconfig" |