blob: e6b003ec6716f9d6a6555f4728b0816bc4a7a1a4 [file] [log] [blame]
Ralf Baechle38b18f722005-02-03 14:28:23 +00001config SIBYTE_SB1250
2 bool
3 select HW_HAS_PCI
Ralf Baechleca6f5492007-03-09 12:17:32 +00004 select SIBYTE_ENABLE_LDT_IF_PCI
Mark Masond619f382007-03-29 11:39:56 -07005 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechle38b18f722005-02-03 14:28:23 +00006 select SIBYTE_SB1xxx_SOC
Ralf Baechlee73ea272006-06-04 11:51:46 +01007 select SYS_SUPPORTS_SMP
Ralf Baechle38b18f722005-02-03 14:28:23 +00008
9config SIBYTE_BCM1120
10 bool
11 select SIBYTE_BCM112X
Ralf Baechlebb9b8132007-03-09 15:59:56 +000012 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechle38b18f722005-02-03 14:28:23 +000013 select SIBYTE_SB1xxx_SOC
14
15config SIBYTE_BCM1125
16 bool
17 select HW_HAS_PCI
18 select SIBYTE_BCM112X
Ralf Baechlebb9b8132007-03-09 15:59:56 +000019 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechle38b18f722005-02-03 14:28:23 +000020 select SIBYTE_SB1xxx_SOC
21
22config SIBYTE_BCM1125H
23 bool
24 select HW_HAS_PCI
25 select SIBYTE_BCM112X
Ralf Baechleca6f5492007-03-09 12:17:32 +000026 select SIBYTE_ENABLE_LDT_IF_PCI
Ralf Baechlebb9b8132007-03-09 15:59:56 +000027 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechle38b18f722005-02-03 14:28:23 +000028 select SIBYTE_SB1xxx_SOC
29
30config SIBYTE_BCM112X
31 bool
32 select SIBYTE_SB1xxx_SOC
Ralf Baechlebb9b8132007-03-09 15:59:56 +000033 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechle38b18f722005-02-03 14:28:23 +000034
Andrew Isaacsonf137e462005-10-19 23:56:38 -070035config SIBYTE_BCM1x80
36 bool
37 select HW_HAS_PCI
Mark Masond619f382007-03-29 11:39:56 -070038 select SIBYTE_HAS_ZBUS_PROFILING
Andrew Isaacsonf137e462005-10-19 23:56:38 -070039 select SIBYTE_SB1xxx_SOC
Ralf Baechlee73ea272006-06-04 11:51:46 +010040 select SYS_SUPPORTS_SMP
Andrew Isaacsonf137e462005-10-19 23:56:38 -070041
42config SIBYTE_BCM1x55
43 bool
44 select HW_HAS_PCI
45 select SIBYTE_SB1xxx_SOC
Ralf Baechlebb9b8132007-03-09 15:59:56 +000046 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechlee73ea272006-06-04 11:51:46 +010047 select SYS_SUPPORTS_SMP
Andrew Isaacsonf137e462005-10-19 23:56:38 -070048
Ralf Baechle38b18f722005-02-03 14:28:23 +000049config 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
58choice
59 prompt "SiByte SOC Stepping"
60 depends on SIBYTE_SB1xxx_SOC
61
62config CPU_SB1_PASS_1
63 bool "1250 Pass1"
64 depends on SIBYTE_SB1250
65 select CPU_HAS_PREFETCH
66
67config 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
74config 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
81config 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
88config CPU_SB1_PASS_2_112x
89 bool "112x Hybrid"
90 depends on SIBYTE_BCM112X
91 select CPU_SB1_PASS_2
92
93config CPU_SB1_PASS_3
94 bool "112x An"
95 depends on SIBYTE_BCM112X
96 select CPU_HAS_PREFETCH
97
98endchoice
99
100config CPU_SB1_PASS_2
101 bool
102
103config SIBYTE_HAS_LDT
104 bool
Ralf Baechleca6f5492007-03-09 12:17:32 +0000105
106config SIBYTE_ENABLE_LDT_IF_PCI
107 bool
108 select SIBYTE_HAS_LDT if PCI
Ralf Baechle38b18f722005-02-03 14:28:23 +0000109
110config 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
Ralf Baechle77607632005-11-10 16:32:14 +0000117config SB1_CEX_ALWAYS_FATAL
Andrew Isaacsona4b5bd92005-10-19 23:57:40 -0700118 bool "All cache exceptions considered fatal (no recovery attempted)"
119 depends on SIBYTE_SB1xxx_SOC
120
Ralf Baechle77607632005-11-10 16:32:14 +0000121config SB1_CERR_STALL
Andrew Isaacsona4b5bd92005-10-19 23:57:40 -0700122 bool "Stall (rather than panic) on fatal cache error"
123 depends on SIBYTE_SB1xxx_SOC
124
Ralf Baechle38b18f722005-02-03 14:28:23 +0000125config SIBYTE_CFE
126 bool "Booting from CFE"
127 depends on SIBYTE_SB1xxx_SOC
Ralf Baechle36a88532007-03-01 11:56:43 +0000128 select SYS_HAS_EARLY_PRINTK
Ralf Baechle38b18f722005-02-03 14:28:23 +0000129 help
130 Make use of the CFE API for enumerating available memory,
131 controlling secondary CPUs, and possibly console output.
132
133config 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
141config SIBYTE_STANDALONE
142 bool
143 depends on SIBYTE_SB1xxx_SOC && !SIBYTE_CFE
Ralf Baechle36a88532007-03-01 11:56:43 +0000144 select SYS_HAS_EARLY_PRINTK
Ralf Baechle38b18f722005-02-03 14:28:23 +0000145 default y
146
147config SIBYTE_STANDALONE_RAM_SIZE
148 int "Memory size (in megabytes)"
149 depends on SIBYTE_STANDALONE
150 default "32"
151
152config 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
159config 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
169config SIBYTE_SB1250_PROF
170 bool "Support for SB1/SOC profiling - SB1/SCD perf counters"
171 depends on SIBYTE_SB1xxx_SOC
172
173config SIBYTE_TBPROF
Ralf Baechlebb9b8132007-03-09 15:59:56 +0000174 tristate "Support for ZBbus profiling"
175 depends on SIBYTE_HAS_ZBUS_PROFILING
176
177config SIBYTE_HAS_ZBUS_PROFILING
178 bool