xref: /linux/arch/mips/sibyte/Kconfig (revision b984d7b56dfcf71648102e227120bdc247562d00)
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_BCM1120
1438b18f72SRalf Baechle	bool
15217dd11eSRalf Baechle	select CEVT_SB1250
16217dd11eSRalf Baechle	select CSRC_SB1250
1767e38cf2SRalf Baechle	select IRQ_MIPS_CPU
1838b18f72SRalf Baechle	select SIBYTE_BCM112X
19bb9b813bSRalf Baechle	select SIBYTE_HAS_ZBUS_PROFILING
2038b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
2138b18f72SRalf Baechle
2238b18f72SRalf Baechleconfig SIBYTE_BCM1125
2338b18f72SRalf Baechle	bool
24217dd11eSRalf Baechle	select CEVT_SB1250
25217dd11eSRalf Baechle	select CSRC_SB1250
26eb01d42aSChristoph Hellwig	select HAVE_PCI
2767e38cf2SRalf Baechle	select IRQ_MIPS_CPU
2838b18f72SRalf Baechle	select SIBYTE_BCM112X
29bb9b813bSRalf Baechle	select SIBYTE_HAS_ZBUS_PROFILING
3038b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
3138b18f72SRalf Baechle
3238b18f72SRalf Baechleconfig SIBYTE_BCM1125H
3338b18f72SRalf Baechle	bool
34217dd11eSRalf Baechle	select CEVT_SB1250
35217dd11eSRalf Baechle	select CSRC_SB1250
36eb01d42aSChristoph Hellwig	select HAVE_PCI
3767e38cf2SRalf Baechle	select IRQ_MIPS_CPU
3838b18f72SRalf Baechle	select SIBYTE_BCM112X
39ca6f5494SRalf Baechle	select SIBYTE_ENABLE_LDT_IF_PCI
40bb9b813bSRalf Baechle	select SIBYTE_HAS_ZBUS_PROFILING
4138b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
4238b18f72SRalf Baechle
4338b18f72SRalf Baechleconfig SIBYTE_BCM112X
4438b18f72SRalf Baechle	bool
45217dd11eSRalf Baechle	select CEVT_SB1250
46217dd11eSRalf Baechle	select CSRC_SB1250
4767e38cf2SRalf Baechle	select IRQ_MIPS_CPU
4838b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
49bb9b813bSRalf Baechle	select SIBYTE_HAS_ZBUS_PROFILING
5038b18f72SRalf Baechle
51f137e463SAndrew Isaacsonconfig SIBYTE_BCM1x80
52f137e463SAndrew Isaacson	bool
53217dd11eSRalf Baechle	select CEVT_BCM1480
54217dd11eSRalf Baechle	select CSRC_BCM1480
55eb01d42aSChristoph Hellwig	select HAVE_PCI
5667e38cf2SRalf Baechle	select IRQ_MIPS_CPU
57d619f38fSMark Mason	select SIBYTE_HAS_ZBUS_PROFILING
58f137e463SAndrew Isaacson	select SIBYTE_SB1xxx_SOC
59e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
60f137e463SAndrew Isaacson
6138b18f72SRalf Baechleconfig SIBYTE_SB1xxx_SOC
6238b18f72SRalf Baechle	bool
6367e38cf2SRalf Baechle	select IRQ_MIPS_CPU
6438b18f72SRalf Baechle	select SWAP_IO_SPACE
6538b18f72SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6638b18f72SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
670e2794b0SRalf Baechle	select FW_CFE
6805f94eebSImre Kaloz	select SYS_HAS_EARLY_PRINTK
6938b18f72SRalf Baechle
7038b18f72SRalf Baechlechoice
7138b18f72SRalf Baechle	prompt "SiByte SOC Stepping"
7238b18f72SRalf Baechle	depends on SIBYTE_SB1xxx_SOC
7338b18f72SRalf Baechle
7438b18f72SRalf Baechleconfig CPU_SB1_PASS_2_1250
7538b18f72SRalf Baechle	bool "1250 An"
7638b18f72SRalf Baechle	depends on SIBYTE_SB1250
7738b18f72SRalf Baechle	select CPU_SB1_PASS_2
7838b18f72SRalf Baechle	help
7938b18f72SRalf Baechle	  Also called BCM1250 Pass 2
8038b18f72SRalf Baechle
8138b18f72SRalf Baechleconfig CPU_SB1_PASS_2_2
8238b18f72SRalf Baechle	bool "1250 Bn"
8338b18f72SRalf Baechle	depends on SIBYTE_SB1250
8438b18f72SRalf Baechle	select CPU_HAS_PREFETCH
8538b18f72SRalf Baechle	help
8638b18f72SRalf Baechle	  Also called BCM1250 Pass 2.2
8738b18f72SRalf Baechle
8838b18f72SRalf Baechleconfig CPU_SB1_PASS_4
8938b18f72SRalf Baechle	bool "1250 Cn"
9038b18f72SRalf Baechle	depends on SIBYTE_SB1250
9138b18f72SRalf Baechle	select CPU_HAS_PREFETCH
9238b18f72SRalf Baechle	help
9338b18f72SRalf Baechle	  Also called BCM1250 Pass 3
9438b18f72SRalf Baechle
9538b18f72SRalf Baechleconfig CPU_SB1_PASS_2_112x
9638b18f72SRalf Baechle	bool "112x Hybrid"
9738b18f72SRalf Baechle	depends on SIBYTE_BCM112X
9838b18f72SRalf Baechle	select CPU_SB1_PASS_2
9938b18f72SRalf Baechle
10038b18f72SRalf Baechleconfig CPU_SB1_PASS_3
10138b18f72SRalf Baechle	bool "112x An"
10238b18f72SRalf Baechle	depends on SIBYTE_BCM112X
10338b18f72SRalf Baechle	select CPU_HAS_PREFETCH
10438b18f72SRalf Baechle
10538b18f72SRalf Baechleendchoice
10638b18f72SRalf Baechle
10738b18f72SRalf Baechleconfig CPU_SB1_PASS_2
10838b18f72SRalf Baechle	bool
10938b18f72SRalf Baechle
11038b18f72SRalf Baechleconfig SIBYTE_HAS_LDT
11138b18f72SRalf Baechle	bool
112ca6f5494SRalf Baechle
113ca6f5494SRalf Baechleconfig SIBYTE_ENABLE_LDT_IF_PCI
114ca6f5494SRalf Baechle	bool
115ca6f5494SRalf Baechle	select SIBYTE_HAS_LDT if PCI
11638b18f72SRalf Baechle
11777607635SRalf Baechleconfig SB1_CEX_ALWAYS_FATAL
118a4b5bd9aSAndrew Isaacson	bool "All cache exceptions considered fatal (no recovery attempted)"
119a4b5bd9aSAndrew Isaacson	depends on SIBYTE_SB1xxx_SOC
120a4b5bd9aSAndrew Isaacson
12177607635SRalf Baechleconfig SB1_CERR_STALL
122a4b5bd9aSAndrew Isaacson	bool "Stall (rather than panic) on fatal cache error"
123a4b5bd9aSAndrew Isaacson	depends on SIBYTE_SB1xxx_SOC
124a4b5bd9aSAndrew Isaacson
12538b18f72SRalf Baechleconfig SIBYTE_CFE_CONSOLE
12638b18f72SRalf Baechle	bool "Use firmware console"
12705f94eebSImre Kaloz	depends on SIBYTE_SB1xxx_SOC
12838b18f72SRalf Baechle	help
12938b18f72SRalf Baechle	  Use the CFE API's console write routines during boot.  Other console
13038b18f72SRalf Baechle	  options (VT console, sb1250 duart console, etc.) should not be
13138b18f72SRalf Baechle	  configured.
13238b18f72SRalf Baechle
13338b18f72SRalf Baechleconfig SIBYTE_BUS_WATCHER
13438b18f72SRalf Baechle	bool "Support for Bus Watcher statistics"
1356793f55cSMarkos Chandras	depends on SIBYTE_SB1xxx_SOC && \
136*b984d7b5SThomas Bogendoerfer		(SIBYTE_BCM112X || SIBYTE_SB1250 || SIBYTE_BCM1x80)
13738b18f72SRalf Baechle	help
13838b18f72SRalf Baechle	  Handle and keep statistics on the bus error interrupts (COR_ECC,
13938b18f72SRalf Baechle	  BAD_ECC, IO_BUS).
14038b18f72SRalf Baechle
14138b18f72SRalf Baechleconfig SIBYTE_BW_TRACE
14238b18f72SRalf Baechle	bool "Capture bus trace before bus error"
14338b18f72SRalf Baechle	depends on SIBYTE_BUS_WATCHER
14438b18f72SRalf Baechle	help
14538b18f72SRalf Baechle	  Run a continuous bus trace, dumping the raw data as soon as
14638b18f72SRalf Baechle	  a ZBbus error is detected.  Cannot work if ZBbus profiling
14738b18f72SRalf Baechle	  is turned on, and also will interfere with JTAG-based trace
14838b18f72SRalf Baechle	  buffer activity.  Raw buffer data is dumped to console, and
14938b18f72SRalf Baechle	  must be processed off-line.
15038b18f72SRalf Baechle
15138b18f72SRalf Baechleconfig SIBYTE_TBPROF
152bb9b813bSRalf Baechle	tristate "Support for ZBbus profiling"
153bb9b813bSRalf Baechle	depends on SIBYTE_HAS_ZBUS_PROFILING
154bb9b813bSRalf Baechle
155bb9b813bSRalf Baechleconfig SIBYTE_HAS_ZBUS_PROFILING
156bb9b813bSRalf Baechle	bool
157