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 |
Andrew Bresticker | 3609461 | 2014-08-21 13:04:25 -0700 | [diff] [blame] | 7 | select BUILTIN_DTB |
Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 8 | help |
Jayachandran C | 035114f | 2013-03-23 17:27:59 +0000 | [diff] [blame] | 9 | Add an FDT blob for XLP EVP boards into the kernel. |
Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 10 | 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] | 11 | pointer to the kernel. The corresponding DTS file is at |
| 12 | arch/mips/netlogic/dts/xlp_evp.dts |
| 13 | |
| 14 | config DT_XLP_SVP |
| 15 | bool "Built-in device tree for XLP SVP boards" |
| 16 | default y |
Andrew Bresticker | 3609461 | 2014-08-21 13:04:25 -0700 | [diff] [blame] | 17 | select BUILTIN_DTB |
Jayachandran C | 035114f | 2013-03-23 17:27:59 +0000 | [diff] [blame] | 18 | help |
| 19 | Add an FDT blob for XLP VP boards into the kernel. |
| 20 | This DTB will be used if the firmware does not pass in a DTB |
| 21 | pointer to the kernel. The corresponding DTS file is at |
| 22 | arch/mips/netlogic/dts/xlp_svp.dts |
Jayachandran C | bb1e4bc | 2012-10-31 12:01:40 +0000 | [diff] [blame] | 23 | |
Ganesan Ramalingam | 1cf0e1b | 2013-08-11 14:44:00 +0530 | [diff] [blame] | 24 | config DT_XLP_FVP |
| 25 | bool "Built-in device tree for XLP FVP boards" |
| 26 | default y |
Andrew Bresticker | 3609461 | 2014-08-21 13:04:25 -0700 | [diff] [blame] | 27 | select BUILTIN_DTB |
Ganesan Ramalingam | 1cf0e1b | 2013-08-11 14:44:00 +0530 | [diff] [blame] | 28 | help |
| 29 | Add an FDT blob for XLP FVP board into the kernel. |
| 30 | This DTB will be used if the firmware does not pass in a DTB |
| 31 | pointer to the kernel. The corresponding DTS file is at |
| 32 | arch/mips/netlogic/dts/xlp_fvp.dts |
| 33 | |
Jayachandran C | a17fca6 | 2013-12-21 16:52:30 +0530 | [diff] [blame] | 34 | config DT_XLP_GVP |
| 35 | bool "Built-in device tree for XLP GVP boards" |
| 36 | default y |
Andrew Bresticker | 3609461 | 2014-08-21 13:04:25 -0700 | [diff] [blame] | 37 | select BUILTIN_DTB |
Jayachandran C | a17fca6 | 2013-12-21 16:52:30 +0530 | [diff] [blame] | 38 | help |
| 39 | Add an FDT blob for XLP GVP board into the kernel. |
| 40 | This DTB will be used if the firmware does not pass in a DTB |
| 41 | pointer to the kernel. The corresponding DTS file is at |
| 42 | arch/mips/netlogic/dts/xlp_gvp.dts |
| 43 | |
Ganesan Ramalingam | 94e37fc | 2015-01-07 16:58:38 +0530 | [diff] [blame] | 44 | config DT_XLP_RVP |
| 45 | bool "Built-in device tree for XLP RVP boards" |
| 46 | default y |
| 47 | help |
| 48 | Add an FDT blob for XLP RVP board into the kernel. |
| 49 | This DTB will be used if the firmware does not pass in a DTB |
| 50 | pointer to the kernel. The corresponding DTS file is at |
| 51 | arch/mips/netlogic/dts/xlp_rvp.dts |
| 52 | |
Jayachandran C | bb1e4bc | 2012-10-31 12:01:40 +0000 | [diff] [blame] | 53 | config NLM_MULTINODE |
| 54 | bool "Support for multi-chip boards" |
| 55 | depends on NLM_XLP_BOARD |
| 56 | default n |
| 57 | help |
| 58 | Add support for boards with 2 or 4 XLPs connected over ICI. |
| 59 | |
| 60 | if NLM_MULTINODE |
| 61 | choice |
| 62 | prompt "Number of XLPs on the board" |
| 63 | default NLM_MULTINODE_2 |
| 64 | help |
| 65 | In the multi-node case, specify the number of SoCs on the board. |
| 66 | |
| 67 | config NLM_MULTINODE_2 |
| 68 | bool "Dual-XLP board" |
| 69 | help |
| 70 | Support boards with upto two XLPs connected over ICI. |
| 71 | |
| 72 | config NLM_MULTINODE_4 |
| 73 | bool "Quad-XLP board" |
| 74 | help |
| 75 | Support boards with upto four XLPs connected over ICI. |
| 76 | |
| 77 | endchoice |
| 78 | |
| 79 | endif |
Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 80 | endif |
| 81 | |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 82 | config NLM_COMMON |
| 83 | bool |
Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 84 | |
Ganesan Ramalingam | 79f8511 | 2013-06-10 06:28:09 +0000 | [diff] [blame] | 85 | config IOMMU_HELPER |
| 86 | bool |
| 87 | |
| 88 | config NEED_SG_DMA_LENGTH |
| 89 | bool |
| 90 | |
| 91 | config SWIOTLB |
| 92 | def_bool y |
| 93 | select NEED_SG_DMA_LENGTH |
| 94 | select IOMMU_HELPER |
| 95 | |
Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 96 | endif |