diff options
author | Jayachandran C <jayachandranc@netlogicmicro.com> | 2011-05-06 16:06:57 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-05-19 04:55:40 -0400 |
commit | 7f058e852b229ec77b37676b2b78baf2e78ffee8 (patch) | |
tree | 5c0415b6fdeae671c4bbac77e7660d3588cc15f0 /arch/mips/Kconfig | |
parent | 5c642506740ecbf20fb7a9e482287e4e5c639e5c (diff) |
MIPS: Kconfig and Makefile update for Netlogic XLR/XLS
Add NLM_XLR_BOARD, CPU_XLR and other config options
Makefile updates, mostly based on r4k
Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2334/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 351c80fbba7e..5016caac6b91 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -736,6 +736,33 @@ config CAVIUM_OCTEON_REFERENCE_BOARD | |||
736 | Hikari | 736 | Hikari |
737 | Say Y here for most Octeon reference boards. | 737 | Say Y here for most Octeon reference boards. |
738 | 738 | ||
739 | config NLM_XLR_BOARD | ||
740 | bool "Netlogic XLR/XLS based systems" | ||
741 | depends on EXPERIMENTAL | ||
742 | select BOOT_ELF32 | ||
743 | select NLM_COMMON | ||
744 | select NLM_XLR | ||
745 | select SYS_HAS_CPU_XLR | ||
746 | select SYS_SUPPORTS_SMP | ||
747 | select HW_HAS_PCI | ||
748 | select SWAP_IO_SPACE | ||
749 | select SYS_SUPPORTS_32BIT_KERNEL | ||
750 | select SYS_SUPPORTS_64BIT_KERNEL | ||
751 | select 64BIT_PHYS_ADDR | ||
752 | select SYS_SUPPORTS_BIG_ENDIAN | ||
753 | select SYS_SUPPORTS_HIGHMEM | ||
754 | select DMA_COHERENT | ||
755 | select NR_CPUS_DEFAULT_32 | ||
756 | select CEVT_R4K | ||
757 | select CSRC_R4K | ||
758 | select IRQ_CPU | ||
759 | select ZONE_DMA if 64BIT | ||
760 | select SYNC_R4K | ||
761 | select SYS_HAS_EARLY_PRINTK | ||
762 | help | ||
763 | Support for systems based on Netlogic XLR and XLS processors. | ||
764 | Say Y here if you have a XLR or XLS based board. | ||
765 | |||
739 | endchoice | 766 | endchoice |
740 | 767 | ||
741 | source "arch/mips/alchemy/Kconfig" | 768 | source "arch/mips/alchemy/Kconfig" |
@@ -752,6 +779,7 @@ source "arch/mips/txx9/Kconfig" | |||
752 | source "arch/mips/vr41xx/Kconfig" | 779 | source "arch/mips/vr41xx/Kconfig" |
753 | source "arch/mips/cavium-octeon/Kconfig" | 780 | source "arch/mips/cavium-octeon/Kconfig" |
754 | source "arch/mips/loongson/Kconfig" | 781 | source "arch/mips/loongson/Kconfig" |
782 | source "arch/mips/netlogic/Kconfig" | ||
755 | 783 | ||
756 | endmenu | 784 | endmenu |
757 | 785 | ||
@@ -1420,6 +1448,17 @@ config CPU_BMIPS5000 | |||
1420 | help | 1448 | help |
1421 | Broadcom BMIPS5000 processors. | 1449 | Broadcom BMIPS5000 processors. |
1422 | 1450 | ||
1451 | config CPU_XLR | ||
1452 | bool "Netlogic XLR SoC" | ||
1453 | depends on SYS_HAS_CPU_XLR | ||
1454 | select CPU_SUPPORTS_32BIT_KERNEL | ||
1455 | select CPU_SUPPORTS_64BIT_KERNEL | ||
1456 | select CPU_SUPPORTS_HIGHMEM | ||
1457 | select WEAK_ORDERING | ||
1458 | select WEAK_REORDERING_BEYOND_LLSC | ||
1459 | select CPU_SUPPORTS_HUGEPAGES | ||
1460 | help | ||
1461 | Netlogic Microsystems XLR/XLS processors. | ||
1423 | endchoice | 1462 | endchoice |
1424 | 1463 | ||
1425 | if CPU_LOONGSON2F | 1464 | if CPU_LOONGSON2F |
@@ -1550,6 +1589,9 @@ config SYS_HAS_CPU_BMIPS4380 | |||
1550 | config SYS_HAS_CPU_BMIPS5000 | 1589 | config SYS_HAS_CPU_BMIPS5000 |
1551 | bool | 1590 | bool |
1552 | 1591 | ||
1592 | config SYS_HAS_CPU_XLR | ||
1593 | bool | ||
1594 | |||
1553 | # | 1595 | # |
1554 | # CPU may reorder R->R, R->W, W->R, W->W | 1596 | # CPU may reorder R->R, R->W, W->R, W->W |
1555 | # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC | 1597 | # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC |