xref: /openbmc/linux/arch/powerpc/platforms/40x/Kconfig (revision 514a30d9)
1#config BUBINGA
2#	bool "Bubinga"
3#	depends on 40x
4#	default n
5#	select 405EP
6#	help
7#	  This option enables support for the IBM 405EP evaluation board.
8
9#config CPCI405
10#	bool "CPCI405"
11#	depends on 40x
12#	default n
13#	select 405GP
14#	help
15#	  This option enables support for the CPCI405 board.
16
17config ACADIA
18	bool "Acadia"
19	depends on 40x
20	default n
21	select PPC40x_SIMPLE
22	select 405EZ
23	help
24	  This option enables support for the AMCC 405EZ Acadia evaluation board.
25
26config EP405
27	bool "EP405/EP405PC"
28	depends on 40x
29	default n
30	select 405GP
31	select PCI
32	help
33	  This option enables support for the EP405/EP405PC boards.
34
35config HCU4
36	bool "Hcu4"
37	depends on 40x
38	default n
39	select 405GPR
40	help
41	  This option enables support for the Nestal Maschinen HCU4 board.
42
43config KILAUEA
44	bool "Kilauea"
45	depends on 40x
46	default n
47	select 405EX
48	select PPC4xx_PCI_EXPRESS
49	help
50	  This option enables support for the AMCC PPC405EX evaluation board.
51
52config MAKALU
53	bool "Makalu"
54	depends on 40x
55	default n
56	select 405EX
57	select PCI
58	select PPC4xx_PCI_EXPRESS
59	help
60	  This option enables support for the AMCC PPC405EX board.
61
62#config REDWOOD_5
63#	bool "Redwood-5"
64#	depends on 40x
65#	default n
66#	select STB03xxx
67#	help
68#	  This option enables support for the IBM STB04 evaluation board.
69
70#config REDWOOD_6
71#	bool "Redwood-6"
72#	depends on 40x
73#	default n
74#	select STB03xxx
75#	help
76#	  This option enables support for the IBM STBx25xx evaluation board.
77
78#config SYCAMORE
79#	bool "Sycamore"
80#	depends on 40x
81#	default n
82#	select 405GPR
83#	help
84#	  This option enables support for the IBM PPC405GPr evaluation board.
85
86config WALNUT
87	bool "Walnut"
88	depends on 40x
89	default y
90	select 405GP
91	select PCI
92	select OF_RTC
93	help
94	  This option enables support for the IBM PPC405GP evaluation board.
95
96config XILINX_VIRTEX_GENERIC_BOARD
97	bool "Generic Xilinx Virtex board"
98	depends on 40x
99	default n
100	select XILINX_VIRTEX_II_PRO
101	select XILINX_VIRTEX_4_FX
102	help
103	  This option enables generic support for Xilinx Virtex based boards.
104
105	  The generic virtex board support matches any device tree which
106	  specifies 'xilinx,virtex' in its compatible field.  This includes
107	  the Xilinx ML3xx and ML4xx reference designs using the powerpc
108	  core.
109
110	  Most Virtex designs should use this unless it needs to do some
111	  special configuration at board probe time.
112
113config PPC40x_SIMPLE
114	bool "Simple PowerPC 40x board support"
115	depends on 40x
116	default n
117	help
118	  This option enables the simple PowerPC 40x platform support.
119
120# 40x specific CPU modules, selected based on the board above.
121config NP405H
122	bool
123	#depends on ASH
124
125# OAK doesn't exist but wanted to keep this around for any future 403GCX boards
126config 403GCX
127	bool
128	#depends on OAK
129	select IBM405_ERR51
130
131config 405GP
132	bool
133	select IBM405_ERR77
134	select IBM405_ERR51
135	select IBM_NEW_EMAC_ZMII
136
137config 405EP
138	bool
139
140config 405EX
141	bool
142	select IBM_NEW_EMAC_EMAC4
143	select IBM_NEW_EMAC_RGMII
144
145config 405EZ
146	bool
147	select IBM_NEW_EMAC_NO_FLOW_CTRL
148	select IBM_NEW_EMAC_MAL_CLR_ICINTSTAT
149	select IBM_NEW_EMAC_MAL_COMMON_ERR
150
151config 405GPR
152	bool
153
154config XILINX_VIRTEX
155	bool
156	select DEFAULT_UIMAGE
157
158config XILINX_VIRTEX_II_PRO
159	bool
160	select XILINX_VIRTEX
161	select IBM405_ERR77
162	select IBM405_ERR51
163
164config XILINX_VIRTEX_4_FX
165	bool
166	select XILINX_VIRTEX
167
168config STB03xxx
169	bool
170	select IBM405_ERR77
171	select IBM405_ERR51
172
173config PPC4xx_GPIO
174	bool "PPC4xx GPIO support"
175	depends on 40x
176	select ARCH_REQUIRE_GPIOLIB
177	select GENERIC_GPIO
178	help
179	  Enable gpiolib support for ppc40x based boards
180
181# 40x errata/workaround config symbols, selected by the CPU models above
182
183# All 405-based cores up until the 405GPR and 405EP have this errata.
184config IBM405_ERR77
185	bool
186
187# All 40x-based cores, up until the 405GPR and 405EP have this errata.
188config IBM405_ERR51
189	bool
190
191#config BIOS_FIXUP
192#	bool
193#	depends on BUBINGA || EP405 || SYCAMORE || WALNUT
194#	default y
195
196#config PPC4xx_DMA
197#	bool "PPC4xx DMA controller support"
198#	depends on 4xx
199
200#config PPC4xx_EDMA
201#	bool
202#	depends on !STB03xxx && PPC4xx_DMA
203#	default y
204