162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciconfig SIBYTE_SB1250
362306a36Sopenharmony_ci	bool
462306a36Sopenharmony_ci	select CEVT_SB1250
562306a36Sopenharmony_ci	select CSRC_SB1250
662306a36Sopenharmony_ci	select HAVE_PCI
762306a36Sopenharmony_ci	select IRQ_MIPS_CPU
862306a36Sopenharmony_ci	select SIBYTE_ENABLE_LDT_IF_PCI
962306a36Sopenharmony_ci	select SIBYTE_HAS_ZBUS_PROFILING
1062306a36Sopenharmony_ci	select SIBYTE_SB1xxx_SOC
1162306a36Sopenharmony_ci	select SYS_SUPPORTS_SMP
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciconfig SIBYTE_BCM1125
1462306a36Sopenharmony_ci	bool
1562306a36Sopenharmony_ci	select CEVT_SB1250
1662306a36Sopenharmony_ci	select CSRC_SB1250
1762306a36Sopenharmony_ci	select HAVE_PCI
1862306a36Sopenharmony_ci	select IRQ_MIPS_CPU
1962306a36Sopenharmony_ci	select SIBYTE_BCM112X
2062306a36Sopenharmony_ci	select SIBYTE_HAS_ZBUS_PROFILING
2162306a36Sopenharmony_ci	select SIBYTE_SB1xxx_SOC
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciconfig SIBYTE_BCM112X
2462306a36Sopenharmony_ci	bool
2562306a36Sopenharmony_ci	select CEVT_SB1250
2662306a36Sopenharmony_ci	select CSRC_SB1250
2762306a36Sopenharmony_ci	select IRQ_MIPS_CPU
2862306a36Sopenharmony_ci	select SIBYTE_SB1xxx_SOC
2962306a36Sopenharmony_ci	select SIBYTE_HAS_ZBUS_PROFILING
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciconfig SIBYTE_BCM1x80
3262306a36Sopenharmony_ci	bool
3362306a36Sopenharmony_ci	select CEVT_BCM1480
3462306a36Sopenharmony_ci	select CSRC_BCM1480
3562306a36Sopenharmony_ci	select HAVE_PCI
3662306a36Sopenharmony_ci	select IRQ_MIPS_CPU
3762306a36Sopenharmony_ci	select SIBYTE_HAS_ZBUS_PROFILING
3862306a36Sopenharmony_ci	select SIBYTE_SB1xxx_SOC
3962306a36Sopenharmony_ci	select SYS_SUPPORTS_SMP
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciconfig SIBYTE_SB1xxx_SOC
4262306a36Sopenharmony_ci	bool
4362306a36Sopenharmony_ci	select IRQ_MIPS_CPU
4462306a36Sopenharmony_ci	select SWAP_IO_SPACE
4562306a36Sopenharmony_ci	select SYS_SUPPORTS_32BIT_KERNEL
4662306a36Sopenharmony_ci	select SYS_SUPPORTS_64BIT_KERNEL
4762306a36Sopenharmony_ci	select FW_CFE
4862306a36Sopenharmony_ci	select SYS_HAS_EARLY_PRINTK
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_cichoice
5162306a36Sopenharmony_ci	prompt "SiByte SOC Stepping"
5262306a36Sopenharmony_ci	depends on SIBYTE_SB1xxx_SOC
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ciconfig CPU_SB1_PASS_2_1250
5562306a36Sopenharmony_ci	bool "1250 An"
5662306a36Sopenharmony_ci	depends on SIBYTE_SB1250
5762306a36Sopenharmony_ci	select CPU_SB1_PASS_2
5862306a36Sopenharmony_ci	help
5962306a36Sopenharmony_ci	  Also called BCM1250 Pass 2
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ciconfig CPU_SB1_PASS_2_2
6262306a36Sopenharmony_ci	bool "1250 Bn"
6362306a36Sopenharmony_ci	depends on SIBYTE_SB1250
6462306a36Sopenharmony_ci	select CPU_HAS_PREFETCH
6562306a36Sopenharmony_ci	help
6662306a36Sopenharmony_ci	  Also called BCM1250 Pass 2.2
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ciconfig CPU_SB1_PASS_4
6962306a36Sopenharmony_ci	bool "1250 Cn"
7062306a36Sopenharmony_ci	depends on SIBYTE_SB1250
7162306a36Sopenharmony_ci	select CPU_HAS_PREFETCH
7262306a36Sopenharmony_ci	help
7362306a36Sopenharmony_ci	  Also called BCM1250 Pass 3
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ciconfig CPU_SB1_PASS_2_112x
7662306a36Sopenharmony_ci	bool "112x Hybrid"
7762306a36Sopenharmony_ci	depends on SIBYTE_BCM112X
7862306a36Sopenharmony_ci	select CPU_SB1_PASS_2
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ciconfig CPU_SB1_PASS_3
8162306a36Sopenharmony_ci	bool "112x An"
8262306a36Sopenharmony_ci	depends on SIBYTE_BCM112X
8362306a36Sopenharmony_ci	select CPU_HAS_PREFETCH
8462306a36Sopenharmony_ci
8562306a36Sopenharmony_ciendchoice
8662306a36Sopenharmony_ci
8762306a36Sopenharmony_ciconfig CPU_SB1_PASS_2
8862306a36Sopenharmony_ci	bool
8962306a36Sopenharmony_ci
9062306a36Sopenharmony_ciconfig SIBYTE_HAS_LDT
9162306a36Sopenharmony_ci	bool
9262306a36Sopenharmony_ci
9362306a36Sopenharmony_ciconfig SIBYTE_ENABLE_LDT_IF_PCI
9462306a36Sopenharmony_ci	bool
9562306a36Sopenharmony_ci	select SIBYTE_HAS_LDT if PCI
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ciconfig SB1_CEX_ALWAYS_FATAL
9862306a36Sopenharmony_ci	bool "All cache exceptions considered fatal (no recovery attempted)"
9962306a36Sopenharmony_ci	depends on SIBYTE_SB1xxx_SOC
10062306a36Sopenharmony_ci
10162306a36Sopenharmony_ciconfig SB1_CERR_STALL
10262306a36Sopenharmony_ci	bool "Stall (rather than panic) on fatal cache error"
10362306a36Sopenharmony_ci	depends on SIBYTE_SB1xxx_SOC
10462306a36Sopenharmony_ci
10562306a36Sopenharmony_ciconfig SIBYTE_CFE_CONSOLE
10662306a36Sopenharmony_ci	bool "Use firmware console"
10762306a36Sopenharmony_ci	depends on SIBYTE_SB1xxx_SOC
10862306a36Sopenharmony_ci	help
10962306a36Sopenharmony_ci	  Use the CFE API's console write routines during boot.  Other console
11062306a36Sopenharmony_ci	  options (VT console, sb1250 duart console, etc.) should not be
11162306a36Sopenharmony_ci	  configured.
11262306a36Sopenharmony_ci
11362306a36Sopenharmony_ciconfig SIBYTE_BUS_WATCHER
11462306a36Sopenharmony_ci	bool "Support for Bus Watcher statistics"
11562306a36Sopenharmony_ci	depends on SIBYTE_SB1xxx_SOC && \
11662306a36Sopenharmony_ci		(SIBYTE_BCM112X || SIBYTE_SB1250 || SIBYTE_BCM1x80)
11762306a36Sopenharmony_ci	help
11862306a36Sopenharmony_ci	  Handle and keep statistics on the bus error interrupts (COR_ECC,
11962306a36Sopenharmony_ci	  BAD_ECC, IO_BUS).
12062306a36Sopenharmony_ci
12162306a36Sopenharmony_ciconfig SIBYTE_BW_TRACE
12262306a36Sopenharmony_ci	bool "Capture bus trace before bus error"
12362306a36Sopenharmony_ci	depends on SIBYTE_BUS_WATCHER
12462306a36Sopenharmony_ci	help
12562306a36Sopenharmony_ci	  Run a continuous bus trace, dumping the raw data as soon as
12662306a36Sopenharmony_ci	  a ZBbus error is detected.  Cannot work if ZBbus profiling
12762306a36Sopenharmony_ci	  is turned on, and also will interfere with JTAG-based trace
12862306a36Sopenharmony_ci	  buffer activity.  Raw buffer data is dumped to console, and
12962306a36Sopenharmony_ci	  must be processed off-line.
13062306a36Sopenharmony_ci
13162306a36Sopenharmony_ciconfig SIBYTE_TBPROF
13262306a36Sopenharmony_ci	tristate "Support for ZBbus profiling"
13362306a36Sopenharmony_ci	depends on SIBYTE_HAS_ZBUS_PROFILING
13462306a36Sopenharmony_ci
13562306a36Sopenharmony_ciconfig SIBYTE_HAS_ZBUS_PROFILING
13662306a36Sopenharmony_ci	bool
137