1*b2441318SGreg 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 638b18f72SRalf Baechle select HW_HAS_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 2638b18f72SRalf Baechle select HW_HAS_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 3638b18f72SRalf Baechle select HW_HAS_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 55f137e463SAndrew Isaacson select HW_HAS_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 61f137e463SAndrew Isaacsonconfig SIBYTE_BCM1x55 62f137e463SAndrew Isaacson bool 63217dd11eSRalf Baechle select CEVT_BCM1480 64217dd11eSRalf Baechle select CSRC_BCM1480 65f137e463SAndrew Isaacson select HW_HAS_PCI 6667e38cf2SRalf Baechle select IRQ_MIPS_CPU 67f137e463SAndrew Isaacson select SIBYTE_SB1xxx_SOC 68bb9b813bSRalf Baechle select SIBYTE_HAS_ZBUS_PROFILING 69e73ea273SRalf Baechle select SYS_SUPPORTS_SMP 70f137e463SAndrew Isaacson 7138b18f72SRalf Baechleconfig SIBYTE_SB1xxx_SOC 7238b18f72SRalf Baechle bool 7338b18f72SRalf Baechle select DMA_COHERENT 7467e38cf2SRalf Baechle select IRQ_MIPS_CPU 7538b18f72SRalf Baechle select SWAP_IO_SPACE 7638b18f72SRalf Baechle select SYS_SUPPORTS_32BIT_KERNEL 7738b18f72SRalf Baechle select SYS_SUPPORTS_64BIT_KERNEL 780e2794b0SRalf Baechle select FW_CFE 7905f94eebSImre Kaloz select SYS_HAS_EARLY_PRINTK 8038b18f72SRalf Baechle 8138b18f72SRalf Baechlechoice 8238b18f72SRalf Baechle prompt "SiByte SOC Stepping" 8338b18f72SRalf Baechle depends on SIBYTE_SB1xxx_SOC 8438b18f72SRalf Baechle 8538b18f72SRalf Baechleconfig CPU_SB1_PASS_2_1250 8638b18f72SRalf Baechle bool "1250 An" 8738b18f72SRalf Baechle depends on SIBYTE_SB1250 8838b18f72SRalf Baechle select CPU_SB1_PASS_2 8938b18f72SRalf Baechle help 9038b18f72SRalf Baechle Also called BCM1250 Pass 2 9138b18f72SRalf Baechle 9238b18f72SRalf Baechleconfig CPU_SB1_PASS_2_2 9338b18f72SRalf Baechle bool "1250 Bn" 9438b18f72SRalf Baechle depends on SIBYTE_SB1250 9538b18f72SRalf Baechle select CPU_HAS_PREFETCH 9638b18f72SRalf Baechle help 9738b18f72SRalf Baechle Also called BCM1250 Pass 2.2 9838b18f72SRalf Baechle 9938b18f72SRalf Baechleconfig CPU_SB1_PASS_4 10038b18f72SRalf Baechle bool "1250 Cn" 10138b18f72SRalf Baechle depends on SIBYTE_SB1250 10238b18f72SRalf Baechle select CPU_HAS_PREFETCH 10338b18f72SRalf Baechle help 10438b18f72SRalf Baechle Also called BCM1250 Pass 3 10538b18f72SRalf Baechle 10638b18f72SRalf Baechleconfig CPU_SB1_PASS_2_112x 10738b18f72SRalf Baechle bool "112x Hybrid" 10838b18f72SRalf Baechle depends on SIBYTE_BCM112X 10938b18f72SRalf Baechle select CPU_SB1_PASS_2 11038b18f72SRalf Baechle 11138b18f72SRalf Baechleconfig CPU_SB1_PASS_3 11238b18f72SRalf Baechle bool "112x An" 11338b18f72SRalf Baechle depends on SIBYTE_BCM112X 11438b18f72SRalf Baechle select CPU_HAS_PREFETCH 11538b18f72SRalf Baechle 11638b18f72SRalf Baechleendchoice 11738b18f72SRalf Baechle 11838b18f72SRalf Baechleconfig CPU_SB1_PASS_2 11938b18f72SRalf Baechle bool 12038b18f72SRalf Baechle 12138b18f72SRalf Baechleconfig SIBYTE_HAS_LDT 12238b18f72SRalf Baechle bool 123ca6f5494SRalf Baechle 124ca6f5494SRalf Baechleconfig SIBYTE_ENABLE_LDT_IF_PCI 125ca6f5494SRalf Baechle bool 126ca6f5494SRalf Baechle select SIBYTE_HAS_LDT if PCI 12738b18f72SRalf Baechle 12877607635SRalf Baechleconfig SB1_CEX_ALWAYS_FATAL 129a4b5bd9aSAndrew Isaacson bool "All cache exceptions considered fatal (no recovery attempted)" 130a4b5bd9aSAndrew Isaacson depends on SIBYTE_SB1xxx_SOC 131a4b5bd9aSAndrew Isaacson 13277607635SRalf Baechleconfig SB1_CERR_STALL 133a4b5bd9aSAndrew Isaacson bool "Stall (rather than panic) on fatal cache error" 134a4b5bd9aSAndrew Isaacson depends on SIBYTE_SB1xxx_SOC 135a4b5bd9aSAndrew Isaacson 13638b18f72SRalf Baechleconfig SIBYTE_CFE_CONSOLE 13738b18f72SRalf Baechle bool "Use firmware console" 13805f94eebSImre Kaloz depends on SIBYTE_SB1xxx_SOC 13938b18f72SRalf Baechle help 14038b18f72SRalf Baechle Use the CFE API's console write routines during boot. Other console 14138b18f72SRalf Baechle options (VT console, sb1250 duart console, etc.) should not be 14238b18f72SRalf Baechle configured. 14338b18f72SRalf Baechle 14438b18f72SRalf Baechleconfig SIBYTE_BUS_WATCHER 14538b18f72SRalf Baechle bool "Support for Bus Watcher statistics" 1466793f55cSMarkos Chandras depends on SIBYTE_SB1xxx_SOC && \ 14754292850SAndreas Ruprecht (SIBYTE_BCM112X || SIBYTE_SB1250 || \ 14854292850SAndreas Ruprecht SIBYTE_BCM1x55 || SIBYTE_BCM1x80) 14938b18f72SRalf Baechle help 15038b18f72SRalf Baechle Handle and keep statistics on the bus error interrupts (COR_ECC, 15138b18f72SRalf Baechle BAD_ECC, IO_BUS). 15238b18f72SRalf Baechle 15338b18f72SRalf Baechleconfig SIBYTE_BW_TRACE 15438b18f72SRalf Baechle bool "Capture bus trace before bus error" 15538b18f72SRalf Baechle depends on SIBYTE_BUS_WATCHER 15638b18f72SRalf Baechle help 15738b18f72SRalf Baechle Run a continuous bus trace, dumping the raw data as soon as 15838b18f72SRalf Baechle a ZBbus error is detected. Cannot work if ZBbus profiling 15938b18f72SRalf Baechle is turned on, and also will interfere with JTAG-based trace 16038b18f72SRalf Baechle buffer activity. Raw buffer data is dumped to console, and 16138b18f72SRalf Baechle must be processed off-line. 16238b18f72SRalf Baechle 16338b18f72SRalf Baechleconfig SIBYTE_TBPROF 164bb9b813bSRalf Baechle tristate "Support for ZBbus profiling" 165bb9b813bSRalf Baechle depends on SIBYTE_HAS_ZBUS_PROFILING 166bb9b813bSRalf Baechle 167bb9b813bSRalf Baechleconfig SIBYTE_HAS_ZBUS_PROFILING 168bb9b813bSRalf Baechle bool 169