xref: /linux/arch/mips/sibyte/Kconfig (revision 0e2794b0b72f38d0dd5aa8474e22b1fe56fb8bd1)
138b18f72SRalf Baechleconfig SIBYTE_SB1250
238b18f72SRalf Baechle	bool
3217dd11eSRalf Baechle	select CEVT_SB1250
4217dd11eSRalf Baechle	select CSRC_SB1250
538b18f72SRalf Baechle	select HW_HAS_PCI
67bcf7717SRalf Baechle	select IRQ_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
167bcf7717SRalf Baechle	select IRQ_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
267bcf7717SRalf Baechle	select IRQ_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
367bcf7717SRalf Baechle	select IRQ_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
467bcf7717SRalf Baechle	select IRQ_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
557bcf7717SRalf Baechle	select IRQ_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
657bcf7717SRalf Baechle	select IRQ_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
737bcf7717SRalf Baechle	select IRQ_CPU
7438b18f72SRalf Baechle	select SWAP_IO_SPACE
7538b18f72SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
7638b18f72SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
77*0e2794b0SRalf 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_1
8538b18f72SRalf Baechle	bool "1250 Pass1"
8638b18f72SRalf Baechle	depends on SIBYTE_SB1250
8738b18f72SRalf Baechle	select CPU_HAS_PREFETCH
8838b18f72SRalf Baechle
8938b18f72SRalf Baechleconfig CPU_SB1_PASS_2_1250
9038b18f72SRalf Baechle	bool "1250 An"
9138b18f72SRalf Baechle	depends on SIBYTE_SB1250
9238b18f72SRalf Baechle	select CPU_SB1_PASS_2
9338b18f72SRalf Baechle	help
9438b18f72SRalf Baechle	  Also called BCM1250 Pass 2
9538b18f72SRalf Baechle
9638b18f72SRalf Baechleconfig CPU_SB1_PASS_2_2
9738b18f72SRalf Baechle	bool "1250 Bn"
9838b18f72SRalf Baechle	depends on SIBYTE_SB1250
9938b18f72SRalf Baechle	select CPU_HAS_PREFETCH
10038b18f72SRalf Baechle	help
10138b18f72SRalf Baechle	  Also called BCM1250 Pass 2.2
10238b18f72SRalf Baechle
10338b18f72SRalf Baechleconfig CPU_SB1_PASS_4
10438b18f72SRalf Baechle	bool "1250 Cn"
10538b18f72SRalf Baechle	depends on SIBYTE_SB1250
10638b18f72SRalf Baechle	select CPU_HAS_PREFETCH
10738b18f72SRalf Baechle	help
10838b18f72SRalf Baechle	  Also called BCM1250 Pass 3
10938b18f72SRalf Baechle
11038b18f72SRalf Baechleconfig CPU_SB1_PASS_2_112x
11138b18f72SRalf Baechle	bool "112x Hybrid"
11238b18f72SRalf Baechle	depends on SIBYTE_BCM112X
11338b18f72SRalf Baechle	select CPU_SB1_PASS_2
11438b18f72SRalf Baechle
11538b18f72SRalf Baechleconfig CPU_SB1_PASS_3
11638b18f72SRalf Baechle	bool "112x An"
11738b18f72SRalf Baechle	depends on SIBYTE_BCM112X
11838b18f72SRalf Baechle	select CPU_HAS_PREFETCH
11938b18f72SRalf Baechle
12038b18f72SRalf Baechleendchoice
12138b18f72SRalf Baechle
12238b18f72SRalf Baechleconfig CPU_SB1_PASS_2
12338b18f72SRalf Baechle	bool
12438b18f72SRalf Baechle
12538b18f72SRalf Baechleconfig SIBYTE_HAS_LDT
12638b18f72SRalf Baechle	bool
127ca6f5494SRalf Baechle
128ca6f5494SRalf Baechleconfig SIBYTE_ENABLE_LDT_IF_PCI
129ca6f5494SRalf Baechle	bool
130ca6f5494SRalf Baechle	select SIBYTE_HAS_LDT if PCI
13138b18f72SRalf Baechle
13277607635SRalf Baechleconfig SB1_CEX_ALWAYS_FATAL
133a4b5bd9aSAndrew Isaacson	bool "All cache exceptions considered fatal (no recovery attempted)"
134a4b5bd9aSAndrew Isaacson	depends on SIBYTE_SB1xxx_SOC
135a4b5bd9aSAndrew Isaacson
13677607635SRalf Baechleconfig SB1_CERR_STALL
137a4b5bd9aSAndrew Isaacson	bool "Stall (rather than panic) on fatal cache error"
138a4b5bd9aSAndrew Isaacson	depends on SIBYTE_SB1xxx_SOC
139a4b5bd9aSAndrew Isaacson
14038b18f72SRalf Baechleconfig SIBYTE_CFE_CONSOLE
14138b18f72SRalf Baechle	bool "Use firmware console"
14205f94eebSImre Kaloz	depends on SIBYTE_SB1xxx_SOC
14338b18f72SRalf Baechle	help
14438b18f72SRalf Baechle	  Use the CFE API's console write routines during boot.  Other console
14538b18f72SRalf Baechle	  options (VT console, sb1250 duart console, etc.) should not be
14638b18f72SRalf Baechle	  configured.
14738b18f72SRalf Baechle
14838b18f72SRalf Baechleconfig SIBYTE_BUS_WATCHER
14938b18f72SRalf Baechle	bool "Support for Bus Watcher statistics"
15038b18f72SRalf Baechle	depends on SIBYTE_SB1xxx_SOC
15138b18f72SRalf Baechle	help
15238b18f72SRalf Baechle	  Handle and keep statistics on the bus error interrupts (COR_ECC,
15338b18f72SRalf Baechle	  BAD_ECC, IO_BUS).
15438b18f72SRalf Baechle
15538b18f72SRalf Baechleconfig SIBYTE_BW_TRACE
15638b18f72SRalf Baechle	bool "Capture bus trace before bus error"
15738b18f72SRalf Baechle	depends on SIBYTE_BUS_WATCHER
15838b18f72SRalf Baechle	help
15938b18f72SRalf Baechle	  Run a continuous bus trace, dumping the raw data as soon as
16038b18f72SRalf Baechle	  a ZBbus error is detected.  Cannot work if ZBbus profiling
16138b18f72SRalf Baechle	  is turned on, and also will interfere with JTAG-based trace
16238b18f72SRalf Baechle	  buffer activity.  Raw buffer data is dumped to console, and
16338b18f72SRalf Baechle	  must be processed off-line.
16438b18f72SRalf Baechle
16538b18f72SRalf Baechleconfig SIBYTE_TBPROF
166bb9b813bSRalf Baechle	tristate "Support for ZBbus profiling"
167bb9b813bSRalf Baechle	depends on SIBYTE_HAS_ZBUS_PROFILING
168bb9b813bSRalf Baechle
169bb9b813bSRalf Baechleconfig SIBYTE_HAS_ZBUS_PROFILING
170bb9b813bSRalf Baechle	bool
171