blob: 0823321c10e0744be05d11236b2ac47f2e5e275e [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
Andrew Bresticker36094612014-08-21 13:04:25 -07007 select BUILTIN_DTB
Jayachandran C2f6528e2012-07-13 21:53:22 +05308 help
Jayachandran C035114f2013-03-23 17:27:59 +00009 Add an FDT blob for XLP EVP boards into the kernel.
Jayachandran C2f6528e2012-07-13 21:53:22 +053010 This DTB will be used if the firmware does not pass in a DTB
Jayachandran C035114f2013-03-23 17:27:59 +000011 pointer to the kernel. The corresponding DTS file is at
12 arch/mips/netlogic/dts/xlp_evp.dts
13
14config DT_XLP_SVP
15 bool "Built-in device tree for XLP SVP boards"
16 default y
Andrew Bresticker36094612014-08-21 13:04:25 -070017 select BUILTIN_DTB
Jayachandran C035114f2013-03-23 17:27:59 +000018 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 Cbb1e4bc2012-10-31 12:01:40 +000023
Ganesan Ramalingam1cf0e1b2013-08-11 14:44:00 +053024config DT_XLP_FVP
25 bool "Built-in device tree for XLP FVP boards"
26 default y
Andrew Bresticker36094612014-08-21 13:04:25 -070027 select BUILTIN_DTB
Ganesan Ramalingam1cf0e1b2013-08-11 14:44:00 +053028 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 Ca17fca62013-12-21 16:52:30 +053034config DT_XLP_GVP
35 bool "Built-in device tree for XLP GVP boards"
36 default y
Andrew Bresticker36094612014-08-21 13:04:25 -070037 select BUILTIN_DTB
Jayachandran Ca17fca62013-12-21 16:52:30 +053038 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
Jayachandran Cbb1e4bc2012-10-31 12:01:40 +000044config NLM_MULTINODE
45 bool "Support for multi-chip boards"
46 depends on NLM_XLP_BOARD
47 default n
48 help
49 Add support for boards with 2 or 4 XLPs connected over ICI.
50
51if NLM_MULTINODE
52choice
53 prompt "Number of XLPs on the board"
54 default NLM_MULTINODE_2
55 help
56 In the multi-node case, specify the number of SoCs on the board.
57
58config NLM_MULTINODE_2
59 bool "Dual-XLP board"
60 help
61 Support boards with upto two XLPs connected over ICI.
62
63config NLM_MULTINODE_4
64 bool "Quad-XLP board"
65 help
66 Support boards with upto four XLPs connected over ICI.
67
68endchoice
69
70endif
Jayachandran C2f6528e2012-07-13 21:53:22 +053071endif
72
Jayachandran C7f058e82011-05-07 01:36:57 +053073config NLM_COMMON
74 bool
Jayachandran C2f6528e2012-07-13 21:53:22 +053075
Ganesan Ramalingam79f85112013-06-10 06:28:09 +000076config IOMMU_HELPER
77 bool
78
79config NEED_SG_DMA_LENGTH
80 bool
81
82config SWIOTLB
83 def_bool y
84 select NEED_SG_DMA_LENGTH
85 select IOMMU_HELPER
86
Jayachandran C2f6528e2012-07-13 21:53:22 +053087endif