aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-09-03 18:56:16 -0400
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 03:06:06 -0400
commit875d43e72b5bf22161a81de7554f88eccf8a51ae (patch)
treea676fe7298b478b7ee9fe7be9cb07c9a0b928370 /arch/mips/Kconfig
parent63fb6fd1c86181d9dd9ba0e6e6082799e149b56b (diff)
[PATCH] mips: clean up 32/64-bit configuration
Start cleaning 32-bit vs. 64-bit configuration. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig75
1 files changed, 43 insertions, 32 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 77ba9ffdf463..d892a23fa978 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -4,26 +4,37 @@ config MIPS
4 # Horrible source of confusion. Die, die, die ... 4 # Horrible source of confusion. Die, die, die ...
5 select EMBEDDED 5 select EMBEDDED
6 6
7config MIPS64 7mainmenu "Linux/MIPS Kernel Configuration"
8 bool "64-bit kernel" 8
9source "init/Kconfig"
10
11menu "Kernel type"
12
13choice
14
15 prompt "Kernel code model"
9 help 16 help
10 Select this option if you want to build a 64-bit kernel. You should 17 You should only select this option if you have a workload that
11 only select this option if you have hardware that actually has a 18 actually benefits from 64-bit processing or if your machine has
12 64-bit processor and if your application will actually benefit from 19 large memory. You will only be presented a single option in this
13 64-bit processing, otherwise say N. You must say Y for kernels for 20 menu if your system does not support both 32-bit and 64-bit kernels.
14 SGI IP27 (Origin 200 and 2000) and SGI IP32 (O2). If in doubt say N.
15 21
16config 64BIT 22config 32BIT
17 def_bool MIPS64 23 bool "32-bit kernel"
24 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
25 select TRAD_SIGNALS
26 help
27 Select this option if you want to build a 32-bit kernel.
18 28
19config MIPS32 29config 64BIT
20 bool 30 bool "64-bit kernel"
21 depends on MIPS64 = 'n' 31 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
22 default y 32 help
33 Select this option if you want to build a 64-bit kernel.
23 34
24mainmenu "Linux/MIPS Kernel Configuration" 35endchoice
25 36
26source "init/Kconfig" 37endmenu
27 38
28menu "Machine selection" 39menu "Machine selection"
29 40
@@ -155,7 +166,7 @@ config VRC4173
155 166
156config TOSHIBA_JMR3927 167config TOSHIBA_JMR3927
157 bool "Support for Toshiba JMR-TX3927 board" 168 bool "Support for Toshiba JMR-TX3927 board"
158 depends on MIPS32 169 depends on 32BIT
159 select DMA_NONCOHERENT 170 select DMA_NONCOHERENT
160 select HW_HAS_PCI 171 select HW_HAS_PCI
161 select SWAP_IO_SPACE 172 select SWAP_IO_SPACE
@@ -173,7 +184,7 @@ config MACH_DECSTATION
173 select BOOT_ELF32 184 select BOOT_ELF32
174 select DMA_NONCOHERENT 185 select DMA_NONCOHERENT
175 select IRQ_CPU 186 select IRQ_CPU
176 depends on MIPS32 || EXPERIMENTAL 187 depends on 32BIT || EXPERIMENTAL
177 ---help--- 188 ---help---
178 This enables support for DEC's MIPS based workstations. For details 189 This enables support for DEC's MIPS based workstations. For details
179 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the 190 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
@@ -480,7 +491,7 @@ config SGI_IP22
480 491
481config SGI_IP27 492config SGI_IP27
482 bool "Support for SGI IP27 (Origin200/2000)" 493 bool "Support for SGI IP27 (Origin200/2000)"
483 depends on MIPS64 494 depends on 64BIT
484 select ARC 495 select ARC
485 select ARC64 496 select ARC64
486 select DMA_IP27 497 select DMA_IP27
@@ -548,7 +559,7 @@ config REPLICATE_EXHANDLERS
548 559
549config SGI_IP32 560config SGI_IP32
550 bool "Support for SGI IP32 (O2) (EXPERIMENTAL)" 561 bool "Support for SGI IP32 (O2) (EXPERIMENTAL)"
551 depends on MIPS64 && EXPERIMENTAL 562 depends on 64BIT && EXPERIMENTAL
552 select ARC 563 select ARC
553 select ARC32 564 select ARC32
554 select BOOT_ELF32 565 select BOOT_ELF32
@@ -562,7 +573,7 @@ config SGI_IP32
562 If you want this kernel to run on SGI O2 workstation, say Y here. 573 If you want this kernel to run on SGI O2 workstation, say Y here.
563 574
564config SOC_AU1X00 575config SOC_AU1X00
565 depends on MIPS32 576 depends on 32BIT
566 bool "Support for AMD/Alchemy Au1X00 SOCs" 577 bool "Support for AMD/Alchemy Au1X00 SOCs"
567 578
568choice 579choice
@@ -902,7 +913,7 @@ config SNI_RM200_PCI
902 913
903config TOSHIBA_RBTX4927 914config TOSHIBA_RBTX4927
904 bool "Support for Toshiba TBTX49[23]7 board" 915 bool "Support for Toshiba TBTX49[23]7 board"
905 depends on MIPS32 916 depends on 32BIT
906 select DMA_NONCOHERENT 917 select DMA_NONCOHERENT
907 select HAS_TXX9_SERIAL 918 select HAS_TXX9_SERIAL
908 select HW_HAS_PCI 919 select HW_HAS_PCI
@@ -1171,7 +1182,7 @@ config CPU_R3000
1171 1182
1172config CPU_TX39XX 1183config CPU_TX39XX
1173 bool "R39XX" 1184 bool "R39XX"
1174 depends on MIPS32 1185 depends on 32BIT
1175 1186
1176config CPU_VR41XX 1187config CPU_VR41XX
1177 bool "R41xx" 1188 bool "R41xx"
@@ -1205,7 +1216,7 @@ config CPU_R5432
1205 1216
1206config CPU_R6000 1217config CPU_R6000
1207 bool "R6000" 1218 bool "R6000"
1208 depends on MIPS32 && EXPERIMENTAL 1219 depends on 32BIT && EXPERIMENTAL
1209 help 1220 help
1210 MIPS Technologies R6000 and R6000A series processors. Note these 1221 MIPS Technologies R6000 and R6000A series processors. Note these
1211 processors are extremly rare and the support for them is incomplete. 1222 processors are extremly rare and the support for them is incomplete.
@@ -1217,7 +1228,7 @@ config CPU_NEVADA
1217 1228
1218config CPU_R8000 1229config CPU_R8000
1219 bool "R8000" 1230 bool "R8000"
1220 depends on MIPS64 && EXPERIMENTAL 1231 depends on 64BIT && EXPERIMENTAL
1221 help 1232 help
1222 MIPS Technologies R8000 processors. Note these processors are 1233 MIPS Technologies R8000 processors. Note these processors are
1223 uncommon and the support for them is incomplete. 1234 uncommon and the support for them is incomplete.
@@ -1330,11 +1341,11 @@ config SB1_PASS_2_1_WORKAROUNDS
1330 1341
1331config 64BIT_PHYS_ADDR 1342config 64BIT_PHYS_ADDR
1332 bool "Support for 64-bit physical address space" 1343 bool "Support for 64-bit physical address space"
1333 depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && MIPS32 1344 depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT
1334 1345
1335config CPU_ADVANCED 1346config CPU_ADVANCED
1336 bool "Override CPU Options" 1347 bool "Override CPU Options"
1337 depends on MIPS32 1348 depends on 32BIT
1338 help 1349 help
1339 Saying yes here allows you to select support for various features 1350 Saying yes here allows you to select support for various features
1340 your CPU may or may not have. Most people should say N here. 1351 your CPU may or may not have. Most people should say N here.
@@ -1388,7 +1399,7 @@ config CPU_HAS_SYNC
1388# 1399#
1389config HIGHMEM 1400config HIGHMEM
1390 bool "High Memory Support" 1401 bool "High Memory Support"
1391 depends on MIPS32 && (CPU_R3000 || CPU_SB1 || CPU_R7000 || CPU_RM9000 || CPU_R10000) && !(MACH_DECSTATION || MOMENCO_JAGUAR_ATX) 1402 depends on 32BIT && (CPU_R3000 || CPU_SB1 || CPU_R7000 || CPU_RM9000 || CPU_R10000) && !(MACH_DECSTATION || MOMENCO_JAGUAR_ATX)
1392 1403
1393config ARCH_FLATMEM_ENABLE 1404config ARCH_FLATMEM_ENABLE
1394 def_bool y 1405 def_bool y
@@ -1448,7 +1459,7 @@ config RTC_DS1742
1448 1459
1449config MIPS_INSANE_LARGE 1460config MIPS_INSANE_LARGE
1450 bool "Support for large 64-bit configurations" 1461 bool "Support for large 64-bit configurations"
1451 depends on CPU_R10000 && MIPS64 1462 depends on CPU_R10000 && 64BIT
1452 help 1463 help
1453 MIPS R10000 does support a 44 bit / 16TB address space as opposed to 1464 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1454 previous 64-bit processors which only supported 40 bit / 1TB. If you 1465 previous 64-bit processors which only supported 40 bit / 1TB. If you
@@ -1549,11 +1560,11 @@ source "fs/Kconfig.binfmt"
1549 1560
1550config TRAD_SIGNALS 1561config TRAD_SIGNALS
1551 bool 1562 bool
1552 default y if MIPS32 1563 default y if 32BIT
1553 1564
1554config BUILD_ELF64 1565config BUILD_ELF64
1555 bool "Use 64-bit ELF format for building" 1566 bool "Use 64-bit ELF format for building"
1556 depends on MIPS64 1567 depends on 64BIT
1557 help 1568 help
1558 A 64-bit kernel is usually built using the 64-bit ELF binary object 1569 A 64-bit kernel is usually built using the 64-bit ELF binary object
1559 format as it's one that allows arbitrary 64-bit constructs. For 1570 format as it's one that allows arbitrary 64-bit constructs. For
@@ -1568,11 +1579,11 @@ config BUILD_ELF64
1568 1579
1569config BINFMT_IRIX 1580config BINFMT_IRIX
1570 bool "Include IRIX binary compatibility" 1581 bool "Include IRIX binary compatibility"
1571 depends on !CPU_LITTLE_ENDIAN && MIPS32 && BROKEN 1582 depends on !CPU_LITTLE_ENDIAN && 32BIT && BROKEN
1572 1583
1573config MIPS32_COMPAT 1584config MIPS32_COMPAT
1574 bool "Kernel support for Linux/MIPS 32-bit binary compatibility" 1585 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1575 depends on MIPS64 1586 depends on 64BIT
1576 help 1587 help
1577 Select this option if you want Linux/MIPS 32-bit binary 1588 Select this option if you want Linux/MIPS 32-bit binary
1578 compatibility. Since all software available for Linux/MIPS is 1589 compatibility. Since all software available for Linux/MIPS is