diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-07-14 11:57:16 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:53 -0400 |
commit | e01402b115cccb6357f956649487aca2c6f7fbba (patch) | |
tree | 256e14f8d2762de98b992219b1a47e8f56b4b0da /arch/mips/Kconfig | |
parent | 86071b637db7baf599df26fdf820dce2fc55ca9f (diff) |
More AP / SP bits for the 34K, the Malta bits and things. Still wants
a little polishing.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 749fa871e8e7..4ef015f580f9 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -13,6 +13,22 @@ mainmenu "Linux/MIPS Kernel Configuration" | |||
13 | 13 | ||
14 | source "init/Kconfig" | 14 | source "init/Kconfig" |
15 | 15 | ||
16 | config CPU_MIPS32 | ||
17 | bool | ||
18 | default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 | ||
19 | |||
20 | config CPU_MIPS64 | ||
21 | bool | ||
22 | default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 | ||
23 | |||
24 | config CPU_MIPSR1 | ||
25 | bool | ||
26 | default y if CPU_MIPS32_R1 || CPU_MIPS64_R1 | ||
27 | |||
28 | config CPU_MIPSR2 | ||
29 | bool | ||
30 | default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 | ||
31 | |||
16 | config SYS_SUPPORTS_32BIT_KERNEL | 32 | config SYS_SUPPORTS_32BIT_KERNEL |
17 | bool | 33 | bool |
18 | config SYS_SUPPORTS_64BIT_KERNEL | 34 | config SYS_SUPPORTS_64BIT_KERNEL |
@@ -233,6 +249,7 @@ config MIPS_EV64120 | |||
233 | bool "Support for Galileo EV64120 Evaluation board (EXPERIMENTAL)" | 249 | bool "Support for Galileo EV64120 Evaluation board (EXPERIMENTAL)" |
234 | depends on EXPERIMENTAL | 250 | depends on EXPERIMENTAL |
235 | select DMA_NONCOHERENT | 251 | select DMA_NONCOHERENT |
252 | select IRQ_CPU | ||
236 | select HW_HAS_PCI | 253 | select HW_HAS_PCI |
237 | select MIPS_GT64120 | 254 | select MIPS_GT64120 |
238 | select SYS_SUPPORTS_32BIT_KERNEL | 255 | select SYS_SUPPORTS_32BIT_KERNEL |
@@ -344,6 +361,7 @@ config MIPS_MALTA | |||
344 | select BOOT_ELF32 | 361 | select BOOT_ELF32 |
345 | select HAVE_STD_PC_SERIAL_PORT | 362 | select HAVE_STD_PC_SERIAL_PORT |
346 | select DMA_NONCOHERENT | 363 | select DMA_NONCOHERENT |
364 | select IRQ_CPU | ||
347 | select GENERIC_ISA_DMA | 365 | select GENERIC_ISA_DMA |
348 | select HW_HAS_PCI | 366 | select HW_HAS_PCI |
349 | select I8259 | 367 | select I8259 |
@@ -1277,6 +1295,31 @@ config CPU_HAS_PREFETCH | |||
1277 | bool "Enable prefetches" if CPU_SB1 && !CPU_SB1_PASS_2 | 1295 | bool "Enable prefetches" if CPU_SB1 && !CPU_SB1_PASS_2 |
1278 | default y if CPU_MIPS32 || CPU_MIPS64 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 | 1296 | default y if CPU_MIPS32 || CPU_MIPS64 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 |
1279 | 1297 | ||
1298 | config MIPS_MT | ||
1299 | bool "Enable MIPS MT" | ||
1300 | |||
1301 | config MIPS_VPE_LOADER | ||
1302 | bool "VPE loader support." | ||
1303 | depends on MIPS_MT | ||
1304 | help | ||
1305 | Includes a loader for loading an elf relocatable object | ||
1306 | onto another VPE and running it. | ||
1307 | |||
1308 | config MIPS_VPE_LOADER_TOM | ||
1309 | bool "Load VPE program into memory hidden from linux" | ||
1310 | depends on MIPS_VPE_LOADER | ||
1311 | default y | ||
1312 | help | ||
1313 | The loader can use memory that is present but has been hidden from | ||
1314 | Linux using the kernel command line option "mem=xxMB". It's up to | ||
1315 | you to ensure the amount you put in the option and the space your | ||
1316 | program requires is less or equal to the amount physically present. | ||
1317 | |||
1318 | # this should possibly be in drivers/char, but it is rather cpu related. Hmmm | ||
1319 | config MIPS_VPE_APSP_API | ||
1320 | bool "Enable support for AP/SP API (RTLX)" | ||
1321 | depends on MIPS_VPE_LOADER | ||
1322 | |||
1280 | config VTAG_ICACHE | 1323 | config VTAG_ICACHE |
1281 | bool "Support for Virtual Tagged I-cache" if CPU_MIPS64 || CPU_MIPS32 | 1324 | bool "Support for Virtual Tagged I-cache" if CPU_MIPS64 || CPU_MIPS32 |
1282 | default y if CPU_SB1 | 1325 | default y if CPU_SB1 |
@@ -1335,6 +1378,35 @@ config CPU_HAS_WB | |||
1335 | machines which require flushing of write buffers in software. Saying | 1378 | machines which require flushing of write buffers in software. Saying |
1336 | Y is the safe option; N may result in kernel malfunction and crashes. | 1379 | Y is the safe option; N may result in kernel malfunction and crashes. |
1337 | 1380 | ||
1381 | menu "MIPSR2 Interrupt handling" | ||
1382 | depends on CPU_MIPSR2 && CPU_ADVANCED | ||
1383 | |||
1384 | config CPU_MIPSR2_IRQ_VI | ||
1385 | bool "Vectored interrupt mode" | ||
1386 | help | ||
1387 | Vectored interrupt mode allowing faster dispatching of interrupts. | ||
1388 | The board support code needs to be written to take advantage of this | ||
1389 | mode. Compatibility code is included to allow the kernel to run on | ||
1390 | a CPU that does not support vectored interrupts. It's safe to | ||
1391 | say Y here. | ||
1392 | |||
1393 | config CPU_MIPSR2_IRQ_EI | ||
1394 | bool "External interrupt controller mode" | ||
1395 | help | ||
1396 | Extended interrupt mode takes advantage of an external interrupt | ||
1397 | controller to allow fast dispatching from many possible interrupt | ||
1398 | sources. Say N unless you know that external interrupt support is | ||
1399 | required. | ||
1400 | |||
1401 | config CPU_MIPSR2_SRS | ||
1402 | bool "Make shadow set registers available for interrupt handlers" | ||
1403 | depends on CPU_MIPSR2_IRQ_VI || CPU_MIPSR2_IRQ_EI | ||
1404 | help | ||
1405 | Allow the kernel to use shadow register sets for fast interrupts. | ||
1406 | Interrupt handlers must be specially written to use shadow sets. | ||
1407 | Say N unless you know that shadow register set upport is needed. | ||
1408 | endmenu | ||
1409 | |||
1338 | config CPU_HAS_SYNC | 1410 | config CPU_HAS_SYNC |
1339 | bool | 1411 | bool |
1340 | depends on !CPU_R3000 | 1412 | depends on !CPU_R3000 |