aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig92
1 files changed, 78 insertions, 14 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 1443024b1c7c..fd2ff0698a85 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -16,6 +16,7 @@ config MIPS_MTX1
16 bool "4G Systems MTX-1 board" 16 bool "4G Systems MTX-1 board"
17 select DMA_NONCOHERENT 17 select DMA_NONCOHERENT
18 select HW_HAS_PCI 18 select HW_HAS_PCI
19 select RESOURCES_64BIT if PCI
19 select SOC_AU1500 20 select SOC_AU1500
20 select SYS_HAS_CPU_MIPS32_R1 21 select SYS_HAS_CPU_MIPS32_R1
21 select SYS_SUPPORTS_LITTLE_ENDIAN 22 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -32,6 +33,7 @@ config MIPS_PB1000
32 select SOC_AU1000 33 select SOC_AU1000
33 select DMA_NONCOHERENT 34 select DMA_NONCOHERENT
34 select HW_HAS_PCI 35 select HW_HAS_PCI
36 select RESOURCES_64BIT if PCI
35 select SWAP_IO_SPACE 37 select SWAP_IO_SPACE
36 select SYS_HAS_CPU_MIPS32_R1 38 select SYS_HAS_CPU_MIPS32_R1
37 select SYS_SUPPORTS_LITTLE_ENDIAN 39 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -41,6 +43,7 @@ config MIPS_PB1100
41 select SOC_AU1100 43 select SOC_AU1100
42 select DMA_NONCOHERENT 44 select DMA_NONCOHERENT
43 select HW_HAS_PCI 45 select HW_HAS_PCI
46 select RESOURCES_64BIT if PCI
44 select SWAP_IO_SPACE 47 select SWAP_IO_SPACE
45 select SYS_HAS_CPU_MIPS32_R1 48 select SYS_HAS_CPU_MIPS32_R1
46 select SYS_SUPPORTS_LITTLE_ENDIAN 49 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -50,6 +53,7 @@ config MIPS_PB1500
50 select SOC_AU1500 53 select SOC_AU1500
51 select DMA_NONCOHERENT 54 select DMA_NONCOHERENT
52 select HW_HAS_PCI 55 select HW_HAS_PCI
56 select RESOURCES_64BIT if PCI
53 select SYS_HAS_CPU_MIPS32_R1 57 select SYS_HAS_CPU_MIPS32_R1
54 select SYS_SUPPORTS_LITTLE_ENDIAN 58 select SYS_SUPPORTS_LITTLE_ENDIAN
55 59
@@ -59,6 +63,7 @@ config MIPS_PB1550
59 select DMA_NONCOHERENT 63 select DMA_NONCOHERENT
60 select HW_HAS_PCI 64 select HW_HAS_PCI
61 select MIPS_DISABLE_OBSOLETE_IDE 65 select MIPS_DISABLE_OBSOLETE_IDE
66 select RESOURCES_64BIT if PCI
62 select SYS_HAS_CPU_MIPS32_R1 67 select SYS_HAS_CPU_MIPS32_R1
63 select SYS_SUPPORTS_LITTLE_ENDIAN 68 select SYS_SUPPORTS_LITTLE_ENDIAN
64 69
@@ -67,6 +72,7 @@ config MIPS_PB1200
67 select SOC_AU1200 72 select SOC_AU1200
68 select DMA_NONCOHERENT 73 select DMA_NONCOHERENT
69 select MIPS_DISABLE_OBSOLETE_IDE 74 select MIPS_DISABLE_OBSOLETE_IDE
75 select RESOURCES_64BIT if PCI
70 select SYS_HAS_CPU_MIPS32_R1 76 select SYS_HAS_CPU_MIPS32_R1
71 select SYS_SUPPORTS_LITTLE_ENDIAN 77 select SYS_SUPPORTS_LITTLE_ENDIAN
72 78
@@ -75,6 +81,7 @@ config MIPS_DB1000
75 select SOC_AU1000 81 select SOC_AU1000
76 select DMA_NONCOHERENT 82 select DMA_NONCOHERENT
77 select HW_HAS_PCI 83 select HW_HAS_PCI
84 select RESOURCES_64BIT if PCI
78 select SYS_HAS_CPU_MIPS32_R1 85 select SYS_HAS_CPU_MIPS32_R1
79 select SYS_SUPPORTS_LITTLE_ENDIAN 86 select SYS_SUPPORTS_LITTLE_ENDIAN
80 87
@@ -91,6 +98,7 @@ config MIPS_DB1500
91 select DMA_NONCOHERENT 98 select DMA_NONCOHERENT
92 select HW_HAS_PCI 99 select HW_HAS_PCI
93 select MIPS_DISABLE_OBSOLETE_IDE 100 select MIPS_DISABLE_OBSOLETE_IDE
101 select RESOURCES_64BIT if PCI
94 select SYS_HAS_CPU_MIPS32_R1 102 select SYS_HAS_CPU_MIPS32_R1
95 select SYS_SUPPORTS_BIG_ENDIAN 103 select SYS_SUPPORTS_BIG_ENDIAN
96 select SYS_SUPPORTS_LITTLE_ENDIAN 104 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -101,6 +109,7 @@ config MIPS_DB1550
101 select HW_HAS_PCI 109 select HW_HAS_PCI
102 select DMA_NONCOHERENT 110 select DMA_NONCOHERENT
103 select MIPS_DISABLE_OBSOLETE_IDE 111 select MIPS_DISABLE_OBSOLETE_IDE
112 select RESOURCES_64BIT if PCI
104 select SYS_HAS_CPU_MIPS32_R1 113 select SYS_HAS_CPU_MIPS32_R1
105 select SYS_SUPPORTS_LITTLE_ENDIAN 114 select SYS_SUPPORTS_LITTLE_ENDIAN
106 115
@@ -156,6 +165,7 @@ config MIPS_COBALT
156 select SYS_SUPPORTS_32BIT_KERNEL 165 select SYS_SUPPORTS_32BIT_KERNEL
157 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 166 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
158 select SYS_SUPPORTS_LITTLE_ENDIAN 167 select SYS_SUPPORTS_LITTLE_ENDIAN
168 select GENERIC_HARDIRQS_NO__DO_IRQ
159 169
160config MACH_DECSTATION 170config MACH_DECSTATION
161 bool "DECstations" 171 bool "DECstations"
@@ -216,6 +226,7 @@ config MACH_JAZZ
216 select SYS_SUPPORTS_32BIT_KERNEL 226 select SYS_SUPPORTS_32BIT_KERNEL
217 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 227 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
218 select SYS_SUPPORTS_100HZ 228 select SYS_SUPPORTS_100HZ
229 select GENERIC_HARDIRQS_NO__DO_IRQ
219 help 230 help
220 This a family of machines based on the MIPS R4030 chipset which was 231 This a family of machines based on the MIPS R4030 chipset which was
221 used by several vendors to build RISC/os and Windows NT workstations. 232 used by several vendors to build RISC/os and Windows NT workstations.
@@ -233,6 +244,7 @@ config LASAT
233 select SYS_SUPPORTS_32BIT_KERNEL 244 select SYS_SUPPORTS_32BIT_KERNEL
234 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 245 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
235 select SYS_SUPPORTS_LITTLE_ENDIAN 246 select SYS_SUPPORTS_LITTLE_ENDIAN
247 select GENERIC_HARDIRQS_NO__DO_IRQ
236 248
237config MIPS_ATLAS 249config MIPS_ATLAS
238 bool "MIPS Atlas board" 250 bool "MIPS Atlas board"
@@ -256,6 +268,7 @@ config MIPS_ATLAS
256 select SYS_SUPPORTS_BIG_ENDIAN 268 select SYS_SUPPORTS_BIG_ENDIAN
257 select SYS_SUPPORTS_LITTLE_ENDIAN 269 select SYS_SUPPORTS_LITTLE_ENDIAN
258 select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL 270 select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
271 select GENERIC_HARDIRQS_NO__DO_IRQ
259 help 272 help
260 This enables support for the MIPS Technologies Atlas evaluation 273 This enables support for the MIPS Technologies Atlas evaluation
261 board. 274 board.
@@ -266,8 +279,8 @@ config MIPS_MALTA
266 select BOOT_ELF32 279 select BOOT_ELF32
267 select HAVE_STD_PC_SERIAL_PORT 280 select HAVE_STD_PC_SERIAL_PORT
268 select DMA_NONCOHERENT 281 select DMA_NONCOHERENT
269 select IRQ_CPU
270 select GENERIC_ISA_DMA 282 select GENERIC_ISA_DMA
283 select IRQ_CPU
271 select HW_HAS_PCI 284 select HW_HAS_PCI
272 select I8259 285 select I8259
273 select MIPS_BOARDS_GEN 286 select MIPS_BOARDS_GEN
@@ -410,6 +423,7 @@ config MOMENCO_OCELOT_C
410 select SYS_SUPPORTS_32BIT_KERNEL 423 select SYS_SUPPORTS_32BIT_KERNEL
411 select SYS_SUPPORTS_64BIT_KERNEL 424 select SYS_SUPPORTS_64BIT_KERNEL
412 select SYS_SUPPORTS_BIG_ENDIAN 425 select SYS_SUPPORTS_BIG_ENDIAN
426 select GENERIC_HARDIRQS_NO__DO_IRQ
413 help 427 help
414 The Ocelot is a MIPS-based Single Board Computer (SBC) made by 428 The Ocelot is a MIPS-based Single Board Computer (SBC) made by
415 Momentum Computer <http://www.momenco.com/>. 429 Momentum Computer <http://www.momenco.com/>.
@@ -447,6 +461,11 @@ config PNX8550_JBS
447 select PNX8550 461 select PNX8550
448 select SYS_SUPPORTS_LITTLE_ENDIAN 462 select SYS_SUPPORTS_LITTLE_ENDIAN
449 463
464config PNX8550_STB810
465 bool "Support for Philips PNX8550 based STB810 board"
466 select PNX8550
467 select SYS_SUPPORTS_LITTLE_ENDIAN
468
450config DDB5477 469config DDB5477
451 bool "NEC DDB Vrc-5477" 470 bool "NEC DDB Vrc-5477"
452 select DDB5XXX_COMMON 471 select DDB5XXX_COMMON
@@ -470,6 +489,7 @@ config MACH_VR41XX
470 select SYS_HAS_CPU_VR41XX 489 select SYS_HAS_CPU_VR41XX
471 select SYS_SUPPORTS_32BIT_KERNEL 490 select SYS_SUPPORTS_32BIT_KERNEL
472 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 491 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
492 select GENERIC_HARDIRQS_NO__DO_IRQ
473 493
474config PMC_YOSEMITE 494config PMC_YOSEMITE
475 bool "PMC-Sierra Yosemite eval board" 495 bool "PMC-Sierra Yosemite eval board"
@@ -503,6 +523,7 @@ config QEMU
503 select SYS_SUPPORTS_BIG_ENDIAN 523 select SYS_SUPPORTS_BIG_ENDIAN
504 select SYS_SUPPORTS_LITTLE_ENDIAN 524 select SYS_SUPPORTS_LITTLE_ENDIAN
505 select ARCH_SPARSEMEM_ENABLE 525 select ARCH_SPARSEMEM_ENABLE
526 select GENERIC_HARDIRQS_NO__DO_IRQ
506 help 527 help
507 Qemu is a software emulator which among other architectures also 528 Qemu is a software emulator which among other architectures also
508 can simulate a MIPS32 4Kc system. This patch adds support for the 529 can simulate a MIPS32 4Kc system. This patch adds support for the
@@ -534,7 +555,7 @@ config SGI_IP22
534 select HW_HAS_EISA 555 select HW_HAS_EISA
535 select IP22_CPU_SCACHE 556 select IP22_CPU_SCACHE
536 select IRQ_CPU 557 select IRQ_CPU
537 select NO_ISA if ISA 558 select GENERIC_ISA_DMA_SUPPORT_BROKEN
538 select SWAP_IO_SPACE 559 select SWAP_IO_SPACE
539 select SYS_HAS_CPU_R4X00 560 select SYS_HAS_CPU_R4X00
540 select SYS_HAS_CPU_R5000 561 select SYS_HAS_CPU_R5000
@@ -560,6 +581,7 @@ config SGI_IP27
560 select SYS_SUPPORTS_BIG_ENDIAN 581 select SYS_SUPPORTS_BIG_ENDIAN
561 select SYS_SUPPORTS_NUMA 582 select SYS_SUPPORTS_NUMA
562 select SYS_SUPPORTS_SMP 583 select SYS_SUPPORTS_SMP
584 select GENERIC_HARDIRQS_NO__DO_IRQ
563 help 585 help
564 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics 586 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
565 workstations. To compile a Linux kernel that runs on these, say Y 587 workstations. To compile a Linux kernel that runs on these, say Y
@@ -688,8 +710,8 @@ config SIBYTE_CRHONE
688 select SYS_SUPPORTS_HIGHMEM 710 select SYS_SUPPORTS_HIGHMEM
689 select SYS_SUPPORTS_LITTLE_ENDIAN 711 select SYS_SUPPORTS_LITTLE_ENDIAN
690 712
691config SNI_RM200_PCI 713config SNI_RM
692 bool "SNI RM200 PCI" 714 bool "SNI RM200/300/400"
693 select ARC if CPU_LITTLE_ENDIAN 715 select ARC if CPU_LITTLE_ENDIAN
694 select ARC32 if CPU_LITTLE_ENDIAN 716 select ARC32 if CPU_LITTLE_ENDIAN
695 select ARCH_MAY_HAVE_PC_FDC 717 select ARCH_MAY_HAVE_PC_FDC
@@ -712,8 +734,8 @@ config SNI_RM200_PCI
712 select SYS_SUPPORTS_HIGHMEM 734 select SYS_SUPPORTS_HIGHMEM
713 select SYS_SUPPORTS_LITTLE_ENDIAN 735 select SYS_SUPPORTS_LITTLE_ENDIAN
714 help 736 help
715 The SNI RM200 PCI was a MIPS-based platform manufactured by Siemens 737 The SNI RM200/300/400 are MIPS-based machines manufactured by
716 Nixdorf Informationssysteme (SNI), parent company of Pyramid 738 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
717 Technology and now in turn merged with Fujitsu. Say Y here to 739 Technology and now in turn merged with Fujitsu. Say Y here to
718 support this machine type. 740 support this machine type.
719 741
@@ -741,6 +763,7 @@ config TOSHIBA_RBTX4927
741 select SYS_SUPPORTS_64BIT_KERNEL 763 select SYS_SUPPORTS_64BIT_KERNEL
742 select SYS_SUPPORTS_BIG_ENDIAN 764 select SYS_SUPPORTS_BIG_ENDIAN
743 select TOSHIBA_BOARDS 765 select TOSHIBA_BOARDS
766 select GENERIC_HARDIRQS_NO__DO_IRQ
744 help 767 help
745 This Toshiba board is based on the TX4927 processor. Say Y here to 768 This Toshiba board is based on the TX4927 processor. Say Y here to
746 support this machine type 769 support this machine type
@@ -760,12 +783,30 @@ config TOSHIBA_RBTX4938
760 select SYS_SUPPORTS_LITTLE_ENDIAN 783 select SYS_SUPPORTS_LITTLE_ENDIAN
761 select SYS_SUPPORTS_BIG_ENDIAN 784 select SYS_SUPPORTS_BIG_ENDIAN
762 select TOSHIBA_BOARDS 785 select TOSHIBA_BOARDS
786 select GENERIC_HARDIRQS_NO__DO_IRQ
763 help 787 help
764 This Toshiba board is based on the TX4938 processor. Say Y here to 788 This Toshiba board is based on the TX4938 processor. Say Y here to
765 support this machine type 789 support this machine type
766 790
767endchoice 791endchoice
768 792
793config KEXEC
794 bool "Kexec system call (EXPERIMENTAL)"
795 depends on EXPERIMENTAL
796 help
797 kexec is a system call that implements the ability to shutdown your
798 current kernel, and to start another kernel. It is like a reboot
799 but it is indepedent of the system firmware. And like a reboot
800 you can start any kernel with it, not just Linux.
801
802 The name comes from the similiarity to the exec system call.
803
804 It is an ongoing process to be certain the hardware in a machine
805 is properly shutdown, so do not be surprised if this code does not
806 initially work for you. It may help to enable device hotplugging
807 support. As of this writing the exact hardware interface is
808 strongly in flux, so no good recommendation can be made.
809
769source "arch/mips/ddb5xxx/Kconfig" 810source "arch/mips/ddb5xxx/Kconfig"
770source "arch/mips/gt64120/ev64120/Kconfig" 811source "arch/mips/gt64120/ev64120/Kconfig"
771source "arch/mips/jazz/Kconfig" 812source "arch/mips/jazz/Kconfig"
@@ -789,6 +830,14 @@ config RWSEM_GENERIC_SPINLOCK
789config RWSEM_XCHGADD_ALGORITHM 830config RWSEM_XCHGADD_ALGORITHM
790 bool 831 bool
791 832
833config ARCH_HAS_ILOG2_U32
834 bool
835 default n
836
837config ARCH_HAS_ILOG2_U64
838 bool
839 default n
840
792config GENERIC_FIND_NEXT_BIT 841config GENERIC_FIND_NEXT_BIT
793 bool 842 bool
794 default y 843 default y
@@ -809,6 +858,10 @@ config SCHED_NO_NO_OMIT_FRAME_POINTER
809 bool 858 bool
810 default y 859 default y
811 860
861config GENERIC_HARDIRQS_NO__DO_IRQ
862 bool
863 default n
864
812# 865#
813# Select some configuration options automatically based on user selections. 866# Select some configuration options automatically based on user selections.
814# 867#
@@ -864,8 +917,11 @@ config MIPS_NILE4
864config MIPS_DISABLE_OBSOLETE_IDE 917config MIPS_DISABLE_OBSOLETE_IDE
865 bool 918 bool
866 919
920config GENERIC_ISA_DMA_SUPPORT_BROKEN
921 bool
922
867# 923#
868# Endianess selection. Suffiently obscure so many users don't know what to 924# Endianess selection. Sufficiently obscure so many users don't know what to
869# answer,so we try hard to limit the available choices. Also the use of a 925# answer,so we try hard to limit the available choices. Also the use of a
870# choice statement should be more obvious to the user. 926# choice statement should be more obvious to the user.
871# 927#
@@ -874,7 +930,7 @@ choice
874 help 930 help
875 Some MIPS machines can be configured for either little or big endian 931 Some MIPS machines can be configured for either little or big endian
876 byte order. These modes require different kernels and a different 932 byte order. These modes require different kernels and a different
877 Linux distribution. In general there is one prefered byteorder for a 933 Linux distribution. In general there is one preferred byteorder for a
878 particular system but some systems are just as commonly used in the 934 particular system but some systems are just as commonly used in the
879 one or the other endianess. 935 one or the other endianess.
880 936
@@ -967,6 +1023,7 @@ config SOC_PNX8550
967 select HW_HAS_PCI 1023 select HW_HAS_PCI
968 select SYS_HAS_CPU_MIPS32_R1 1024 select SYS_HAS_CPU_MIPS32_R1
969 select SYS_SUPPORTS_32BIT_KERNEL 1025 select SYS_SUPPORTS_32BIT_KERNEL
1026 select GENERIC_HARDIRQS_NO__DO_IRQ
970 1027
971config SWAP_IO_SPACE 1028config SWAP_IO_SPACE
972 bool 1029 bool
@@ -1024,16 +1081,16 @@ config HAVE_STD_PC_SERIAL_PORT
1024 1081
1025config ARC_CONSOLE 1082config ARC_CONSOLE
1026 bool "ARC console support" 1083 bool "ARC console support"
1027 depends on SGI_IP22 || SNI_RM200_PCI 1084 depends on SGI_IP22 || SNI_RM
1028 1085
1029config ARC_MEMORY 1086config ARC_MEMORY
1030 bool 1087 bool
1031 depends on MACH_JAZZ || SNI_RM200_PCI || SGI_IP32 1088 depends on MACH_JAZZ || SNI_RM || SGI_IP32
1032 default y 1089 default y
1033 1090
1034config ARC_PROMLIB 1091config ARC_PROMLIB
1035 bool 1092 bool
1036 depends on MACH_JAZZ || SNI_RM200_PCI || SGI_IP22 || SGI_IP32 1093 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
1037 default y 1094 default y
1038 1095
1039config ARC64 1096config ARC64
@@ -1248,6 +1305,7 @@ config CPU_RM9000
1248 select CPU_SUPPORTS_32BIT_KERNEL 1305 select CPU_SUPPORTS_32BIT_KERNEL
1249 select CPU_SUPPORTS_64BIT_KERNEL 1306 select CPU_SUPPORTS_64BIT_KERNEL
1250 select CPU_SUPPORTS_HIGHMEM 1307 select CPU_SUPPORTS_HIGHMEM
1308 select WEAK_ORDERING
1251 1309
1252config CPU_SB1 1310config CPU_SB1
1253 bool "SB1" 1311 bool "SB1"
@@ -1256,6 +1314,7 @@ config CPU_SB1
1256 select CPU_SUPPORTS_32BIT_KERNEL 1314 select CPU_SUPPORTS_32BIT_KERNEL
1257 select CPU_SUPPORTS_64BIT_KERNEL 1315 select CPU_SUPPORTS_64BIT_KERNEL
1258 select CPU_SUPPORTS_HIGHMEM 1316 select CPU_SUPPORTS_HIGHMEM
1317 select WEAK_ORDERING
1259 1318
1260endchoice 1319endchoice
1261 1320
@@ -1316,6 +1375,8 @@ config SYS_HAS_CPU_RM9000
1316config SYS_HAS_CPU_SB1 1375config SYS_HAS_CPU_SB1
1317 bool 1376 bool
1318 1377
1378config WEAK_ORDERING
1379 bool
1319endmenu 1380endmenu
1320 1381
1321# 1382#
@@ -1835,13 +1896,11 @@ source "drivers/pci/Kconfig"
1835config ISA 1896config ISA
1836 bool 1897 bool
1837 1898
1838config NO_ISA
1839 bool
1840
1841config EISA 1899config EISA
1842 bool "EISA support" 1900 bool "EISA support"
1843 depends on HW_HAS_EISA 1901 depends on HW_HAS_EISA
1844 select ISA 1902 select ISA
1903 select GENERIC_ISA_DMA
1845 ---help--- 1904 ---help---
1846 The Extended Industry Standard Architecture (EISA) bus was 1905 The Extended Industry Standard Architecture (EISA) bus was
1847 developed as an open alternative to the IBM MicroChannel bus. 1906 developed as an open alternative to the IBM MicroChannel bus.
@@ -1922,6 +1981,11 @@ config COMPAT
1922 depends on MIPS32_COMPAT 1981 depends on MIPS32_COMPAT
1923 default y 1982 default y
1924 1983
1984config SYSVIPC_COMPAT
1985 bool
1986 depends on COMPAT && SYSVIPC
1987 default y
1988
1925config MIPS32_O32 1989config MIPS32_O32
1926 bool "Kernel support for o32 binaries" 1990 bool "Kernel support for o32 binaries"
1927 depends on MIPS32_COMPAT 1991 depends on MIPS32_COMPAT