Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 config SIBYTE_SB1250
0003         bool
0004         select CEVT_SB1250
0005         select CSRC_SB1250
0006         select HAVE_PCI
0007         select IRQ_MIPS_CPU
0008         select SIBYTE_ENABLE_LDT_IF_PCI
0009         select SIBYTE_HAS_ZBUS_PROFILING
0010         select SIBYTE_SB1xxx_SOC
0011         select SYS_SUPPORTS_SMP
0012 
0013 config SIBYTE_BCM1120
0014         bool
0015         select CEVT_SB1250
0016         select CSRC_SB1250
0017         select IRQ_MIPS_CPU
0018         select SIBYTE_BCM112X
0019         select SIBYTE_HAS_ZBUS_PROFILING
0020         select SIBYTE_SB1xxx_SOC
0021 
0022 config SIBYTE_BCM1125
0023         bool
0024         select CEVT_SB1250
0025         select CSRC_SB1250
0026         select HAVE_PCI
0027         select IRQ_MIPS_CPU
0028         select SIBYTE_BCM112X
0029         select SIBYTE_HAS_ZBUS_PROFILING
0030         select SIBYTE_SB1xxx_SOC
0031 
0032 config SIBYTE_BCM1125H
0033         bool
0034         select CEVT_SB1250
0035         select CSRC_SB1250
0036         select HAVE_PCI
0037         select IRQ_MIPS_CPU
0038         select SIBYTE_BCM112X
0039         select SIBYTE_ENABLE_LDT_IF_PCI
0040         select SIBYTE_HAS_ZBUS_PROFILING
0041         select SIBYTE_SB1xxx_SOC
0042 
0043 config SIBYTE_BCM112X
0044         bool
0045         select CEVT_SB1250
0046         select CSRC_SB1250
0047         select IRQ_MIPS_CPU
0048         select SIBYTE_SB1xxx_SOC
0049         select SIBYTE_HAS_ZBUS_PROFILING
0050 
0051 config SIBYTE_BCM1x80
0052         bool
0053         select CEVT_BCM1480
0054         select CSRC_BCM1480
0055         select HAVE_PCI
0056         select IRQ_MIPS_CPU
0057         select SIBYTE_HAS_ZBUS_PROFILING
0058         select SIBYTE_SB1xxx_SOC
0059         select SYS_SUPPORTS_SMP
0060 
0061 config SIBYTE_BCM1x55
0062         bool
0063         select CEVT_BCM1480
0064         select CSRC_BCM1480
0065         select HAVE_PCI
0066         select IRQ_MIPS_CPU
0067         select SIBYTE_SB1xxx_SOC
0068         select SIBYTE_HAS_ZBUS_PROFILING
0069         select SYS_SUPPORTS_SMP
0070 
0071 config SIBYTE_SB1xxx_SOC
0072         bool
0073         select IRQ_MIPS_CPU
0074         select SWAP_IO_SPACE
0075         select SYS_SUPPORTS_32BIT_KERNEL
0076         select SYS_SUPPORTS_64BIT_KERNEL
0077         select FW_CFE
0078         select SYS_HAS_EARLY_PRINTK
0079 
0080 choice
0081         prompt "SiByte SOC Stepping"
0082         depends on SIBYTE_SB1xxx_SOC
0083 
0084 config CPU_SB1_PASS_2_1250
0085         bool "1250 An"
0086         depends on SIBYTE_SB1250
0087         select CPU_SB1_PASS_2
0088         help
0089           Also called BCM1250 Pass 2
0090 
0091 config CPU_SB1_PASS_2_2
0092         bool "1250 Bn"
0093         depends on SIBYTE_SB1250
0094         select CPU_HAS_PREFETCH
0095         help
0096           Also called BCM1250 Pass 2.2
0097 
0098 config CPU_SB1_PASS_4
0099         bool "1250 Cn"
0100         depends on SIBYTE_SB1250
0101         select CPU_HAS_PREFETCH
0102         help
0103           Also called BCM1250 Pass 3
0104 
0105 config CPU_SB1_PASS_2_112x
0106         bool "112x Hybrid"
0107         depends on SIBYTE_BCM112X
0108         select CPU_SB1_PASS_2
0109 
0110 config CPU_SB1_PASS_3
0111         bool "112x An"
0112         depends on SIBYTE_BCM112X
0113         select CPU_HAS_PREFETCH
0114 
0115 endchoice
0116 
0117 config CPU_SB1_PASS_2
0118         bool
0119 
0120 config SIBYTE_HAS_LDT
0121         bool
0122 
0123 config SIBYTE_ENABLE_LDT_IF_PCI
0124         bool
0125         select SIBYTE_HAS_LDT if PCI
0126 
0127 config SB1_CEX_ALWAYS_FATAL
0128         bool "All cache exceptions considered fatal (no recovery attempted)"
0129         depends on SIBYTE_SB1xxx_SOC
0130 
0131 config SB1_CERR_STALL
0132         bool "Stall (rather than panic) on fatal cache error"
0133         depends on SIBYTE_SB1xxx_SOC
0134 
0135 config SIBYTE_CFE_CONSOLE
0136         bool "Use firmware console"
0137         depends on SIBYTE_SB1xxx_SOC
0138         help
0139           Use the CFE API's console write routines during boot.  Other console
0140           options (VT console, sb1250 duart console, etc.) should not be
0141           configured.
0142 
0143 config SIBYTE_BUS_WATCHER
0144         bool "Support for Bus Watcher statistics"
0145         depends on SIBYTE_SB1xxx_SOC && \
0146                 (SIBYTE_BCM112X || SIBYTE_SB1250 || \
0147                  SIBYTE_BCM1x55 || SIBYTE_BCM1x80)
0148         help
0149           Handle and keep statistics on the bus error interrupts (COR_ECC,
0150           BAD_ECC, IO_BUS).
0151 
0152 config SIBYTE_BW_TRACE
0153         bool "Capture bus trace before bus error"
0154         depends on SIBYTE_BUS_WATCHER
0155         help
0156           Run a continuous bus trace, dumping the raw data as soon as
0157           a ZBbus error is detected.  Cannot work if ZBbus profiling
0158           is turned on, and also will interfere with JTAG-based trace
0159           buffer activity.  Raw buffer data is dumped to console, and
0160           must be processed off-line.
0161 
0162 config SIBYTE_TBPROF
0163         tristate "Support for ZBbus profiling"
0164         depends on SIBYTE_HAS_ZBUS_PROFILING
0165 
0166 config SIBYTE_HAS_ZBUS_PROFILING
0167         bool