diff options
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 161 |
1 files changed, 112 insertions, 49 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index fd7620f025fa..7e6fd1cbd3f8 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -5,9 +5,12 @@ config MIPS | |||
5 | select HAVE_IDE | 5 | select HAVE_IDE |
6 | select HAVE_OPROFILE | 6 | select HAVE_OPROFILE |
7 | select HAVE_ARCH_KGDB | 7 | select HAVE_ARCH_KGDB |
8 | # Horrible source of confusion. Die, die, die ... | 8 | select HAVE_FUNCTION_TRACER |
9 | select EMBEDDED | 9 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST |
10 | 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 | ||
11 | 14 | ||
12 | mainmenu "Linux/MIPS Kernel Configuration" | 15 | mainmenu "Linux/MIPS Kernel Configuration" |
13 | 16 | ||
@@ -22,6 +25,7 @@ choice | |||
22 | 25 | ||
23 | config MACH_ALCHEMY | 26 | config MACH_ALCHEMY |
24 | bool "Alchemy processor based machines" | 27 | bool "Alchemy processor based machines" |
28 | select SYS_SUPPORTS_ZBOOT | ||
25 | 29 | ||
26 | config AR7 | 30 | config AR7 |
27 | bool "Texas Instruments AR7" | 31 | bool "Texas Instruments AR7" |
@@ -36,32 +40,16 @@ config AR7 | |||
36 | select SYS_HAS_EARLY_PRINTK | 40 | select SYS_HAS_EARLY_PRINTK |
37 | select SYS_SUPPORTS_32BIT_KERNEL | 41 | select SYS_SUPPORTS_32BIT_KERNEL |
38 | select SYS_SUPPORTS_LITTLE_ENDIAN | 42 | select SYS_SUPPORTS_LITTLE_ENDIAN |
39 | select GENERIC_GPIO | 43 | select SYS_SUPPORTS_ZBOOT_UART16550 |
44 | select ARCH_REQUIRE_GPIOLIB | ||
40 | select GCD | 45 | select GCD |
41 | select VLYNQ | 46 | select VLYNQ |
42 | help | 47 | help |
43 | Support for the Texas Instruments AR7 System-on-a-Chip | 48 | Support for the Texas Instruments AR7 System-on-a-Chip |
44 | family: TNETD7100, 7200 and 7300. | 49 | family: TNETD7100, 7200 and 7300. |
45 | 50 | ||
46 | config BASLER_EXCITE | ||
47 | bool "Basler eXcite smart camera" | ||
48 | select CEVT_R4K | ||
49 | select CSRC_R4K | ||
50 | select DMA_COHERENT | ||
51 | select HW_HAS_PCI | ||
52 | select IRQ_CPU | ||
53 | select IRQ_CPU_RM7K | ||
54 | select IRQ_CPU_RM9K | ||
55 | select MIPS_RM9122 | ||
56 | select SYS_HAS_CPU_RM9000 | ||
57 | select SYS_SUPPORTS_32BIT_KERNEL | ||
58 | select SYS_SUPPORTS_BIG_ENDIAN | ||
59 | help | ||
60 | The eXcite is a smart camera platform manufactured by | ||
61 | Basler Vision Technologies AG. | ||
62 | |||
63 | config BCM47XX | 51 | config BCM47XX |
64 | bool "BCM47XX based boards" | 52 | bool "Broadcom BCM47XX based boards" |
65 | select CEVT_R4K | 53 | select CEVT_R4K |
66 | select CSRC_R4K | 54 | select CSRC_R4K |
67 | select DMA_NONCOHERENT | 55 | select DMA_NONCOHERENT |
@@ -192,6 +180,7 @@ config LASAT | |||
192 | 180 | ||
193 | config MACH_LOONGSON | 181 | config MACH_LOONGSON |
194 | bool "Loongson family of machines" | 182 | bool "Loongson family of machines" |
183 | select SYS_SUPPORTS_ZBOOT | ||
195 | help | 184 | help |
196 | This enables the support of Loongson family of machines. | 185 | This enables the support of Loongson family of machines. |
197 | 186 | ||
@@ -233,6 +222,7 @@ config MIPS_MALTA | |||
233 | select SYS_SUPPORTS_MIPS_CMP | 222 | select SYS_SUPPORTS_MIPS_CMP |
234 | select SYS_SUPPORTS_MULTITHREADING | 223 | select SYS_SUPPORTS_MULTITHREADING |
235 | select SYS_SUPPORTS_SMARTMIPS | 224 | select SYS_SUPPORTS_SMARTMIPS |
225 | select SYS_SUPPORTS_ZBOOT | ||
236 | help | 226 | help |
237 | This enables support for the MIPS Technologies Malta evaluation | 227 | This enables support for the MIPS Technologies Malta evaluation |
238 | board. | 228 | board. |
@@ -334,6 +324,24 @@ config PMC_YOSEMITE | |||
334 | Yosemite is an evaluation board for the RM9000x2 processor | 324 | Yosemite is an evaluation board for the RM9000x2 processor |
335 | manufactured by PMC-Sierra. | 325 | manufactured by PMC-Sierra. |
336 | 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 | |||
337 | config SGI_IP22 | 345 | config SGI_IP22 |
338 | bool "SGI IP22 (Indy/Indigo2)" | 346 | bool "SGI IP22 (Indy/Indigo2)" |
339 | select ARC | 347 | select ARC |
@@ -501,6 +509,7 @@ config SIBYTE_SWARM | |||
501 | bool "Sibyte BCM91250A-SWARM" | 509 | bool "Sibyte BCM91250A-SWARM" |
502 | select BOOT_ELF32 | 510 | select BOOT_ELF32 |
503 | select DMA_COHERENT | 511 | select DMA_COHERENT |
512 | select HAVE_PATA_PLATFORM | ||
504 | select NR_CPUS_DEFAULT_2 | 513 | select NR_CPUS_DEFAULT_2 |
505 | select SIBYTE_SB1250 | 514 | select SIBYTE_SB1250 |
506 | select SWAP_IO_SPACE | 515 | select SWAP_IO_SPACE |
@@ -515,6 +524,7 @@ config SIBYTE_LITTLESUR | |||
515 | depends on EXPERIMENTAL | 524 | depends on EXPERIMENTAL |
516 | select BOOT_ELF32 | 525 | select BOOT_ELF32 |
517 | select DMA_COHERENT | 526 | select DMA_COHERENT |
527 | select HAVE_PATA_PLATFORM | ||
518 | select NR_CPUS_DEFAULT_2 | 528 | select NR_CPUS_DEFAULT_2 |
519 | select SIBYTE_SB1250 | 529 | select SIBYTE_SB1250 |
520 | select SWAP_IO_SPACE | 530 | select SWAP_IO_SPACE |
@@ -674,11 +684,11 @@ config CAVIUM_OCTEON_REFERENCE_BOARD | |||
674 | endchoice | 684 | endchoice |
675 | 685 | ||
676 | source "arch/mips/alchemy/Kconfig" | 686 | source "arch/mips/alchemy/Kconfig" |
677 | source "arch/mips/basler/excite/Kconfig" | ||
678 | source "arch/mips/bcm63xx/Kconfig" | 687 | source "arch/mips/bcm63xx/Kconfig" |
679 | source "arch/mips/jazz/Kconfig" | 688 | source "arch/mips/jazz/Kconfig" |
680 | source "arch/mips/lasat/Kconfig" | 689 | source "arch/mips/lasat/Kconfig" |
681 | source "arch/mips/pmc-sierra/Kconfig" | 690 | source "arch/mips/pmc-sierra/Kconfig" |
691 | source "arch/mips/powertv/Kconfig" | ||
682 | source "arch/mips/sgi-ip27/Kconfig" | 692 | source "arch/mips/sgi-ip27/Kconfig" |
683 | source "arch/mips/sibyte/Kconfig" | 693 | source "arch/mips/sibyte/Kconfig" |
684 | source "arch/mips/txx9/Kconfig" | 694 | source "arch/mips/txx9/Kconfig" |
@@ -778,6 +788,9 @@ config CSRC_BCM1480 | |||
778 | config CSRC_IOASIC | 788 | config CSRC_IOASIC |
779 | bool | 789 | bool |
780 | 790 | ||
791 | config CSRC_POWERTV | ||
792 | bool | ||
793 | |||
781 | config CSRC_R4K_LIB | 794 | config CSRC_R4K_LIB |
782 | bool | 795 | bool |
783 | 796 | ||
@@ -801,25 +814,11 @@ config DMA_COHERENT | |||
801 | 814 | ||
802 | config DMA_NONCOHERENT | 815 | config DMA_NONCOHERENT |
803 | bool | 816 | bool |
804 | select DMA_NEED_PCI_MAP_STATE | 817 | select NEED_DMA_MAP_STATE |
805 | 818 | ||
806 | config DMA_NEED_PCI_MAP_STATE | 819 | config NEED_DMA_MAP_STATE |
807 | bool | 820 | bool |
808 | 821 | ||
809 | config EARLY_PRINTK | ||
810 | bool "Early printk" if EMBEDDED && DEBUG_KERNEL | ||
811 | depends on SYS_HAS_EARLY_PRINTK | ||
812 | default y | ||
813 | help | ||
814 | This option enables special console drivers which allow the kernel | ||
815 | to print messages very early in the bootup process. | ||
816 | |||
817 | This is useful for kernel debugging when your machine crashes very | ||
818 | early before the console code is initialized. For normal operation, | ||
819 | it is not recommended because it looks ugly on some machines and | ||
820 | doesn't cooperate with an X server. You should normally say N here, | ||
821 | unless you want to debug such a crash. | ||
822 | |||
823 | config SYS_HAS_EARLY_PRINTK | 822 | config SYS_HAS_EARLY_PRINTK |
824 | bool | 823 | bool |
825 | 824 | ||
@@ -1069,6 +1068,21 @@ config CPU_LOONGSON2E | |||
1069 | The Loongson 2E processor implements the MIPS III instruction set | 1068 | The Loongson 2E processor implements the MIPS III instruction set |
1070 | with many extensions. | 1069 | with many extensions. |
1071 | 1070 | ||
1071 | It has an internal FPGA northbridge, which is compatiable to | ||
1072 | bonito64. | ||
1073 | |||
1074 | config CPU_LOONGSON2F | ||
1075 | bool "Loongson 2F" | ||
1076 | depends on SYS_HAS_CPU_LOONGSON2F | ||
1077 | select CPU_LOONGSON2 | ||
1078 | help | ||
1079 | The Loongson 2F processor implements the MIPS III instruction set | ||
1080 | with many extensions. | ||
1081 | |||
1082 | Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller | ||
1083 | have a similar programming interface with FPGA northbridge used in | ||
1084 | Loongson2E. | ||
1085 | |||
1072 | config CPU_MIPS32_R1 | 1086 | config CPU_MIPS32_R1 |
1073 | bool "MIPS32 Release 1" | 1087 | bool "MIPS32 Release 1" |
1074 | depends on SYS_HAS_CPU_MIPS32_R1 | 1088 | depends on SYS_HAS_CPU_MIPS32_R1 |
@@ -1283,7 +1297,6 @@ config CPU_CAVIUM_OCTEON | |||
1283 | select SYS_SUPPORTS_SMP | 1297 | select SYS_SUPPORTS_SMP |
1284 | select NR_CPUS_DEFAULT_16 | 1298 | select NR_CPUS_DEFAULT_16 |
1285 | select WEAK_ORDERING | 1299 | select WEAK_ORDERING |
1286 | select WEAK_REORDERING_BEYOND_LLSC | ||
1287 | select CPU_SUPPORTS_HIGHMEM | 1300 | select CPU_SUPPORTS_HIGHMEM |
1288 | select CPU_SUPPORTS_HUGEPAGES | 1301 | select CPU_SUPPORTS_HUGEPAGES |
1289 | help | 1302 | help |
@@ -1294,6 +1307,44 @@ config CPU_CAVIUM_OCTEON | |||
1294 | 1307 | ||
1295 | endchoice | 1308 | endchoice |
1296 | 1309 | ||
1310 | if CPU_LOONGSON2F | ||
1311 | config CPU_NOP_WORKAROUNDS | ||
1312 | bool | ||
1313 | |||
1314 | config CPU_JUMP_WORKAROUNDS | ||
1315 | bool | ||
1316 | |||
1317 | config CPU_LOONGSON2F_WORKAROUNDS | ||
1318 | bool "Loongson 2F Workarounds" | ||
1319 | default y | ||
1320 | select CPU_NOP_WORKAROUNDS | ||
1321 | select CPU_JUMP_WORKAROUNDS | ||
1322 | help | ||
1323 | Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which | ||
1324 | require workarounds. Without workarounds the system may hang | ||
1325 | unexpectedly. For more information please refer to the gas | ||
1326 | -mfix-loongson2f-nop and -mfix-loongson2f-jump options. | ||
1327 | |||
1328 | Loongson 2F03 and later have fixed these issues and no workarounds | ||
1329 | are needed. The workarounds have no significant side effect on them | ||
1330 | but may decrease the performance of the system so this option should | ||
1331 | be disabled unless the kernel is intended to be run on 2F01 or 2F02 | ||
1332 | systems. | ||
1333 | |||
1334 | If unsure, please say Y. | ||
1335 | endif # CPU_LOONGSON2F | ||
1336 | |||
1337 | config SYS_SUPPORTS_ZBOOT | ||
1338 | bool | ||
1339 | select HAVE_KERNEL_GZIP | ||
1340 | select HAVE_KERNEL_BZIP2 | ||
1341 | select HAVE_KERNEL_LZMA | ||
1342 | select HAVE_KERNEL_LZO | ||
1343 | |||
1344 | config SYS_SUPPORTS_ZBOOT_UART16550 | ||
1345 | bool | ||
1346 | select SYS_SUPPORTS_ZBOOT | ||
1347 | |||
1297 | config CPU_LOONGSON2 | 1348 | config CPU_LOONGSON2 |
1298 | bool | 1349 | bool |
1299 | select CPU_SUPPORTS_32BIT_KERNEL | 1350 | select CPU_SUPPORTS_32BIT_KERNEL |
@@ -1303,6 +1354,12 @@ config CPU_LOONGSON2 | |||
1303 | config SYS_HAS_CPU_LOONGSON2E | 1354 | config SYS_HAS_CPU_LOONGSON2E |
1304 | bool | 1355 | bool |
1305 | 1356 | ||
1357 | config SYS_HAS_CPU_LOONGSON2F | ||
1358 | bool | ||
1359 | select CPU_SUPPORTS_CPUFREQ | ||
1360 | select CPU_SUPPORTS_ADDRWINCFG if 64BIT | ||
1361 | select CPU_SUPPORTS_UNCACHED_ACCELERATED | ||
1362 | |||
1306 | config SYS_HAS_CPU_MIPS32_R1 | 1363 | config SYS_HAS_CPU_MIPS32_R1 |
1307 | bool | 1364 | bool |
1308 | 1365 | ||
@@ -1411,8 +1468,17 @@ config CPU_SUPPORTS_32BIT_KERNEL | |||
1411 | bool | 1468 | bool |
1412 | config CPU_SUPPORTS_64BIT_KERNEL | 1469 | config CPU_SUPPORTS_64BIT_KERNEL |
1413 | bool | 1470 | bool |
1471 | config CPU_SUPPORTS_CPUFREQ | ||
1472 | bool | ||
1473 | config CPU_SUPPORTS_ADDRWINCFG | ||
1474 | bool | ||
1414 | config CPU_SUPPORTS_HUGEPAGES | 1475 | config CPU_SUPPORTS_HUGEPAGES |
1415 | bool | 1476 | bool |
1477 | config CPU_SUPPORTS_UNCACHED_ACCELERATED | ||
1478 | bool | ||
1479 | config MIPS_PGD_C0_CONTEXT | ||
1480 | bool | ||
1481 | default y if 64BIT && CPU_MIPSR2 | ||
1416 | 1482 | ||
1417 | # | 1483 | # |
1418 | # Set to y for ptrace access to watch registers. | 1484 | # Set to y for ptrace access to watch registers. |
@@ -1688,6 +1754,9 @@ config SB1_PASS_2_1_WORKAROUNDS | |||
1688 | config 64BIT_PHYS_ADDR | 1754 | config 64BIT_PHYS_ADDR |
1689 | bool | 1755 | bool |
1690 | 1756 | ||
1757 | config ARCH_PHYS_ADDR_T_64BIT | ||
1758 | def_bool 64BIT_PHYS_ADDR | ||
1759 | |||
1691 | config CPU_HAS_SMARTMIPS | 1760 | config CPU_HAS_SMARTMIPS |
1692 | depends on SYS_SUPPORTS_SMARTMIPS | 1761 | depends on SYS_SUPPORTS_SMARTMIPS |
1693 | bool "Support for the SmartMIPS ASE" | 1762 | bool "Support for the SmartMIPS ASE" |
@@ -2024,15 +2093,6 @@ config STACKTRACE_SUPPORT | |||
2024 | 2093 | ||
2025 | source "init/Kconfig" | 2094 | source "init/Kconfig" |
2026 | 2095 | ||
2027 | config PROBE_INITRD_HEADER | ||
2028 | bool "Probe initrd header created by addinitrd" | ||
2029 | depends on BLK_DEV_INITRD | ||
2030 | help | ||
2031 | Probe initrd header at the last page of kernel image. | ||
2032 | Say Y here if you are using arch/mips/boot/addinitrd.c to | ||
2033 | add initrd or initramfs image to the kernel image. | ||
2034 | Otherwise, say N. | ||
2035 | |||
2036 | source "kernel/Kconfig.freezer" | 2096 | source "kernel/Kconfig.freezer" |
2037 | 2097 | ||
2038 | menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" | 2098 | menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" |
@@ -2104,6 +2164,7 @@ config MMU | |||
2104 | 2164 | ||
2105 | config I8253 | 2165 | config I8253 |
2106 | bool | 2166 | bool |
2167 | select MIPS_EXTERNAL_TIMER | ||
2107 | 2168 | ||
2108 | config ZONE_DMA32 | 2169 | config ZONE_DMA32 |
2109 | bool | 2170 | bool |
@@ -2180,6 +2241,8 @@ source "kernel/power/Kconfig" | |||
2180 | 2241 | ||
2181 | endmenu | 2242 | endmenu |
2182 | 2243 | ||
2244 | source "arch/mips/kernel/cpufreq/Kconfig" | ||
2245 | |||
2183 | source "net/Kconfig" | 2246 | source "net/Kconfig" |
2184 | 2247 | ||
2185 | source "drivers/Kconfig" | 2248 | source "drivers/Kconfig" |