Pull thermal into release branch
[linux-drm-fsl-dcu.git] / arch / mips / sibyte / Kconfig
1 config SIBYTE_SB1250
2         bool
3         select HW_HAS_PCI
4         select SIBYTE_ENABLE_LDT_IF_PCI
5         select SIBYTE_HAS_ZBUS_PROFILING
6         select SIBYTE_SB1xxx_SOC
7         select SYS_SUPPORTS_SMP
8
9 config SIBYTE_BCM1120
10         bool
11         select SIBYTE_BCM112X
12         select SIBYTE_HAS_ZBUS_PROFILING
13         select SIBYTE_SB1xxx_SOC
14
15 config SIBYTE_BCM1125
16         bool
17         select HW_HAS_PCI
18         select SIBYTE_BCM112X
19         select SIBYTE_HAS_ZBUS_PROFILING
20         select SIBYTE_SB1xxx_SOC
21
22 config SIBYTE_BCM1125H
23         bool
24         select HW_HAS_PCI
25         select SIBYTE_BCM112X
26         select SIBYTE_ENABLE_LDT_IF_PCI
27         select SIBYTE_HAS_ZBUS_PROFILING
28         select SIBYTE_SB1xxx_SOC
29
30 config SIBYTE_BCM112X
31         bool
32         select SIBYTE_SB1xxx_SOC
33         select SIBYTE_HAS_ZBUS_PROFILING
34
35 config SIBYTE_BCM1x80
36         bool
37         select HW_HAS_PCI
38         select SIBYTE_HAS_ZBUS_PROFILING
39         select SIBYTE_SB1xxx_SOC
40         select SYS_SUPPORTS_SMP
41
42 config SIBYTE_BCM1x55
43         bool
44         select HW_HAS_PCI
45         select SIBYTE_SB1xxx_SOC
46         select SIBYTE_HAS_ZBUS_PROFILING
47         select SYS_SUPPORTS_SMP
48
49 config SIBYTE_SB1xxx_SOC
50         bool
51         depends on EXPERIMENTAL
52         select DMA_COHERENT
53         select SIBYTE_CFE
54         select SWAP_IO_SPACE
55         select SYS_SUPPORTS_32BIT_KERNEL
56         select SYS_SUPPORTS_64BIT_KERNEL
57
58 choice
59         prompt "SiByte SOC Stepping"
60         depends on SIBYTE_SB1xxx_SOC
61
62 config CPU_SB1_PASS_1
63         bool "1250 Pass1"
64         depends on SIBYTE_SB1250
65         select CPU_HAS_PREFETCH
66
67 config CPU_SB1_PASS_2_1250
68         bool "1250 An"
69         depends on SIBYTE_SB1250
70         select CPU_SB1_PASS_2
71         help
72           Also called BCM1250 Pass 2
73
74 config CPU_SB1_PASS_2_2
75         bool "1250 Bn"
76         depends on SIBYTE_SB1250
77         select CPU_HAS_PREFETCH
78         help
79           Also called BCM1250 Pass 2.2
80
81 config CPU_SB1_PASS_4
82         bool "1250 Cn"
83         depends on SIBYTE_SB1250
84         select CPU_HAS_PREFETCH
85         help
86           Also called BCM1250 Pass 3
87
88 config CPU_SB1_PASS_2_112x
89         bool "112x Hybrid"
90         depends on SIBYTE_BCM112X
91         select CPU_SB1_PASS_2
92
93 config CPU_SB1_PASS_3
94         bool "112x An"
95         depends on SIBYTE_BCM112X
96         select CPU_HAS_PREFETCH
97
98 endchoice
99
100 config CPU_SB1_PASS_2
101         bool
102
103 config SIBYTE_HAS_LDT
104         bool
105
106 config SIBYTE_ENABLE_LDT_IF_PCI
107         bool
108         select SIBYTE_HAS_LDT if PCI
109
110 config SIMULATION
111         bool "Running under simulation"
112         depends on SIBYTE_SB1xxx_SOC
113         help
114           Build a kernel suitable for running under the GDB simulator.
115           Primarily adjusts the kernel's notion of time.
116
117 config SB1_CEX_ALWAYS_FATAL
118         bool "All cache exceptions considered fatal (no recovery attempted)"
119         depends on SIBYTE_SB1xxx_SOC
120
121 config SB1_CERR_STALL
122         bool "Stall (rather than panic) on fatal cache error"
123         depends on SIBYTE_SB1xxx_SOC
124
125 config SIBYTE_CFE
126         bool "Booting from CFE"
127         depends on SIBYTE_SB1xxx_SOC
128         select SYS_HAS_EARLY_PRINTK
129         help
130           Make use of the CFE API for enumerating available memory,
131           controlling secondary CPUs, and possibly console output.
132
133 config SIBYTE_CFE_CONSOLE
134         bool "Use firmware console"
135         depends on SIBYTE_CFE
136         help
137           Use the CFE API's console write routines during boot.  Other console
138           options (VT console, sb1250 duart console, etc.) should not be
139           configured.
140
141 config SIBYTE_STANDALONE
142         bool
143         depends on SIBYTE_SB1xxx_SOC && !SIBYTE_CFE
144         select SYS_HAS_EARLY_PRINTK
145         default y
146
147 config SIBYTE_STANDALONE_RAM_SIZE
148         int "Memory size (in megabytes)"
149         depends on SIBYTE_STANDALONE
150         default "32"
151
152 config SIBYTE_BUS_WATCHER
153         bool "Support for Bus Watcher statistics"
154         depends on SIBYTE_SB1xxx_SOC
155         help
156           Handle and keep statistics on the bus error interrupts (COR_ECC,
157           BAD_ECC, IO_BUS).
158
159 config SIBYTE_BW_TRACE
160         bool "Capture bus trace before bus error"
161         depends on SIBYTE_BUS_WATCHER
162         help
163           Run a continuous bus trace, dumping the raw data as soon as
164           a ZBbus error is detected.  Cannot work if ZBbus profiling
165           is turned on, and also will interfere with JTAG-based trace
166           buffer activity.  Raw buffer data is dumped to console, and
167           must be processed off-line.
168
169 config SIBYTE_SB1250_PROF
170         bool "Support for SB1/SOC profiling - SB1/SCD perf counters"
171         depends on SIBYTE_SB1xxx_SOC
172
173 config SIBYTE_TBPROF
174         tristate "Support for ZBbus profiling"
175         depends on SIBYTE_HAS_ZBUS_PROFILING
176
177 config SIBYTE_HAS_ZBUS_PROFILING
178         bool