Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 1 | if NLM_XLP_BOARD || NLM_XLR_BOARD |
| 2 | |
| 3 | if NLM_XLP_BOARD |
| 4 | config DT_XLP_EVP |
Jayachandran C | 035114f | 2013-03-23 17:27:59 +0000 | [diff] [blame] | 5 | bool "Built-in device tree for XLP EVP boards" |
Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 6 | default y |
| 7 | help |
Jayachandran C | 035114f | 2013-03-23 17:27:59 +0000 | [diff] [blame] | 8 | Add an FDT blob for XLP EVP boards into the kernel. |
Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 9 | This DTB will be used if the firmware does not pass in a DTB |
Jayachandran C | 035114f | 2013-03-23 17:27:59 +0000 | [diff] [blame] | 10 | pointer to the kernel. The corresponding DTS file is at |
| 11 | arch/mips/netlogic/dts/xlp_evp.dts |
| 12 | |
| 13 | config DT_XLP_SVP |
| 14 | bool "Built-in device tree for XLP SVP boards" |
| 15 | default y |
| 16 | help |
| 17 | Add an FDT blob for XLP VP boards into the kernel. |
| 18 | This DTB will be used if the firmware does not pass in a DTB |
| 19 | pointer to the kernel. The corresponding DTS file is at |
| 20 | arch/mips/netlogic/dts/xlp_svp.dts |
Jayachandran C | bb1e4bc | 2012-10-31 12:01:40 +0000 | [diff] [blame] | 21 | |
| 22 | config NLM_MULTINODE |
| 23 | bool "Support for multi-chip boards" |
| 24 | depends on NLM_XLP_BOARD |
| 25 | default n |
| 26 | help |
| 27 | Add support for boards with 2 or 4 XLPs connected over ICI. |
| 28 | |
| 29 | if NLM_MULTINODE |
| 30 | choice |
| 31 | prompt "Number of XLPs on the board" |
| 32 | default NLM_MULTINODE_2 |
| 33 | help |
| 34 | In the multi-node case, specify the number of SoCs on the board. |
| 35 | |
| 36 | config NLM_MULTINODE_2 |
| 37 | bool "Dual-XLP board" |
| 38 | help |
| 39 | Support boards with upto two XLPs connected over ICI. |
| 40 | |
| 41 | config NLM_MULTINODE_4 |
| 42 | bool "Quad-XLP board" |
| 43 | help |
| 44 | Support boards with upto four XLPs connected over ICI. |
| 45 | |
| 46 | endchoice |
| 47 | |
| 48 | endif |
Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 49 | endif |
| 50 | |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 51 | config NLM_COMMON |
| 52 | bool |
Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 53 | |
Ganesan Ramalingam | 79f8511 | 2013-06-10 06:28:09 +0000 | [diff] [blame^] | 54 | config IOMMU_HELPER |
| 55 | bool |
| 56 | |
| 57 | config NEED_SG_DMA_LENGTH |
| 58 | bool |
| 59 | |
| 60 | config SWIOTLB |
| 61 | def_bool y |
| 62 | select NEED_SG_DMA_LENGTH |
| 63 | select IOMMU_HELPER |
| 64 | |
Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 65 | endif |