xref: /linux/arch/mips/sibyte/Kconfig (revision 54292850e8f56c8408db44ea3a5167a0f7c156d5)
138b18f72SRalf Baechleconfig SIBYTE_SB1250
238b18f72SRalf Baechle	bool
3217dd11eSRalf Baechle	select CEVT_SB1250
4217dd11eSRalf Baechle	select CSRC_SB1250
538b18f72SRalf Baechle	select HW_HAS_PCI
667e38cf2SRalf Baechle	select IRQ_MIPS_CPU
7ca6f5494SRalf Baechle	select SIBYTE_ENABLE_LDT_IF_PCI
8d619f38fSMark Mason	select SIBYTE_HAS_ZBUS_PROFILING
938b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
10e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
1138b18f72SRalf Baechle
1238b18f72SRalf Baechleconfig SIBYTE_BCM1120
1338b18f72SRalf Baechle	bool
14217dd11eSRalf Baechle	select CEVT_SB1250
15217dd11eSRalf Baechle	select CSRC_SB1250
1667e38cf2SRalf Baechle	select IRQ_MIPS_CPU
1738b18f72SRalf Baechle	select SIBYTE_BCM112X
18bb9b813bSRalf Baechle	select SIBYTE_HAS_ZBUS_PROFILING
1938b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
2038b18f72SRalf Baechle
2138b18f72SRalf Baechleconfig SIBYTE_BCM1125
2238b18f72SRalf Baechle	bool
23217dd11eSRalf Baechle	select CEVT_SB1250
24217dd11eSRalf Baechle	select CSRC_SB1250
2538b18f72SRalf Baechle	select HW_HAS_PCI
2667e38cf2SRalf Baechle	select IRQ_MIPS_CPU
2738b18f72SRalf Baechle	select SIBYTE_BCM112X
28bb9b813bSRalf Baechle	select SIBYTE_HAS_ZBUS_PROFILING
2938b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
3038b18f72SRalf Baechle
3138b18f72SRalf Baechleconfig SIBYTE_BCM1125H
3238b18f72SRalf Baechle	bool
33217dd11eSRalf Baechle	select CEVT_SB1250
34217dd11eSRalf Baechle	select CSRC_SB1250
3538b18f72SRalf Baechle	select HW_HAS_PCI
3667e38cf2SRalf Baechle	select IRQ_MIPS_CPU
3738b18f72SRalf Baechle	select SIBYTE_BCM112X
38ca6f5494SRalf Baechle	select SIBYTE_ENABLE_LDT_IF_PCI
39bb9b813bSRalf Baechle	select SIBYTE_HAS_ZBUS_PROFILING
4038b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
4138b18f72SRalf Baechle
4238b18f72SRalf Baechleconfig SIBYTE_BCM112X
4338b18f72SRalf Baechle	bool
44217dd11eSRalf Baechle	select CEVT_SB1250
45217dd11eSRalf Baechle	select CSRC_SB1250
4667e38cf2SRalf Baechle	select IRQ_MIPS_CPU
4738b18f72SRalf Baechle	select SIBYTE_SB1xxx_SOC
48bb9b813bSRalf Baechle	select SIBYTE_HAS_ZBUS_PROFILING
4938b18f72SRalf Baechle
50f137e463SAndrew Isaacsonconfig SIBYTE_BCM1x80
51f137e463SAndrew Isaacson	bool
52217dd11eSRalf Baechle	select CEVT_BCM1480
53217dd11eSRalf Baechle	select CSRC_BCM1480
54f137e463SAndrew Isaacson	select HW_HAS_PCI
5567e38cf2SRalf Baechle	select IRQ_MIPS_CPU
56d619f38fSMark Mason	select SIBYTE_HAS_ZBUS_PROFILING
57f137e463SAndrew Isaacson	select SIBYTE_SB1xxx_SOC
58e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
59f137e463SAndrew Isaacson
60f137e463SAndrew Isaacsonconfig SIBYTE_BCM1x55
61f137e463SAndrew Isaacson	bool
62217dd11eSRalf Baechle	select CEVT_BCM1480
63217dd11eSRalf Baechle	select CSRC_BCM1480
64f137e463SAndrew Isaacson	select HW_HAS_PCI
6567e38cf2SRalf Baechle	select IRQ_MIPS_CPU
66f137e463SAndrew Isaacson	select SIBYTE_SB1xxx_SOC
67bb9b813bSRalf Baechle	select SIBYTE_HAS_ZBUS_PROFILING
68e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
69f137e463SAndrew Isaacson
7038b18f72SRalf Baechleconfig SIBYTE_SB1xxx_SOC
7138b18f72SRalf Baechle	bool
7238b18f72SRalf Baechle	select DMA_COHERENT
7367e38cf2SRalf Baechle	select IRQ_MIPS_CPU
7438b18f72SRalf Baechle	select SWAP_IO_SPACE
7538b18f72SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
7638b18f72SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
770e2794b0SRalf Baechle	select FW_CFE
7805f94eebSImre Kaloz	select SYS_HAS_EARLY_PRINTK
7938b18f72SRalf Baechle
8038b18f72SRalf Baechlechoice
8138b18f72SRalf Baechle	prompt "SiByte SOC Stepping"
8238b18f72SRalf Baechle	depends on SIBYTE_SB1xxx_SOC
8338b18f72SRalf Baechle
8438b18f72SRalf Baechleconfig CPU_SB1_PASS_2_1250
8538b18f72SRalf Baechle	bool "1250 An"
8638b18f72SRalf Baechle	depends on SIBYTE_SB1250
8738b18f72SRalf Baechle	select CPU_SB1_PASS_2
8838b18f72SRalf Baechle	help
8938b18f72SRalf Baechle	  Also called BCM1250 Pass 2
9038b18f72SRalf Baechle
9138b18f72SRalf Baechleconfig CPU_SB1_PASS_2_2
9238b18f72SRalf Baechle	bool "1250 Bn"
9338b18f72SRalf Baechle	depends on SIBYTE_SB1250
9438b18f72SRalf Baechle	select CPU_HAS_PREFETCH
9538b18f72SRalf Baechle	help
9638b18f72SRalf Baechle	  Also called BCM1250 Pass 2.2
9738b18f72SRalf Baechle
9838b18f72SRalf Baechleconfig CPU_SB1_PASS_4
9938b18f72SRalf Baechle	bool "1250 Cn"
10038b18f72SRalf Baechle	depends on SIBYTE_SB1250
10138b18f72SRalf Baechle	select CPU_HAS_PREFETCH
10238b18f72SRalf Baechle	help
10338b18f72SRalf Baechle	  Also called BCM1250 Pass 3
10438b18f72SRalf Baechle
10538b18f72SRalf Baechleconfig CPU_SB1_PASS_2_112x
10638b18f72SRalf Baechle	bool "112x Hybrid"
10738b18f72SRalf Baechle	depends on SIBYTE_BCM112X
10838b18f72SRalf Baechle	select CPU_SB1_PASS_2
10938b18f72SRalf Baechle
11038b18f72SRalf Baechleconfig CPU_SB1_PASS_3
11138b18f72SRalf Baechle	bool "112x An"
11238b18f72SRalf Baechle	depends on SIBYTE_BCM112X
11338b18f72SRalf Baechle	select CPU_HAS_PREFETCH
11438b18f72SRalf Baechle
11538b18f72SRalf Baechleendchoice
11638b18f72SRalf Baechle
11738b18f72SRalf Baechleconfig CPU_SB1_PASS_2
11838b18f72SRalf Baechle	bool
11938b18f72SRalf Baechle
12038b18f72SRalf Baechleconfig SIBYTE_HAS_LDT
12138b18f72SRalf Baechle	bool
122ca6f5494SRalf Baechle
123ca6f5494SRalf Baechleconfig SIBYTE_ENABLE_LDT_IF_PCI
124ca6f5494SRalf Baechle	bool
125ca6f5494SRalf Baechle	select SIBYTE_HAS_LDT if PCI
12638b18f72SRalf Baechle
12777607635SRalf Baechleconfig SB1_CEX_ALWAYS_FATAL
128a4b5bd9aSAndrew Isaacson	bool "All cache exceptions considered fatal (no recovery attempted)"
129a4b5bd9aSAndrew Isaacson	depends on SIBYTE_SB1xxx_SOC
130a4b5bd9aSAndrew Isaacson
13177607635SRalf Baechleconfig SB1_CERR_STALL
132a4b5bd9aSAndrew Isaacson	bool "Stall (rather than panic) on fatal cache error"
133a4b5bd9aSAndrew Isaacson	depends on SIBYTE_SB1xxx_SOC
134a4b5bd9aSAndrew Isaacson
13538b18f72SRalf Baechleconfig SIBYTE_CFE_CONSOLE
13638b18f72SRalf Baechle	bool "Use firmware console"
13705f94eebSImre Kaloz	depends on SIBYTE_SB1xxx_SOC
13838b18f72SRalf Baechle	help
13938b18f72SRalf Baechle	  Use the CFE API's console write routines during boot.  Other console
14038b18f72SRalf Baechle	  options (VT console, sb1250 duart console, etc.) should not be
14138b18f72SRalf Baechle	  configured.
14238b18f72SRalf Baechle
14338b18f72SRalf Baechleconfig SIBYTE_BUS_WATCHER
14438b18f72SRalf Baechle	bool "Support for Bus Watcher statistics"
1456793f55cSMarkos Chandras	depends on SIBYTE_SB1xxx_SOC && \
146*54292850SAndreas Ruprecht		(SIBYTE_BCM112X || SIBYTE_SB1250 || \
147*54292850SAndreas Ruprecht		 SIBYTE_BCM1x55 || SIBYTE_BCM1x80)
14838b18f72SRalf Baechle	help
14938b18f72SRalf Baechle	  Handle and keep statistics on the bus error interrupts (COR_ECC,
15038b18f72SRalf Baechle	  BAD_ECC, IO_BUS).
15138b18f72SRalf Baechle
15238b18f72SRalf Baechleconfig SIBYTE_BW_TRACE
15338b18f72SRalf Baechle	bool "Capture bus trace before bus error"
15438b18f72SRalf Baechle	depends on SIBYTE_BUS_WATCHER
15538b18f72SRalf Baechle	help
15638b18f72SRalf Baechle	  Run a continuous bus trace, dumping the raw data as soon as
15738b18f72SRalf Baechle	  a ZBbus error is detected.  Cannot work if ZBbus profiling
15838b18f72SRalf Baechle	  is turned on, and also will interfere with JTAG-based trace
15938b18f72SRalf Baechle	  buffer activity.  Raw buffer data is dumped to console, and
16038b18f72SRalf Baechle	  must be processed off-line.
16138b18f72SRalf Baechle
16238b18f72SRalf Baechleconfig SIBYTE_TBPROF
163bb9b813bSRalf Baechle	tristate "Support for ZBbus profiling"
164bb9b813bSRalf Baechle	depends on SIBYTE_HAS_ZBUS_PROFILING
165bb9b813bSRalf Baechle
166bb9b813bSRalf Baechleconfig SIBYTE_HAS_ZBUS_PROFILING
167bb9b813bSRalf Baechle	bool
168