License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / mips / sibyte / Kconfig
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
38b18f72
RB
2config SIBYTE_SB1250
3 bool
217dd11e
RB
4 select CEVT_SB1250
5 select CSRC_SB1250
38b18f72 6 select HW_HAS_PCI
67e38cf2 7 select IRQ_MIPS_CPU
ca6f5494 8 select SIBYTE_ENABLE_LDT_IF_PCI
d619f38f 9 select SIBYTE_HAS_ZBUS_PROFILING
38b18f72 10 select SIBYTE_SB1xxx_SOC
e73ea273 11 select SYS_SUPPORTS_SMP
38b18f72
RB
12
13config SIBYTE_BCM1120
14 bool
217dd11e
RB
15 select CEVT_SB1250
16 select CSRC_SB1250
67e38cf2 17 select IRQ_MIPS_CPU
38b18f72 18 select SIBYTE_BCM112X
bb9b813b 19 select SIBYTE_HAS_ZBUS_PROFILING
38b18f72
RB
20 select SIBYTE_SB1xxx_SOC
21
22config SIBYTE_BCM1125
23 bool
217dd11e
RB
24 select CEVT_SB1250
25 select CSRC_SB1250
38b18f72 26 select HW_HAS_PCI
67e38cf2 27 select IRQ_MIPS_CPU
38b18f72 28 select SIBYTE_BCM112X
bb9b813b 29 select SIBYTE_HAS_ZBUS_PROFILING
38b18f72
RB
30 select SIBYTE_SB1xxx_SOC
31
32config SIBYTE_BCM1125H
33 bool
217dd11e
RB
34 select CEVT_SB1250
35 select CSRC_SB1250
38b18f72 36 select HW_HAS_PCI
67e38cf2 37 select IRQ_MIPS_CPU
38b18f72 38 select SIBYTE_BCM112X
ca6f5494 39 select SIBYTE_ENABLE_LDT_IF_PCI
bb9b813b 40 select SIBYTE_HAS_ZBUS_PROFILING
38b18f72
RB
41 select SIBYTE_SB1xxx_SOC
42
43config SIBYTE_BCM112X
44 bool
217dd11e
RB
45 select CEVT_SB1250
46 select CSRC_SB1250
67e38cf2 47 select IRQ_MIPS_CPU
38b18f72 48 select SIBYTE_SB1xxx_SOC
bb9b813b 49 select SIBYTE_HAS_ZBUS_PROFILING
38b18f72 50
f137e463
AI
51config SIBYTE_BCM1x80
52 bool
217dd11e
RB
53 select CEVT_BCM1480
54 select CSRC_BCM1480
f137e463 55 select HW_HAS_PCI
67e38cf2 56 select IRQ_MIPS_CPU
d619f38f 57 select SIBYTE_HAS_ZBUS_PROFILING
f137e463 58 select SIBYTE_SB1xxx_SOC
e73ea273 59 select SYS_SUPPORTS_SMP
f137e463
AI
60
61config SIBYTE_BCM1x55
62 bool
217dd11e
RB
63 select CEVT_BCM1480
64 select CSRC_BCM1480
f137e463 65 select HW_HAS_PCI
67e38cf2 66 select IRQ_MIPS_CPU
f137e463 67 select SIBYTE_SB1xxx_SOC
bb9b813b 68 select SIBYTE_HAS_ZBUS_PROFILING
e73ea273 69 select SYS_SUPPORTS_SMP
f137e463 70
38b18f72
RB
71config SIBYTE_SB1xxx_SOC
72 bool
38b18f72 73 select DMA_COHERENT
67e38cf2 74 select IRQ_MIPS_CPU
38b18f72
RB
75 select SWAP_IO_SPACE
76 select SYS_SUPPORTS_32BIT_KERNEL
77 select SYS_SUPPORTS_64BIT_KERNEL
0e2794b0 78 select FW_CFE
05f94eeb 79 select SYS_HAS_EARLY_PRINTK
38b18f72
RB
80
81choice
82 prompt "SiByte SOC Stepping"
83 depends on SIBYTE_SB1xxx_SOC
84
38b18f72
RB
85config CPU_SB1_PASS_2_1250
86 bool "1250 An"
87 depends on SIBYTE_SB1250
88 select CPU_SB1_PASS_2
89 help
90 Also called BCM1250 Pass 2
91
92config CPU_SB1_PASS_2_2
93 bool "1250 Bn"
94 depends on SIBYTE_SB1250
95 select CPU_HAS_PREFETCH
96 help
97 Also called BCM1250 Pass 2.2
98
99config CPU_SB1_PASS_4
100 bool "1250 Cn"
101 depends on SIBYTE_SB1250
102 select CPU_HAS_PREFETCH
103 help
104 Also called BCM1250 Pass 3
105
106config CPU_SB1_PASS_2_112x
107 bool "112x Hybrid"
108 depends on SIBYTE_BCM112X
109 select CPU_SB1_PASS_2
110
111config CPU_SB1_PASS_3
112 bool "112x An"
113 depends on SIBYTE_BCM112X
114 select CPU_HAS_PREFETCH
115
116endchoice
117
118config CPU_SB1_PASS_2
119 bool
120
121config SIBYTE_HAS_LDT
122 bool
ca6f5494
RB
123
124config SIBYTE_ENABLE_LDT_IF_PCI
125 bool
126 select SIBYTE_HAS_LDT if PCI
38b18f72 127
77607635 128config SB1_CEX_ALWAYS_FATAL
a4b5bd9a
AI
129 bool "All cache exceptions considered fatal (no recovery attempted)"
130 depends on SIBYTE_SB1xxx_SOC
131
77607635 132config SB1_CERR_STALL
a4b5bd9a
AI
133 bool "Stall (rather than panic) on fatal cache error"
134 depends on SIBYTE_SB1xxx_SOC
135
38b18f72
RB
136config SIBYTE_CFE_CONSOLE
137 bool "Use firmware console"
05f94eeb 138 depends on SIBYTE_SB1xxx_SOC
38b18f72
RB
139 help
140 Use the CFE API's console write routines during boot. Other console
141 options (VT console, sb1250 duart console, etc.) should not be
142 configured.
143
38b18f72
RB
144config SIBYTE_BUS_WATCHER
145 bool "Support for Bus Watcher statistics"
6793f55c 146 depends on SIBYTE_SB1xxx_SOC && \
54292850
AR
147 (SIBYTE_BCM112X || SIBYTE_SB1250 || \
148 SIBYTE_BCM1x55 || SIBYTE_BCM1x80)
38b18f72
RB
149 help
150 Handle and keep statistics on the bus error interrupts (COR_ECC,
151 BAD_ECC, IO_BUS).
152
153config SIBYTE_BW_TRACE
154 bool "Capture bus trace before bus error"
155 depends on SIBYTE_BUS_WATCHER
156 help
157 Run a continuous bus trace, dumping the raw data as soon as
158 a ZBbus error is detected. Cannot work if ZBbus profiling
159 is turned on, and also will interfere with JTAG-based trace
160 buffer activity. Raw buffer data is dumped to console, and
161 must be processed off-line.
162
38b18f72 163config SIBYTE_TBPROF
bb9b813b
RB
164 tristate "Support for ZBbus profiling"
165 depends on SIBYTE_HAS_ZBUS_PROFILING
166
167config SIBYTE_HAS_ZBUS_PROFILING
168 bool