Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / arch / mips / netlogic / Kconfig
1 if NLM_XLP_BOARD || NLM_XLR_BOARD
2
3 if NLM_XLP_BOARD
4 config DT_XLP_EVP
5         bool "Built-in device tree for XLP EVP boards"
6         default y
7         help
8           Add an FDT blob for XLP EVP boards into the kernel.
9           This DTB will be used if the firmware does not pass in a DTB
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
21
22 config DT_XLP_FVP
23         bool "Built-in device tree for XLP FVP boards"
24         default y
25         help
26           Add an FDT blob for XLP FVP board into the kernel.
27           This DTB will be used if the firmware does not pass in a DTB
28           pointer to the kernel.  The corresponding DTS file is at
29           arch/mips/netlogic/dts/xlp_fvp.dts
30
31 config NLM_MULTINODE
32         bool "Support for multi-chip boards"
33         depends on NLM_XLP_BOARD
34         default n
35         help
36           Add support for boards with 2 or 4 XLPs connected over ICI.
37
38 if NLM_MULTINODE
39 choice
40         prompt "Number of XLPs on the board"
41         default NLM_MULTINODE_2
42         help
43           In the multi-node case, specify the number of SoCs on the board.
44
45 config NLM_MULTINODE_2
46         bool "Dual-XLP board"
47         help
48           Support boards with upto two XLPs connected over ICI.
49
50 config NLM_MULTINODE_4
51         bool "Quad-XLP board"
52         help
53           Support boards with upto four XLPs connected over ICI.
54
55 endchoice
56
57 endif
58 endif
59
60 config NLM_COMMON
61         bool
62
63 config IOMMU_HELPER
64         bool
65
66 config NEED_SG_DMA_LENGTH
67         bool
68
69 config SWIOTLB
70         def_bool y
71         select NEED_SG_DMA_LENGTH
72         select IOMMU_HELPER
73
74 endif