xref: /openbmc/linux/arch/mips/sibyte/Kconfig (revision 38b18f72)
1config SIBYTE_SB1250
2	bool
3	select HW_HAS_PCI
4	select SIBYTE_HAS_LDT
5	select SIBYTE_SB1xxx_SOC
6
7config SIBYTE_BCM1120
8	bool
9	select SIBYTE_BCM112X
10	select SIBYTE_SB1xxx_SOC
11
12config SIBYTE_BCM1125
13	bool
14	select HW_HAS_PCI
15	select SIBYTE_BCM112X
16	select SIBYTE_SB1xxx_SOC
17
18config SIBYTE_BCM1125H
19	bool
20	select HW_HAS_PCI
21	select SIBYTE_BCM112X
22	select SIBYTE_HAS_LDT
23	select SIBYTE_SB1xxx_SOC
24
25config SIBYTE_BCM112X
26	bool
27	select SIBYTE_SB1xxx_SOC
28
29config SIBYTE_SB1xxx_SOC
30	bool
31	depends on EXPERIMENTAL
32	select DMA_COHERENT
33	select SIBYTE_CFE
34	select SWAP_IO_SPACE
35	select SYS_SUPPORTS_32BIT_KERNEL
36	select SYS_SUPPORTS_64BIT_KERNEL
37
38choice
39	prompt "SiByte SOC Stepping"
40	depends on SIBYTE_SB1xxx_SOC
41
42config CPU_SB1_PASS_1
43	bool "1250 Pass1"
44	depends on SIBYTE_SB1250
45	select CPU_HAS_PREFETCH
46
47config CPU_SB1_PASS_2_1250
48	bool "1250 An"
49	depends on SIBYTE_SB1250
50	select CPU_SB1_PASS_2
51	help
52	  Also called BCM1250 Pass 2
53
54config CPU_SB1_PASS_2_2
55	bool "1250 Bn"
56	depends on SIBYTE_SB1250
57	select CPU_HAS_PREFETCH
58	help
59	  Also called BCM1250 Pass 2.2
60
61config CPU_SB1_PASS_4
62	bool "1250 Cn"
63	depends on SIBYTE_SB1250
64	select CPU_HAS_PREFETCH
65	help
66	  Also called BCM1250 Pass 3
67
68config CPU_SB1_PASS_2_112x
69	bool "112x Hybrid"
70	depends on SIBYTE_BCM112X
71	select CPU_SB1_PASS_2
72
73config CPU_SB1_PASS_3
74	bool "112x An"
75	depends on SIBYTE_BCM112X
76	select CPU_HAS_PREFETCH
77
78endchoice
79
80config CPU_SB1_PASS_2
81	bool
82
83config SIBYTE_HAS_LDT
84	bool
85	depends on PCI && (SIBYTE_SB1250 || SIBYTE_BCM1125H)
86	default y
87
88config SIMULATION
89	bool "Running under simulation"
90	depends on SIBYTE_SB1xxx_SOC
91	help
92	  Build a kernel suitable for running under the GDB simulator.
93	  Primarily adjusts the kernel's notion of time.
94
95config SIBYTE_CFE
96	bool "Booting from CFE"
97	depends on SIBYTE_SB1xxx_SOC
98	help
99	  Make use of the CFE API for enumerating available memory,
100	  controlling secondary CPUs, and possibly console output.
101
102config SIBYTE_CFE_CONSOLE
103	bool "Use firmware console"
104	depends on SIBYTE_CFE
105	help
106	  Use the CFE API's console write routines during boot.  Other console
107	  options (VT console, sb1250 duart console, etc.) should not be
108	  configured.
109
110config SIBYTE_STANDALONE
111	bool
112	depends on SIBYTE_SB1xxx_SOC && !SIBYTE_CFE
113	default y
114
115config SIBYTE_STANDALONE_RAM_SIZE
116	int "Memory size (in megabytes)"
117	depends on SIBYTE_STANDALONE
118	default "32"
119
120config SIBYTE_BUS_WATCHER
121	bool "Support for Bus Watcher statistics"
122	depends on SIBYTE_SB1xxx_SOC
123	help
124	  Handle and keep statistics on the bus error interrupts (COR_ECC,
125	  BAD_ECC, IO_BUS).
126
127config SIBYTE_BW_TRACE
128	bool "Capture bus trace before bus error"
129	depends on SIBYTE_BUS_WATCHER
130	help
131	  Run a continuous bus trace, dumping the raw data as soon as
132	  a ZBbus error is detected.  Cannot work if ZBbus profiling
133	  is turned on, and also will interfere with JTAG-based trace
134	  buffer activity.  Raw buffer data is dumped to console, and
135	  must be processed off-line.
136
137config SIBYTE_SB1250_PROF
138	bool "Support for SB1/SOC profiling - SB1/SCD perf counters"
139	depends on SIBYTE_SB1xxx_SOC
140
141config SIBYTE_TBPROF
142	bool "Support for ZBbus profiling"
143	depends on SIBYTE_SB1xxx_SOC
144