aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig47
1 files changed, 44 insertions, 3 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 9c4a61074d48..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
784config 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
786endchoice 811endchoice
787 812
788source "arch/mips/alchemy/Kconfig" 813source "arch/mips/alchemy/Kconfig"
@@ -1457,6 +1482,19 @@ config CPU_XLR
1457 select CPU_SUPPORTS_HUGEPAGES 1482 select CPU_SUPPORTS_HUGEPAGES
1458 help 1483 help
1459 Netlogic Microsystems XLR/XLS processors. 1484 Netlogic Microsystems XLR/XLS processors.
1485
1486config 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.
1460endchoice 1498endchoice
1461 1499
1462if CPU_LOONGSON2F 1500if CPU_LOONGSON2F
@@ -1599,6 +1637,9 @@ config SYS_HAS_CPU_BMIPS5000
1599config SYS_HAS_CPU_XLR 1637config SYS_HAS_CPU_XLR
1600 bool 1638 bool
1601 1639
1640config SYS_HAS_CPU_XLP
1641 bool
1642
1602# 1643#
1603# CPU may reorder R->R, R->W, W->R, W->W 1644# CPU may reorder R->R, R->W, W->R, W->W
1604# 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