blob: 3e639bda43f798091c9ec78ba1714da8ac385764 [file] [log] [blame]
Ralf Baechle38b18f722005-02-03 14:28:23 +00001config SIBYTE_SB1250
2 bool
Ralf Baechle217dd112007-11-01 01:57:55 +00003 select CEVT_SB1250
4 select CSRC_SB1250
Ralf Baechle38b18f722005-02-03 14:28:23 +00005 select HW_HAS_PCI
Ralf Baechle7bcf7712007-10-11 23:46:09 +01006 select IRQ_CPU
Ralf Baechleca6f5492007-03-09 12:17:32 +00007 select SIBYTE_ENABLE_LDT_IF_PCI
Mark Masond619f382007-03-29 11:39:56 -07008 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechle38b18f722005-02-03 14:28:23 +00009 select SIBYTE_SB1xxx_SOC
Ralf Baechlee73ea272006-06-04 11:51:46 +010010 select SYS_SUPPORTS_SMP
Ralf Baechle38b18f722005-02-03 14:28:23 +000011
12config SIBYTE_BCM1120
13 bool
Ralf Baechle217dd112007-11-01 01:57:55 +000014 select CEVT_SB1250
15 select CSRC_SB1250
Ralf Baechle7bcf7712007-10-11 23:46:09 +010016 select IRQ_CPU
Ralf Baechle38b18f722005-02-03 14:28:23 +000017 select SIBYTE_BCM112X
Ralf Baechlebb9b8132007-03-09 15:59:56 +000018 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechle38b18f722005-02-03 14:28:23 +000019 select SIBYTE_SB1xxx_SOC
20
21config SIBYTE_BCM1125
22 bool
Ralf Baechle217dd112007-11-01 01:57:55 +000023 select CEVT_SB1250
24 select CSRC_SB1250
Ralf Baechle38b18f722005-02-03 14:28:23 +000025 select HW_HAS_PCI
Ralf Baechle7bcf7712007-10-11 23:46:09 +010026 select IRQ_CPU
Ralf Baechle38b18f722005-02-03 14:28:23 +000027 select SIBYTE_BCM112X
Ralf Baechlebb9b8132007-03-09 15:59:56 +000028 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechle38b18f722005-02-03 14:28:23 +000029 select SIBYTE_SB1xxx_SOC
30
31config SIBYTE_BCM1125H
32 bool
Ralf Baechle217dd112007-11-01 01:57:55 +000033 select CEVT_SB1250
34 select CSRC_SB1250
Ralf Baechle38b18f722005-02-03 14:28:23 +000035 select HW_HAS_PCI
Ralf Baechle7bcf7712007-10-11 23:46:09 +010036 select IRQ_CPU
Ralf Baechle38b18f722005-02-03 14:28:23 +000037 select SIBYTE_BCM112X
Ralf Baechleca6f5492007-03-09 12:17:32 +000038 select SIBYTE_ENABLE_LDT_IF_PCI
Ralf Baechlebb9b8132007-03-09 15:59:56 +000039 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechle38b18f722005-02-03 14:28:23 +000040 select SIBYTE_SB1xxx_SOC
41
42config SIBYTE_BCM112X
43 bool
Ralf Baechle217dd112007-11-01 01:57:55 +000044 select CEVT_SB1250
45 select CSRC_SB1250
Ralf Baechle7bcf7712007-10-11 23:46:09 +010046 select IRQ_CPU
Ralf Baechle38b18f722005-02-03 14:28:23 +000047 select SIBYTE_SB1xxx_SOC
Ralf Baechlebb9b8132007-03-09 15:59:56 +000048 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechle38b18f722005-02-03 14:28:23 +000049
Andrew Isaacsonf137e462005-10-19 23:56:38 -070050config SIBYTE_BCM1x80
51 bool
Ralf Baechle217dd112007-11-01 01:57:55 +000052 select CEVT_BCM1480
53 select CSRC_BCM1480
Andrew Isaacsonf137e462005-10-19 23:56:38 -070054 select HW_HAS_PCI
Ralf Baechle7bcf7712007-10-11 23:46:09 +010055 select IRQ_CPU
Mark Masond619f382007-03-29 11:39:56 -070056 select SIBYTE_HAS_ZBUS_PROFILING
Andrew Isaacsonf137e462005-10-19 23:56:38 -070057 select SIBYTE_SB1xxx_SOC
Ralf Baechlee73ea272006-06-04 11:51:46 +010058 select SYS_SUPPORTS_SMP
Andrew Isaacsonf137e462005-10-19 23:56:38 -070059
60config SIBYTE_BCM1x55
61 bool
Ralf Baechle217dd112007-11-01 01:57:55 +000062 select CEVT_BCM1480
63 select CSRC_BCM1480
Andrew Isaacsonf137e462005-10-19 23:56:38 -070064 select HW_HAS_PCI
Ralf Baechle7bcf7712007-10-11 23:46:09 +010065 select IRQ_CPU
Andrew Isaacsonf137e462005-10-19 23:56:38 -070066 select SIBYTE_SB1xxx_SOC
Ralf Baechlebb9b8132007-03-09 15:59:56 +000067 select SIBYTE_HAS_ZBUS_PROFILING
Ralf Baechlee73ea272006-06-04 11:51:46 +010068 select SYS_SUPPORTS_SMP
Andrew Isaacsonf137e462005-10-19 23:56:38 -070069
Ralf Baechle38b18f722005-02-03 14:28:23 +000070config SIBYTE_SB1xxx_SOC
71 bool
Ralf Baechle38b18f722005-02-03 14:28:23 +000072 select DMA_COHERENT
Ralf Baechle7bcf7712007-10-11 23:46:09 +010073 select IRQ_CPU
Ralf Baechle38b18f722005-02-03 14:28:23 +000074 select SIBYTE_CFE
75 select SWAP_IO_SPACE
76 select SYS_SUPPORTS_32BIT_KERNEL
77 select SYS_SUPPORTS_64BIT_KERNEL
Imre Kaloz05f94ee2009-06-02 14:22:06 +020078 select CFE
79 select SYS_HAS_EARLY_PRINTK
Ralf Baechle38b18f722005-02-03 14:28:23 +000080
81choice
82 prompt "SiByte SOC Stepping"
83 depends on SIBYTE_SB1xxx_SOC
84
85config CPU_SB1_PASS_1
86 bool "1250 Pass1"
87 depends on SIBYTE_SB1250
88 select CPU_HAS_PREFETCH
89
90config CPU_SB1_PASS_2_1250
91 bool "1250 An"
92 depends on SIBYTE_SB1250
93 select CPU_SB1_PASS_2
94 help
95 Also called BCM1250 Pass 2
96
97config CPU_SB1_PASS_2_2
98 bool "1250 Bn"
99 depends on SIBYTE_SB1250
100 select CPU_HAS_PREFETCH
101 help
102 Also called BCM1250 Pass 2.2
103
104config CPU_SB1_PASS_4
105 bool "1250 Cn"
106 depends on SIBYTE_SB1250
107 select CPU_HAS_PREFETCH
108 help
109 Also called BCM1250 Pass 3
110
111config CPU_SB1_PASS_2_112x
112 bool "112x Hybrid"
113 depends on SIBYTE_BCM112X
114 select CPU_SB1_PASS_2
115
116config CPU_SB1_PASS_3
117 bool "112x An"
118 depends on SIBYTE_BCM112X
119 select CPU_HAS_PREFETCH
120
121endchoice
122
123config CPU_SB1_PASS_2
124 bool
125
126config SIBYTE_HAS_LDT
127 bool
Ralf Baechleca6f5492007-03-09 12:17:32 +0000128
129config SIBYTE_ENABLE_LDT_IF_PCI
130 bool
131 select SIBYTE_HAS_LDT if PCI
Ralf Baechle38b18f722005-02-03 14:28:23 +0000132
Ralf Baechle77607632005-11-10 16:32:14 +0000133config SB1_CEX_ALWAYS_FATAL
Andrew Isaacsona4b5bd92005-10-19 23:57:40 -0700134 bool "All cache exceptions considered fatal (no recovery attempted)"
135 depends on SIBYTE_SB1xxx_SOC
136
Ralf Baechle77607632005-11-10 16:32:14 +0000137config SB1_CERR_STALL
Andrew Isaacsona4b5bd92005-10-19 23:57:40 -0700138 bool "Stall (rather than panic) on fatal cache error"
139 depends on SIBYTE_SB1xxx_SOC
140
Ralf Baechle38b18f722005-02-03 14:28:23 +0000141config SIBYTE_CFE_CONSOLE
142 bool "Use firmware console"
Imre Kaloz05f94ee2009-06-02 14:22:06 +0200143 depends on SIBYTE_SB1xxx_SOC
Ralf Baechle38b18f722005-02-03 14:28:23 +0000144 help
145 Use the CFE API's console write routines during boot. Other console
146 options (VT console, sb1250 duart console, etc.) should not be
147 configured.
148
Ralf Baechle38b18f722005-02-03 14:28:23 +0000149config SIBYTE_BUS_WATCHER
150 bool "Support for Bus Watcher statistics"
151 depends on SIBYTE_SB1xxx_SOC
152 help
153 Handle and keep statistics on the bus error interrupts (COR_ECC,
154 BAD_ECC, IO_BUS).
155
156config SIBYTE_BW_TRACE
157 bool "Capture bus trace before bus error"
158 depends on SIBYTE_BUS_WATCHER
159 help
160 Run a continuous bus trace, dumping the raw data as soon as
161 a ZBbus error is detected. Cannot work if ZBbus profiling
162 is turned on, and also will interfere with JTAG-based trace
163 buffer activity. Raw buffer data is dumped to console, and
164 must be processed off-line.
165
Ralf Baechle38b18f722005-02-03 14:28:23 +0000166config SIBYTE_TBPROF
Ralf Baechlebb9b8132007-03-09 15:59:56 +0000167 tristate "Support for ZBbus profiling"
168 depends on SIBYTE_HAS_ZBUS_PROFILING
169
170config SIBYTE_HAS_ZBUS_PROFILING
171 bool