Kconfig 4.1 KB
Newer Older
1 2
config SIBYTE_SB1250
	bool
3 4
	select CEVT_SB1250
	select CSRC_SB1250
5
	select HW_HAS_PCI
6
	select IRQ_CPU
7
	select SIBYTE_ENABLE_LDT_IF_PCI
8
	select SIBYTE_HAS_ZBUS_PROFILING
9
	select SIBYTE_SB1xxx_SOC
10
	select SYS_SUPPORTS_SMP
11 12 13

config SIBYTE_BCM1120
	bool
14 15
	select CEVT_SB1250
	select CSRC_SB1250
16
	select IRQ_CPU
17
	select SIBYTE_BCM112X
R
Ralf Baechle 已提交
18
	select SIBYTE_HAS_ZBUS_PROFILING
19 20 21 22
	select SIBYTE_SB1xxx_SOC

config SIBYTE_BCM1125
	bool
23 24
	select CEVT_SB1250
	select CSRC_SB1250
25
	select HW_HAS_PCI
26
	select IRQ_CPU
27
	select SIBYTE_BCM112X
R
Ralf Baechle 已提交
28
	select SIBYTE_HAS_ZBUS_PROFILING
29 30 31 32
	select SIBYTE_SB1xxx_SOC

config SIBYTE_BCM1125H
	bool
33 34
	select CEVT_SB1250
	select CSRC_SB1250
35
	select HW_HAS_PCI
36
	select IRQ_CPU
37
	select SIBYTE_BCM112X
38
	select SIBYTE_ENABLE_LDT_IF_PCI
R
Ralf Baechle 已提交
39
	select SIBYTE_HAS_ZBUS_PROFILING
40 41 42 43
	select SIBYTE_SB1xxx_SOC

config SIBYTE_BCM112X
	bool
44 45
	select CEVT_SB1250
	select CSRC_SB1250
46
	select IRQ_CPU
47
	select SIBYTE_SB1xxx_SOC
R
Ralf Baechle 已提交
48
	select SIBYTE_HAS_ZBUS_PROFILING
49

50 51
config SIBYTE_BCM1x80
	bool
52 53
	select CEVT_BCM1480
	select CSRC_BCM1480
54
	select HW_HAS_PCI
55
	select IRQ_CPU
56
	select SIBYTE_HAS_ZBUS_PROFILING
57
	select SIBYTE_SB1xxx_SOC
58
	select SYS_SUPPORTS_SMP
59 60 61

config SIBYTE_BCM1x55
	bool
62 63
	select CEVT_BCM1480
	select CSRC_BCM1480
64
	select HW_HAS_PCI
65
	select IRQ_CPU
66
	select SIBYTE_SB1xxx_SOC
R
Ralf Baechle 已提交
67
	select SIBYTE_HAS_ZBUS_PROFILING
68
	select SYS_SUPPORTS_SMP
69

70 71 72
config SIBYTE_SB1xxx_SOC
	bool
	select DMA_COHERENT
73
	select IRQ_CPU
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
	select SIBYTE_CFE
	select SWAP_IO_SPACE
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL

choice
	prompt "SiByte SOC Stepping"
	depends on SIBYTE_SB1xxx_SOC

config CPU_SB1_PASS_1
	bool "1250 Pass1"
	depends on SIBYTE_SB1250
	select CPU_HAS_PREFETCH

config CPU_SB1_PASS_2_1250
	bool "1250 An"
	depends on SIBYTE_SB1250
	select CPU_SB1_PASS_2
	help
	  Also called BCM1250 Pass 2

config CPU_SB1_PASS_2_2
	bool "1250 Bn"
	depends on SIBYTE_SB1250
	select CPU_HAS_PREFETCH
	help
	  Also called BCM1250 Pass 2.2

config CPU_SB1_PASS_4
	bool "1250 Cn"
	depends on SIBYTE_SB1250
	select CPU_HAS_PREFETCH
	help
	  Also called BCM1250 Pass 3

config CPU_SB1_PASS_2_112x
	bool "112x Hybrid"
	depends on SIBYTE_BCM112X
	select CPU_SB1_PASS_2

config CPU_SB1_PASS_3
	bool "112x An"
	depends on SIBYTE_BCM112X
	select CPU_HAS_PREFETCH

endchoice

config CPU_SB1_PASS_2
	bool

config SIBYTE_HAS_LDT
	bool
126 127 128 129

config SIBYTE_ENABLE_LDT_IF_PCI
	bool
	select SIBYTE_HAS_LDT if PCI
130 131 132 133 134 135 136 137

config SIMULATION
	bool "Running under simulation"
	depends on SIBYTE_SB1xxx_SOC
	help
	  Build a kernel suitable for running under the GDB simulator.
	  Primarily adjusts the kernel's notion of time.

138
config SB1_CEX_ALWAYS_FATAL
A
Andrew Isaacson 已提交
139 140 141
	bool "All cache exceptions considered fatal (no recovery attempted)"
	depends on SIBYTE_SB1xxx_SOC

142
config SB1_CERR_STALL
A
Andrew Isaacson 已提交
143 144 145
	bool "Stall (rather than panic) on fatal cache error"
	depends on SIBYTE_SB1xxx_SOC

146 147 148
config SIBYTE_CFE
	bool "Booting from CFE"
	depends on SIBYTE_SB1xxx_SOC
149
	select CFE
150
	select SYS_HAS_EARLY_PRINTK
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
	help
	  Make use of the CFE API for enumerating available memory,
	  controlling secondary CPUs, and possibly console output.

config SIBYTE_CFE_CONSOLE
	bool "Use firmware console"
	depends on SIBYTE_CFE
	help
	  Use the CFE API's console write routines during boot.  Other console
	  options (VT console, sb1250 duart console, etc.) should not be
	  configured.

config SIBYTE_STANDALONE
	bool
	depends on SIBYTE_SB1xxx_SOC && !SIBYTE_CFE
166
	select SYS_HAS_EARLY_PRINTK
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
	default y

config SIBYTE_STANDALONE_RAM_SIZE
	int "Memory size (in megabytes)"
	depends on SIBYTE_STANDALONE
	default "32"

config SIBYTE_BUS_WATCHER
	bool "Support for Bus Watcher statistics"
	depends on SIBYTE_SB1xxx_SOC
	help
	  Handle and keep statistics on the bus error interrupts (COR_ECC,
	  BAD_ECC, IO_BUS).

config SIBYTE_BW_TRACE
	bool "Capture bus trace before bus error"
	depends on SIBYTE_BUS_WATCHER
	help
	  Run a continuous bus trace, dumping the raw data as soon as
	  a ZBbus error is detected.  Cannot work if ZBbus profiling
	  is turned on, and also will interfere with JTAG-based trace
	  buffer activity.  Raw buffer data is dumped to console, and
	  must be processed off-line.

config SIBYTE_TBPROF
R
Ralf Baechle 已提交
192 193 194 195 196
	tristate "Support for ZBbus profiling"
	depends on SIBYTE_HAS_ZBUS_PROFILING

config SIBYTE_HAS_ZBUS_PROFILING
	bool