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