diff options
Diffstat (limited to 'arch/mips/Kconfig')
| -rw-r--r-- | arch/mips/Kconfig | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 705a7a9170f3..fd7620f025fa 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
| @@ -1,6 +1,7 @@ | |||
| 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 |
| @@ -357,7 +358,14 @@ config SGI_IP22 | |||
| 357 | select SWAP_IO_SPACE | 358 | select SWAP_IO_SPACE |
| 358 | select SYS_HAS_CPU_R4X00 | 359 | select SYS_HAS_CPU_R4X00 |
| 359 | select SYS_HAS_CPU_R5000 | 360 | select SYS_HAS_CPU_R5000 |
| 360 | select SYS_HAS_EARLY_PRINTK | 361 | # |
| 362 | # Disable EARLY_PRINTK for now since it leads to overwritten prom | ||
| 363 | # memory during early boot on some machines. | ||
| 364 | # | ||
| 365 | # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com | ||
| 366 | # for a more details discussion | ||
| 367 | # | ||
| 368 | # select SYS_HAS_EARLY_PRINTK | ||
| 361 | select SYS_SUPPORTS_32BIT_KERNEL | 369 | select SYS_SUPPORTS_32BIT_KERNEL |
| 362 | select SYS_SUPPORTS_64BIT_KERNEL | 370 | select SYS_SUPPORTS_64BIT_KERNEL |
| 363 | select SYS_SUPPORTS_BIG_ENDIAN | 371 | select SYS_SUPPORTS_BIG_ENDIAN |
| @@ -409,7 +417,14 @@ config SGI_IP28 | |||
| 409 | select SGI_HAS_ZILOG | 417 | select SGI_HAS_ZILOG |
| 410 | select SWAP_IO_SPACE | 418 | select SWAP_IO_SPACE |
| 411 | select SYS_HAS_CPU_R10000 | 419 | select SYS_HAS_CPU_R10000 |
| 412 | select SYS_HAS_EARLY_PRINTK | 420 | # |
| 421 | # Disable EARLY_PRINTK for now since it leads to overwritten prom | ||
| 422 | # memory during early boot on some machines. | ||
| 423 | # | ||
| 424 | # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com | ||
| 425 | # for a more details discussion | ||
| 426 | # | ||
| 427 | # select SYS_HAS_EARLY_PRINTK | ||
| 413 | select SYS_SUPPORTS_64BIT_KERNEL | 428 | select SYS_SUPPORTS_64BIT_KERNEL |
| 414 | select SYS_SUPPORTS_BIG_ENDIAN | 429 | select SYS_SUPPORTS_BIG_ENDIAN |
| 415 | help | 430 | help |
| @@ -1012,9 +1027,9 @@ config BOOT_ELF32 | |||
| 1012 | 1027 | ||
| 1013 | config MIPS_L1_CACHE_SHIFT | 1028 | config MIPS_L1_CACHE_SHIFT |
| 1014 | int | 1029 | int |
| 1015 | default "4" if MACH_DECSTATION || MIKROTIK_RB532 | 1030 | default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL |
| 1031 | default "6" if MIPS_CPU_SCACHE | ||
| 1016 | default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON | 1032 | default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON |
| 1017 | default "4" if PMC_MSP4200_EVAL | ||
| 1018 | default "5" | 1033 | default "5" |
| 1019 | 1034 | ||
| 1020 | config HAVE_STD_PC_SERIAL_PORT | 1035 | config HAVE_STD_PC_SERIAL_PORT |
| @@ -1438,6 +1453,7 @@ choice | |||
| 1438 | 1453 | ||
| 1439 | config PAGE_SIZE_4KB | 1454 | config PAGE_SIZE_4KB |
| 1440 | bool "4kB" | 1455 | bool "4kB" |
| 1456 | depends on !CPU_LOONGSON2 | ||
| 1441 | help | 1457 | help |
| 1442 | This option select the standard 4kB Linux page size. On some | 1458 | This option select the standard 4kB Linux page size. On some |
| 1443 | R3000-family processors this is the only available page size. Using | 1459 | R3000-family processors this is the only available page size. Using |
| @@ -1762,7 +1778,7 @@ config SYS_SUPPORTS_SMARTMIPS | |||
| 1762 | 1778 | ||
| 1763 | config ARCH_FLATMEM_ENABLE | 1779 | config ARCH_FLATMEM_ENABLE |
| 1764 | def_bool y | 1780 | def_bool y |
| 1765 | depends on !NUMA | 1781 | depends on !NUMA && !CPU_LOONGSON2 |
| 1766 | 1782 | ||
| 1767 | config ARCH_DISCONTIGMEM_ENABLE | 1783 | config ARCH_DISCONTIGMEM_ENABLE |
| 1768 | bool | 1784 | bool |
