blob: cb9a095f5c5ec082188d21b96619c4fcb5fda7a0 [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 Baechle67e38cf2015-05-26 18:20:06 +02006 select IRQ_MIPS_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 Baechle67e38cf2015-05-26 18:20:06 +020016 select IRQ_MIPS_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 Baechle67e38cf2015-05-26 18:20:06 +020026 select IRQ_MIPS_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 Baechle67e38cf2015-05-26 18:20:06 +020036 select IRQ_MIPS_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 Baechle67e38cf2015-05-26 18:20:06 +020046 select IRQ_MIPS_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 Baechle67e38cf2015-05-26 18:20:06 +020055 select IRQ_MIPS_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 Baechle67e38cf2015-05-26 18:20:06 +020065 select IRQ_MIPS_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 Baechle67e38cf2015-05-26 18:20:06 +020073 select IRQ_MIPS_CPU
Ralf Baechle38b18f722005-02-03 14:28:23 +000074 select SWAP_IO_SPACE
75 select SYS_SUPPORTS_32BIT_KERNEL
76 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle0e2794b2012-11-15 20:48:50 +010077 select FW_CFE
Imre Kaloz05f94ee2009-06-02 14:22:06 +020078 select SYS_HAS_EARLY_PRINTK
Ralf Baechle38b18f722005-02-03 14:28:23 +000079
80choice
81 prompt "SiByte SOC Stepping"
82 depends on SIBYTE_SB1xxx_SOC
83
Ralf Baechle38b18f722005-02-03 14:28:23 +000084config CPU_SB1_PASS_2_1250
85 bool "1250 An"
86 depends on SIBYTE_SB1250
87 select CPU_SB1_PASS_2
88 help
89 Also called BCM1250 Pass 2
90
91config CPU_SB1_PASS_2_2
92 bool "1250 Bn"
93 depends on SIBYTE_SB1250
94 select CPU_HAS_PREFETCH
95 help
96 Also called BCM1250 Pass 2.2
97
98config CPU_SB1_PASS_4
99 bool "1250 Cn"
100 depends on SIBYTE_SB1250
101 select CPU_HAS_PREFETCH
102 help
103 Also called BCM1250 Pass 3
104
105config CPU_SB1_PASS_2_112x
106 bool "112x Hybrid"
107 depends on SIBYTE_BCM112X
108 select CPU_SB1_PASS_2
109
110config CPU_SB1_PASS_3
111 bool "112x An"
112 depends on SIBYTE_BCM112X
113 select CPU_HAS_PREFETCH
114
115endchoice
116
117config CPU_SB1_PASS_2
118 bool
119
120config SIBYTE_HAS_LDT
121 bool
Ralf Baechleca6f5492007-03-09 12:17:32 +0000122
123config SIBYTE_ENABLE_LDT_IF_PCI
124 bool
125 select SIBYTE_HAS_LDT if PCI
Ralf Baechle38b18f722005-02-03 14:28:23 +0000126
Ralf Baechle77607632005-11-10 16:32:14 +0000127config SB1_CEX_ALWAYS_FATAL
Andrew Isaacsona4b5bd92005-10-19 23:57:40 -0700128 bool "All cache exceptions considered fatal (no recovery attempted)"
129 depends on SIBYTE_SB1xxx_SOC
130
Ralf Baechle77607632005-11-10 16:32:14 +0000131config SB1_CERR_STALL
Andrew Isaacsona4b5bd92005-10-19 23:57:40 -0700132 bool "Stall (rather than panic) on fatal cache error"
133 depends on SIBYTE_SB1xxx_SOC
134
Ralf Baechle38b18f722005-02-03 14:28:23 +0000135config SIBYTE_CFE_CONSOLE
136 bool "Use firmware console"
Imre Kaloz05f94ee2009-06-02 14:22:06 +0200137 depends on SIBYTE_SB1xxx_SOC
Ralf Baechle38b18f722005-02-03 14:28:23 +0000138 help
139 Use the CFE API's console write routines during boot. Other console
140 options (VT console, sb1250 duart console, etc.) should not be
141 configured.
142
Ralf Baechle38b18f722005-02-03 14:28:23 +0000143config SIBYTE_BUS_WATCHER
144 bool "Support for Bus Watcher statistics"
Markos Chandras6793f552013-06-17 13:00:38 +0000145 depends on SIBYTE_SB1xxx_SOC && \
146 (SIBYTE_BCM112X || SIBYTE_SB1250)
Ralf Baechle38b18f722005-02-03 14:28:23 +0000147 help
148 Handle and keep statistics on the bus error interrupts (COR_ECC,
149 BAD_ECC, IO_BUS).
150
151config SIBYTE_BW_TRACE
152 bool "Capture bus trace before bus error"
153 depends on SIBYTE_BUS_WATCHER
154 help
155 Run a continuous bus trace, dumping the raw data as soon as
156 a ZBbus error is detected. Cannot work if ZBbus profiling
157 is turned on, and also will interfere with JTAG-based trace
158 buffer activity. Raw buffer data is dumped to console, and
159 must be processed off-line.
160
Ralf Baechle38b18f722005-02-03 14:28:23 +0000161config SIBYTE_TBPROF
Ralf Baechlebb9b8132007-03-09 15:59:56 +0000162 tristate "Support for ZBbus profiling"
163 depends on SIBYTE_HAS_ZBUS_PROFILING
164
165config SIBYTE_HAS_ZBUS_PROFILING
166 bool