blob: 2447bf97d35ad8a30032d4773dadaba234ff6dae [file] [log] [blame]
Jayachandran C2f6528e2012-07-13 21:53:22 +05301if NLM_XLP_BOARD || NLM_XLR_BOARD
2
3if NLM_XLP_BOARD
4config DT_XLP_EVP
Jayachandran C035114f2013-03-23 17:27:59 +00005 bool "Built-in device tree for XLP EVP boards"
Jayachandran C2f6528e2012-07-13 21:53:22 +05306 default y
7 help
Jayachandran C035114f2013-03-23 17:27:59 +00008 Add an FDT blob for XLP EVP boards into the kernel.
Jayachandran C2f6528e2012-07-13 21:53:22 +05309 This DTB will be used if the firmware does not pass in a DTB
Jayachandran C035114f2013-03-23 17:27:59 +000010 pointer to the kernel. The corresponding DTS file is at
11 arch/mips/netlogic/dts/xlp_evp.dts
12
13config 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 Cbb1e4bc2012-10-31 12:01:40 +000021
22config 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
29if NLM_MULTINODE
30choice
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
36config NLM_MULTINODE_2
37 bool "Dual-XLP board"
38 help
39 Support boards with upto two XLPs connected over ICI.
40
41config NLM_MULTINODE_4
42 bool "Quad-XLP board"
43 help
44 Support boards with upto four XLPs connected over ICI.
45
46endchoice
47
48endif
Jayachandran C2f6528e2012-07-13 21:53:22 +053049endif
50
Jayachandran C7f058e82011-05-07 01:36:57 +053051config NLM_COMMON
52 bool
Jayachandran C2f6528e2012-07-13 21:53:22 +053053
Ganesan Ramalingam79f85112013-06-10 06:28:09 +000054config IOMMU_HELPER
55 bool
56
57config NEED_SG_DMA_LENGTH
58 bool
59
60config SWIOTLB
61 def_bool y
62 select NEED_SG_DMA_LENGTH
63 select IOMMU_HELPER
64
Jayachandran C2f6528e2012-07-13 21:53:22 +053065endif