xref: /linux/arch/mips/sibyte/Kconfig (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
238b18f72SRalf Baechleconfig SIBYTE_SB1250
338b18f72SRalf Baechle	bool
4217dd11eSRalf Baechle	select CEVT_SB1250
5217dd11eSRalf Baechle	select CSRC_SB1250
6eb01d42aSChristoph Hellwig	select HAVE_PCI
767e38cf2SRalf Baechle	select IRQ_MIPS_CPU
8ca6f5494SRalf Baechle	select SIBYTE_ENABLE_LDT_IF_PCI
9d619f38fSMark Mason	select SIBYTE_HAS_ZBUS_PROFILING
1038b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
11e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
1238b18f72SRalf Baechle
1338b18f72SRalf Baechleconfig SIBYTE_BCM1125
1438b18f72SRalf Baechle	bool
15217dd11eSRalf Baechle	select CEVT_SB1250
16217dd11eSRalf Baechle	select CSRC_SB1250
17eb01d42aSChristoph Hellwig	select HAVE_PCI
1867e38cf2SRalf Baechle	select IRQ_MIPS_CPU
1938b18f72SRalf Baechle	select SIBYTE_BCM112X
20bb9b813bSRalf Baechle	select SIBYTE_HAS_ZBUS_PROFILING
2138b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
2238b18f72SRalf Baechle
2338b18f72SRalf Baechleconfig SIBYTE_BCM112X
2438b18f72SRalf Baechle	bool
25217dd11eSRalf Baechle	select CEVT_SB1250
26217dd11eSRalf Baechle	select CSRC_SB1250
2767e38cf2SRalf Baechle	select IRQ_MIPS_CPU
2838b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
29bb9b813bSRalf Baechle	select SIBYTE_HAS_ZBUS_PROFILING
3038b18f72SRalf Baechle
31f137e463SAndrew Isaacsonconfig SIBYTE_BCM1x80
32f137e463SAndrew Isaacson	bool
33217dd11eSRalf Baechle	select CEVT_BCM1480
34217dd11eSRalf Baechle	select CSRC_BCM1480
35eb01d42aSChristoph Hellwig	select HAVE_PCI
3667e38cf2SRalf Baechle	select IRQ_MIPS_CPU
37d619f38fSMark Mason	select SIBYTE_HAS_ZBUS_PROFILING
38f137e463SAndrew Isaacson	select SIBYTE_SB1xxx_SOC
39e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
40f137e463SAndrew Isaacson
4138b18f72SRalf Baechleconfig SIBYTE_SB1xxx_SOC
4238b18f72SRalf Baechle	bool
4367e38cf2SRalf Baechle	select IRQ_MIPS_CPU
4438b18f72SRalf Baechle	select SWAP_IO_SPACE
4538b18f72SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
4638b18f72SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
470e2794b0SRalf Baechle	select FW_CFE
4805f94eebSImre Kaloz	select SYS_HAS_EARLY_PRINTK
4938b18f72SRalf Baechle
5038b18f72SRalf Baechlechoice
5138b18f72SRalf Baechle	prompt "SiByte SOC Stepping"
5238b18f72SRalf Baechle	depends on SIBYTE_SB1xxx_SOC
5338b18f72SRalf Baechle
5438b18f72SRalf Baechleconfig CPU_SB1_PASS_2_1250
5538b18f72SRalf Baechle	bool "1250 An"
5638b18f72SRalf Baechle	depends on SIBYTE_SB1250
5738b18f72SRalf Baechle	select CPU_SB1_PASS_2
5838b18f72SRalf Baechle	help
5938b18f72SRalf Baechle	  Also called BCM1250 Pass 2
6038b18f72SRalf Baechle
6138b18f72SRalf Baechleconfig CPU_SB1_PASS_2_2
6238b18f72SRalf Baechle	bool "1250 Bn"
6338b18f72SRalf Baechle	depends on SIBYTE_SB1250
6438b18f72SRalf Baechle	select CPU_HAS_PREFETCH
6538b18f72SRalf Baechle	help
6638b18f72SRalf Baechle	  Also called BCM1250 Pass 2.2
6738b18f72SRalf Baechle
6838b18f72SRalf Baechleconfig CPU_SB1_PASS_4
6938b18f72SRalf Baechle	bool "1250 Cn"
7038b18f72SRalf Baechle	depends on SIBYTE_SB1250
7138b18f72SRalf Baechle	select CPU_HAS_PREFETCH
7238b18f72SRalf Baechle	help
7338b18f72SRalf Baechle	  Also called BCM1250 Pass 3
7438b18f72SRalf Baechle
7538b18f72SRalf Baechleconfig CPU_SB1_PASS_2_112x
7638b18f72SRalf Baechle	bool "112x Hybrid"
7738b18f72SRalf Baechle	depends on SIBYTE_BCM112X
7838b18f72SRalf Baechle	select CPU_SB1_PASS_2
7938b18f72SRalf Baechle
8038b18f72SRalf Baechleconfig CPU_SB1_PASS_3
8138b18f72SRalf Baechle	bool "112x An"
8238b18f72SRalf Baechle	depends on SIBYTE_BCM112X
8338b18f72SRalf Baechle	select CPU_HAS_PREFETCH
8438b18f72SRalf Baechle
8538b18f72SRalf Baechleendchoice
8638b18f72SRalf Baechle
8738b18f72SRalf Baechleconfig CPU_SB1_PASS_2
8838b18f72SRalf Baechle	bool
8938b18f72SRalf Baechle
9038b18f72SRalf Baechleconfig SIBYTE_HAS_LDT
9138b18f72SRalf Baechle	bool
92ca6f5494SRalf Baechle
93ca6f5494SRalf Baechleconfig SIBYTE_ENABLE_LDT_IF_PCI
94ca6f5494SRalf Baechle	bool
95ca6f5494SRalf Baechle	select SIBYTE_HAS_LDT if PCI
9638b18f72SRalf Baechle
9777607635SRalf Baechleconfig SB1_CEX_ALWAYS_FATAL
98a4b5bd9aSAndrew Isaacson	bool "All cache exceptions considered fatal (no recovery attempted)"
99a4b5bd9aSAndrew Isaacson	depends on SIBYTE_SB1xxx_SOC
100a4b5bd9aSAndrew Isaacson
10177607635SRalf Baechleconfig SB1_CERR_STALL
102a4b5bd9aSAndrew Isaacson	bool "Stall (rather than panic) on fatal cache error"
103a4b5bd9aSAndrew Isaacson	depends on SIBYTE_SB1xxx_SOC
104a4b5bd9aSAndrew Isaacson
10538b18f72SRalf Baechleconfig SIBYTE_CFE_CONSOLE
10638b18f72SRalf Baechle	bool "Use firmware console"
10705f94eebSImre Kaloz	depends on SIBYTE_SB1xxx_SOC
10838b18f72SRalf Baechle	help
10938b18f72SRalf Baechle	  Use the CFE API's console write routines during boot.  Other console
11038b18f72SRalf Baechle	  options (VT console, sb1250 duart console, etc.) should not be
11138b18f72SRalf Baechle	  configured.
11238b18f72SRalf Baechle
11338b18f72SRalf Baechleconfig SIBYTE_BUS_WATCHER
11438b18f72SRalf Baechle	bool "Support for Bus Watcher statistics"
1156793f55cSMarkos Chandras	depends on SIBYTE_SB1xxx_SOC && \
116*b984d7b5SThomas Bogendoerfer		(SIBYTE_BCM112X || SIBYTE_SB1250 || SIBYTE_BCM1x80)
11738b18f72SRalf Baechle	help
11838b18f72SRalf Baechle	  Handle and keep statistics on the bus error interrupts (COR_ECC,
11938b18f72SRalf Baechle	  BAD_ECC, IO_BUS).
12038b18f72SRalf Baechle
12138b18f72SRalf Baechleconfig SIBYTE_BW_TRACE
12238b18f72SRalf Baechle	bool "Capture bus trace before bus error"
12338b18f72SRalf Baechle	depends on SIBYTE_BUS_WATCHER
12438b18f72SRalf Baechle	help
12538b18f72SRalf Baechle	  Run a continuous bus trace, dumping the raw data as soon as
12638b18f72SRalf Baechle	  a ZBbus error is detected.  Cannot work if ZBbus profiling
12738b18f72SRalf Baechle	  is turned on, and also will interfere with JTAG-based trace
12838b18f72SRalf Baechle	  buffer activity.  Raw buffer data is dumped to console, and
12938b18f72SRalf Baechle	  must be processed off-line.
13038b18f72SRalf Baechle
13138b18f72SRalf Baechleconfig SIBYTE_TBPROF
132bb9b813bSRalf Baechle	tristate "Support for ZBbus profiling"
133bb9b813bSRalf Baechle	depends on SIBYTE_HAS_ZBUS_PROFILING
134bb9b813bSRalf Baechle
135bb9b813bSRalf Baechleconfig SIBYTE_HAS_ZBUS_PROFILING
136bb9b813bSRalf Baechle	bool
137