diff options
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 84 |
1 files changed, 61 insertions, 23 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index d46f1da18a3c..0c55582a49c3 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -716,7 +716,6 @@ config CAVIUM_OCTEON_SIMULATOR | |||
716 | select DMA_COHERENT | 716 | select DMA_COHERENT |
717 | select SYS_SUPPORTS_64BIT_KERNEL | 717 | select SYS_SUPPORTS_64BIT_KERNEL |
718 | select SYS_SUPPORTS_BIG_ENDIAN | 718 | select SYS_SUPPORTS_BIG_ENDIAN |
719 | select SYS_SUPPORTS_HIGHMEM | ||
720 | select SYS_SUPPORTS_HOTPLUG_CPU | 719 | select SYS_SUPPORTS_HOTPLUG_CPU |
721 | select SYS_HAS_CPU_CAVIUM_OCTEON | 720 | select SYS_HAS_CPU_CAVIUM_OCTEON |
722 | select HOLES_IN_ZONE | 721 | select HOLES_IN_ZONE |
@@ -732,7 +731,6 @@ config CAVIUM_OCTEON_REFERENCE_BOARD | |||
732 | select DMA_COHERENT | 731 | select DMA_COHERENT |
733 | select SYS_SUPPORTS_64BIT_KERNEL | 732 | select SYS_SUPPORTS_64BIT_KERNEL |
734 | select SYS_SUPPORTS_BIG_ENDIAN | 733 | select SYS_SUPPORTS_BIG_ENDIAN |
735 | select SYS_SUPPORTS_HIGHMEM | ||
736 | select SYS_SUPPORTS_HOTPLUG_CPU | 734 | select SYS_SUPPORTS_HOTPLUG_CPU |
737 | select SYS_HAS_EARLY_PRINTK | 735 | select SYS_HAS_EARLY_PRINTK |
738 | select SYS_HAS_CPU_CAVIUM_OCTEON | 736 | select SYS_HAS_CPU_CAVIUM_OCTEON |
@@ -761,7 +759,6 @@ config NLM_XLR_BOARD | |||
761 | depends on EXPERIMENTAL | 759 | depends on EXPERIMENTAL |
762 | select BOOT_ELF32 | 760 | select BOOT_ELF32 |
763 | select NLM_COMMON | 761 | select NLM_COMMON |
764 | select NLM_XLR | ||
765 | select SYS_HAS_CPU_XLR | 762 | select SYS_HAS_CPU_XLR |
766 | select SYS_SUPPORTS_SMP | 763 | select SYS_SUPPORTS_SMP |
767 | select HW_HAS_PCI | 764 | select HW_HAS_PCI |
@@ -776,6 +773,7 @@ config NLM_XLR_BOARD | |||
776 | select CEVT_R4K | 773 | select CEVT_R4K |
777 | select CSRC_R4K | 774 | select CSRC_R4K |
778 | select IRQ_CPU | 775 | select IRQ_CPU |
776 | select ARCH_SUPPORTS_MSI | ||
779 | select ZONE_DMA if 64BIT | 777 | select ZONE_DMA if 64BIT |
780 | select SYNC_R4K | 778 | select SYNC_R4K |
781 | select SYS_HAS_EARLY_PRINTK | 779 | select SYS_HAS_EARLY_PRINTK |
@@ -783,6 +781,33 @@ config NLM_XLR_BOARD | |||
783 | Support for systems based on Netlogic XLR and XLS processors. | 781 | Support for systems based on Netlogic XLR and XLS processors. |
784 | Say Y here if you have a XLR or XLS based board. | 782 | Say Y here if you have a XLR or XLS based board. |
785 | 783 | ||
784 | config NLM_XLP_BOARD | ||
785 | bool "Netlogic XLP based systems" | ||
786 | depends on EXPERIMENTAL | ||
787 | select BOOT_ELF32 | ||
788 | select NLM_COMMON | ||
789 | select SYS_HAS_CPU_XLP | ||
790 | select SYS_SUPPORTS_SMP | ||
791 | select HW_HAS_PCI | ||
792 | select SWAP_IO_SPACE | ||
793 | select SYS_SUPPORTS_32BIT_KERNEL | ||
794 | select SYS_SUPPORTS_64BIT_KERNEL | ||
795 | select 64BIT_PHYS_ADDR | ||
796 | select SYS_SUPPORTS_BIG_ENDIAN | ||
797 | select SYS_SUPPORTS_LITTLE_ENDIAN | ||
798 | select SYS_SUPPORTS_HIGHMEM | ||
799 | select DMA_COHERENT | ||
800 | select NR_CPUS_DEFAULT_32 | ||
801 | select CEVT_R4K | ||
802 | select CSRC_R4K | ||
803 | select IRQ_CPU | ||
804 | select ZONE_DMA if 64BIT | ||
805 | select SYNC_R4K | ||
806 | select SYS_HAS_EARLY_PRINTK | ||
807 | help | ||
808 | This board is based on Netlogic XLP Processor. | ||
809 | Say Y here if you have a XLP based board. | ||
810 | |||
786 | endchoice | 811 | endchoice |
787 | 812 | ||
788 | source "arch/mips/alchemy/Kconfig" | 813 | source "arch/mips/alchemy/Kconfig" |
@@ -1413,51 +1438,36 @@ config CPU_CAVIUM_OCTEON | |||
1413 | config CPU_BMIPS3300 | 1438 | config CPU_BMIPS3300 |
1414 | bool "BMIPS3300" | 1439 | bool "BMIPS3300" |
1415 | depends on SYS_HAS_CPU_BMIPS3300 | 1440 | depends on SYS_HAS_CPU_BMIPS3300 |
1416 | select DMA_NONCOHERENT | 1441 | select CPU_BMIPS |
1417 | select IRQ_CPU | ||
1418 | select SWAP_IO_SPACE | ||
1419 | select SYS_SUPPORTS_32BIT_KERNEL | ||
1420 | select WEAK_ORDERING | ||
1421 | help | 1442 | help |
1422 | Broadcom BMIPS3300 processors. | 1443 | Broadcom BMIPS3300 processors. |
1423 | 1444 | ||
1424 | config CPU_BMIPS4350 | 1445 | config CPU_BMIPS4350 |
1425 | bool "BMIPS4350" | 1446 | bool "BMIPS4350" |
1426 | depends on SYS_HAS_CPU_BMIPS4350 | 1447 | depends on SYS_HAS_CPU_BMIPS4350 |
1427 | select CPU_SUPPORTS_32BIT_KERNEL | 1448 | select CPU_BMIPS |
1428 | select DMA_NONCOHERENT | ||
1429 | select IRQ_CPU | ||
1430 | select SWAP_IO_SPACE | ||
1431 | select SYS_SUPPORTS_SMP | 1449 | select SYS_SUPPORTS_SMP |
1432 | select SYS_SUPPORTS_HOTPLUG_CPU | 1450 | select SYS_SUPPORTS_HOTPLUG_CPU |
1433 | select WEAK_ORDERING | ||
1434 | help | 1451 | help |
1435 | Broadcom BMIPS4350 ("VIPER") processors. | 1452 | Broadcom BMIPS4350 ("VIPER") processors. |
1436 | 1453 | ||
1437 | config CPU_BMIPS4380 | 1454 | config CPU_BMIPS4380 |
1438 | bool "BMIPS4380" | 1455 | bool "BMIPS4380" |
1439 | depends on SYS_HAS_CPU_BMIPS4380 | 1456 | depends on SYS_HAS_CPU_BMIPS4380 |
1440 | select CPU_SUPPORTS_32BIT_KERNEL | 1457 | select CPU_BMIPS |
1441 | select DMA_NONCOHERENT | ||
1442 | select IRQ_CPU | ||
1443 | select SWAP_IO_SPACE | ||
1444 | select SYS_SUPPORTS_SMP | 1458 | select SYS_SUPPORTS_SMP |
1445 | select SYS_SUPPORTS_HOTPLUG_CPU | 1459 | select SYS_SUPPORTS_HOTPLUG_CPU |
1446 | select WEAK_ORDERING | ||
1447 | help | 1460 | help |
1448 | Broadcom BMIPS4380 processors. | 1461 | Broadcom BMIPS4380 processors. |
1449 | 1462 | ||
1450 | config CPU_BMIPS5000 | 1463 | config CPU_BMIPS5000 |
1451 | bool "BMIPS5000" | 1464 | bool "BMIPS5000" |
1452 | depends on SYS_HAS_CPU_BMIPS5000 | 1465 | depends on SYS_HAS_CPU_BMIPS5000 |
1453 | select CPU_SUPPORTS_32BIT_KERNEL | 1466 | select CPU_BMIPS |
1454 | select CPU_SUPPORTS_HIGHMEM | 1467 | select CPU_SUPPORTS_HIGHMEM |
1455 | select DMA_NONCOHERENT | 1468 | select MIPS_CPU_SCACHE |
1456 | select IRQ_CPU | ||
1457 | select SWAP_IO_SPACE | ||
1458 | select SYS_SUPPORTS_SMP | 1469 | select SYS_SUPPORTS_SMP |
1459 | select SYS_SUPPORTS_HOTPLUG_CPU | 1470 | select SYS_SUPPORTS_HOTPLUG_CPU |
1460 | select WEAK_ORDERING | ||
1461 | help | 1471 | help |
1462 | Broadcom BMIPS5000 processors. | 1472 | Broadcom BMIPS5000 processors. |
1463 | 1473 | ||
@@ -1472,6 +1482,19 @@ config CPU_XLR | |||
1472 | select CPU_SUPPORTS_HUGEPAGES | 1482 | select CPU_SUPPORTS_HUGEPAGES |
1473 | help | 1483 | help |
1474 | Netlogic Microsystems XLR/XLS processors. | 1484 | Netlogic Microsystems XLR/XLS processors. |
1485 | |||
1486 | config CPU_XLP | ||
1487 | bool "Netlogic XLP SoC" | ||
1488 | depends on SYS_HAS_CPU_XLP | ||
1489 | select CPU_SUPPORTS_32BIT_KERNEL | ||
1490 | select CPU_SUPPORTS_64BIT_KERNEL | ||
1491 | select CPU_SUPPORTS_HIGHMEM | ||
1492 | select CPU_HAS_LLSC | ||
1493 | select WEAK_ORDERING | ||
1494 | select WEAK_REORDERING_BEYOND_LLSC | ||
1495 | select CPU_HAS_PREFETCH | ||
1496 | help | ||
1497 | Netlogic Microsystems XLP processors. | ||
1475 | endchoice | 1498 | endchoice |
1476 | 1499 | ||
1477 | if CPU_LOONGSON2F | 1500 | if CPU_LOONGSON2F |
@@ -1518,6 +1541,15 @@ config CPU_LOONGSON2 | |||
1518 | select CPU_SUPPORTS_64BIT_KERNEL | 1541 | select CPU_SUPPORTS_64BIT_KERNEL |
1519 | select CPU_SUPPORTS_HIGHMEM | 1542 | select CPU_SUPPORTS_HIGHMEM |
1520 | 1543 | ||
1544 | config CPU_BMIPS | ||
1545 | bool | ||
1546 | select CPU_MIPS32 | ||
1547 | select CPU_SUPPORTS_32BIT_KERNEL | ||
1548 | select DMA_NONCOHERENT | ||
1549 | select IRQ_CPU | ||
1550 | select SWAP_IO_SPACE | ||
1551 | select WEAK_ORDERING | ||
1552 | |||
1521 | config SYS_HAS_CPU_LOONGSON2E | 1553 | config SYS_HAS_CPU_LOONGSON2E |
1522 | bool | 1554 | bool |
1523 | 1555 | ||
@@ -1605,6 +1637,9 @@ config SYS_HAS_CPU_BMIPS5000 | |||
1605 | config SYS_HAS_CPU_XLR | 1637 | config SYS_HAS_CPU_XLR |
1606 | bool | 1638 | bool |
1607 | 1639 | ||
1640 | config SYS_HAS_CPU_XLP | ||
1641 | bool | ||
1642 | |||
1608 | # | 1643 | # |
1609 | # CPU may reorder R->R, R->W, W->R, W->W | 1644 | # CPU may reorder R->R, R->W, W->R, W->W |
1610 | # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC | 1645 | # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC |
@@ -1992,6 +2027,9 @@ config CPU_HAS_SMARTMIPS | |||
1992 | config CPU_HAS_WB | 2027 | config CPU_HAS_WB |
1993 | bool | 2028 | bool |
1994 | 2029 | ||
2030 | config XKS01 | ||
2031 | bool | ||
2032 | |||
1995 | # | 2033 | # |
1996 | # Vectored interrupt mode is an R2 feature | 2034 | # Vectored interrupt mode is an R2 feature |
1997 | # | 2035 | # |