xref: /kernel/linux/linux-5.10/arch/mips/sibyte/Kconfig (revision 8c2ecf20)
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ciconfig SIBYTE_SB1250
38c2ecf20Sopenharmony_ci	bool
48c2ecf20Sopenharmony_ci	select CEVT_SB1250
58c2ecf20Sopenharmony_ci	select CSRC_SB1250
68c2ecf20Sopenharmony_ci	select HAVE_PCI
78c2ecf20Sopenharmony_ci	select IRQ_MIPS_CPU
88c2ecf20Sopenharmony_ci	select SIBYTE_ENABLE_LDT_IF_PCI
98c2ecf20Sopenharmony_ci	select SIBYTE_HAS_ZBUS_PROFILING
108c2ecf20Sopenharmony_ci	select SIBYTE_SB1xxx_SOC
118c2ecf20Sopenharmony_ci	select SYS_SUPPORTS_SMP
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciconfig SIBYTE_BCM1120
148c2ecf20Sopenharmony_ci	bool
158c2ecf20Sopenharmony_ci	select CEVT_SB1250
168c2ecf20Sopenharmony_ci	select CSRC_SB1250
178c2ecf20Sopenharmony_ci	select IRQ_MIPS_CPU
188c2ecf20Sopenharmony_ci	select SIBYTE_BCM112X
198c2ecf20Sopenharmony_ci	select SIBYTE_HAS_ZBUS_PROFILING
208c2ecf20Sopenharmony_ci	select SIBYTE_SB1xxx_SOC
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciconfig SIBYTE_BCM1125
238c2ecf20Sopenharmony_ci	bool
248c2ecf20Sopenharmony_ci	select CEVT_SB1250
258c2ecf20Sopenharmony_ci	select CSRC_SB1250
268c2ecf20Sopenharmony_ci	select HAVE_PCI
278c2ecf20Sopenharmony_ci	select IRQ_MIPS_CPU
288c2ecf20Sopenharmony_ci	select SIBYTE_BCM112X
298c2ecf20Sopenharmony_ci	select SIBYTE_HAS_ZBUS_PROFILING
308c2ecf20Sopenharmony_ci	select SIBYTE_SB1xxx_SOC
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciconfig SIBYTE_BCM1125H
338c2ecf20Sopenharmony_ci	bool
348c2ecf20Sopenharmony_ci	select CEVT_SB1250
358c2ecf20Sopenharmony_ci	select CSRC_SB1250
368c2ecf20Sopenharmony_ci	select HAVE_PCI
378c2ecf20Sopenharmony_ci	select IRQ_MIPS_CPU
388c2ecf20Sopenharmony_ci	select SIBYTE_BCM112X
398c2ecf20Sopenharmony_ci	select SIBYTE_ENABLE_LDT_IF_PCI
408c2ecf20Sopenharmony_ci	select SIBYTE_HAS_ZBUS_PROFILING
418c2ecf20Sopenharmony_ci	select SIBYTE_SB1xxx_SOC
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ciconfig SIBYTE_BCM112X
448c2ecf20Sopenharmony_ci	bool
458c2ecf20Sopenharmony_ci	select CEVT_SB1250
468c2ecf20Sopenharmony_ci	select CSRC_SB1250
478c2ecf20Sopenharmony_ci	select IRQ_MIPS_CPU
488c2ecf20Sopenharmony_ci	select SIBYTE_SB1xxx_SOC
498c2ecf20Sopenharmony_ci	select SIBYTE_HAS_ZBUS_PROFILING
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ciconfig SIBYTE_BCM1x80
528c2ecf20Sopenharmony_ci	bool
538c2ecf20Sopenharmony_ci	select CEVT_BCM1480
548c2ecf20Sopenharmony_ci	select CSRC_BCM1480
558c2ecf20Sopenharmony_ci	select HAVE_PCI
568c2ecf20Sopenharmony_ci	select IRQ_MIPS_CPU
578c2ecf20Sopenharmony_ci	select SIBYTE_HAS_ZBUS_PROFILING
588c2ecf20Sopenharmony_ci	select SIBYTE_SB1xxx_SOC
598c2ecf20Sopenharmony_ci	select SYS_SUPPORTS_SMP
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciconfig SIBYTE_BCM1x55
628c2ecf20Sopenharmony_ci	bool
638c2ecf20Sopenharmony_ci	select CEVT_BCM1480
648c2ecf20Sopenharmony_ci	select CSRC_BCM1480
658c2ecf20Sopenharmony_ci	select HAVE_PCI
668c2ecf20Sopenharmony_ci	select IRQ_MIPS_CPU
678c2ecf20Sopenharmony_ci	select SIBYTE_SB1xxx_SOC
688c2ecf20Sopenharmony_ci	select SIBYTE_HAS_ZBUS_PROFILING
698c2ecf20Sopenharmony_ci	select SYS_SUPPORTS_SMP
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ciconfig SIBYTE_SB1xxx_SOC
728c2ecf20Sopenharmony_ci	bool
738c2ecf20Sopenharmony_ci	select IRQ_MIPS_CPU
748c2ecf20Sopenharmony_ci	select SWAP_IO_SPACE
758c2ecf20Sopenharmony_ci	select SYS_SUPPORTS_32BIT_KERNEL
768c2ecf20Sopenharmony_ci	select SYS_SUPPORTS_64BIT_KERNEL
778c2ecf20Sopenharmony_ci	select FW_CFE
788c2ecf20Sopenharmony_ci	select SYS_HAS_EARLY_PRINTK
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_cichoice
818c2ecf20Sopenharmony_ci	prompt "SiByte SOC Stepping"
828c2ecf20Sopenharmony_ci	depends on SIBYTE_SB1xxx_SOC
838c2ecf20Sopenharmony_ci
848c2ecf20Sopenharmony_ciconfig CPU_SB1_PASS_2_1250
858c2ecf20Sopenharmony_ci	bool "1250 An"
868c2ecf20Sopenharmony_ci	depends on SIBYTE_SB1250
878c2ecf20Sopenharmony_ci	select CPU_SB1_PASS_2
888c2ecf20Sopenharmony_ci	help
898c2ecf20Sopenharmony_ci	  Also called BCM1250 Pass 2
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ciconfig CPU_SB1_PASS_2_2
928c2ecf20Sopenharmony_ci	bool "1250 Bn"
938c2ecf20Sopenharmony_ci	depends on SIBYTE_SB1250
948c2ecf20Sopenharmony_ci	select CPU_HAS_PREFETCH
958c2ecf20Sopenharmony_ci	help
968c2ecf20Sopenharmony_ci	  Also called BCM1250 Pass 2.2
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_ciconfig CPU_SB1_PASS_4
998c2ecf20Sopenharmony_ci	bool "1250 Cn"
1008c2ecf20Sopenharmony_ci	depends on SIBYTE_SB1250
1018c2ecf20Sopenharmony_ci	select CPU_HAS_PREFETCH
1028c2ecf20Sopenharmony_ci	help
1038c2ecf20Sopenharmony_ci	  Also called BCM1250 Pass 3
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ciconfig CPU_SB1_PASS_2_112x
1068c2ecf20Sopenharmony_ci	bool "112x Hybrid"
1078c2ecf20Sopenharmony_ci	depends on SIBYTE_BCM112X
1088c2ecf20Sopenharmony_ci	select CPU_SB1_PASS_2
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ciconfig CPU_SB1_PASS_3
1118c2ecf20Sopenharmony_ci	bool "112x An"
1128c2ecf20Sopenharmony_ci	depends on SIBYTE_BCM112X
1138c2ecf20Sopenharmony_ci	select CPU_HAS_PREFETCH
1148c2ecf20Sopenharmony_ci
1158c2ecf20Sopenharmony_ciendchoice
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ciconfig CPU_SB1_PASS_2
1188c2ecf20Sopenharmony_ci	bool
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ciconfig SIBYTE_HAS_LDT
1218c2ecf20Sopenharmony_ci	bool
1228c2ecf20Sopenharmony_ci
1238c2ecf20Sopenharmony_ciconfig SIBYTE_ENABLE_LDT_IF_PCI
1248c2ecf20Sopenharmony_ci	bool
1258c2ecf20Sopenharmony_ci	select SIBYTE_HAS_LDT if PCI
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ciconfig SB1_CEX_ALWAYS_FATAL
1288c2ecf20Sopenharmony_ci	bool "All cache exceptions considered fatal (no recovery attempted)"
1298c2ecf20Sopenharmony_ci	depends on SIBYTE_SB1xxx_SOC
1308c2ecf20Sopenharmony_ci
1318c2ecf20Sopenharmony_ciconfig SB1_CERR_STALL
1328c2ecf20Sopenharmony_ci	bool "Stall (rather than panic) on fatal cache error"
1338c2ecf20Sopenharmony_ci	depends on SIBYTE_SB1xxx_SOC
1348c2ecf20Sopenharmony_ci
1358c2ecf20Sopenharmony_ciconfig SIBYTE_CFE_CONSOLE
1368c2ecf20Sopenharmony_ci	bool "Use firmware console"
1378c2ecf20Sopenharmony_ci	depends on SIBYTE_SB1xxx_SOC
1388c2ecf20Sopenharmony_ci	help
1398c2ecf20Sopenharmony_ci	  Use the CFE API's console write routines during boot.  Other console
1408c2ecf20Sopenharmony_ci	  options (VT console, sb1250 duart console, etc.) should not be
1418c2ecf20Sopenharmony_ci	  configured.
1428c2ecf20Sopenharmony_ci
1438c2ecf20Sopenharmony_ciconfig SIBYTE_BUS_WATCHER
1448c2ecf20Sopenharmony_ci	bool "Support for Bus Watcher statistics"
1458c2ecf20Sopenharmony_ci	depends on SIBYTE_SB1xxx_SOC && \
1468c2ecf20Sopenharmony_ci		(SIBYTE_BCM112X || SIBYTE_SB1250 || \
1478c2ecf20Sopenharmony_ci		 SIBYTE_BCM1x55 || SIBYTE_BCM1x80)
1488c2ecf20Sopenharmony_ci	help
1498c2ecf20Sopenharmony_ci	  Handle and keep statistics on the bus error interrupts (COR_ECC,
1508c2ecf20Sopenharmony_ci	  BAD_ECC, IO_BUS).
1518c2ecf20Sopenharmony_ci
1528c2ecf20Sopenharmony_ciconfig SIBYTE_BW_TRACE
1538c2ecf20Sopenharmony_ci	bool "Capture bus trace before bus error"
1548c2ecf20Sopenharmony_ci	depends on SIBYTE_BUS_WATCHER
1558c2ecf20Sopenharmony_ci	help
1568c2ecf20Sopenharmony_ci	  Run a continuous bus trace, dumping the raw data as soon as
1578c2ecf20Sopenharmony_ci	  a ZBbus error is detected.  Cannot work if ZBbus profiling
1588c2ecf20Sopenharmony_ci	  is turned on, and also will interfere with JTAG-based trace
1598c2ecf20Sopenharmony_ci	  buffer activity.  Raw buffer data is dumped to console, and
1608c2ecf20Sopenharmony_ci	  must be processed off-line.
1618c2ecf20Sopenharmony_ci
1628c2ecf20Sopenharmony_ciconfig SIBYTE_TBPROF
1638c2ecf20Sopenharmony_ci	tristate "Support for ZBbus profiling"
1648c2ecf20Sopenharmony_ci	depends on SIBYTE_HAS_ZBUS_PROFILING
1658c2ecf20Sopenharmony_ci
1668c2ecf20Sopenharmony_ciconfig SIBYTE_HAS_ZBUS_PROFILING
1678c2ecf20Sopenharmony_ci	bool
168