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