Merge tag 'vfio-v3.20-rc1' of git://github.com/awilliam/linux-vfio
[firefly-linux-kernel-4.4.55.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         select BUILTIN_DTB
8         help
9           Add an FDT blob for XLP EVP boards into the kernel.
10           This DTB will be used if the firmware does not pass in a DTB
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
17         select BUILTIN_DTB
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
23
24 config DT_XLP_FVP
25         bool "Built-in device tree for XLP FVP boards"
26         default y
27         select BUILTIN_DTB
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
34 config DT_XLP_GVP
35         bool "Built-in device tree for XLP GVP boards"
36         default y
37         select BUILTIN_DTB
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
44 config 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
51 if NLM_MULTINODE
52 choice
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
58 config NLM_MULTINODE_2
59         bool "Dual-XLP board"
60         help
61           Support boards with upto two XLPs connected over ICI.
62
63 config NLM_MULTINODE_4
64         bool "Quad-XLP board"
65         help
66           Support boards with upto four XLPs connected over ICI.
67
68 endchoice
69
70 endif
71 endif
72
73 config NLM_COMMON
74         bool
75
76 config IOMMU_HELPER
77         bool
78
79 config NEED_SG_DMA_LENGTH
80         bool
81
82 config SWIOTLB
83         def_bool y
84         select NEED_SG_DMA_LENGTH
85         select IOMMU_HELPER
86
87 endif