xref: /openbmc/linux/arch/powerpc/platforms/40x/Kconfig (revision 9ac8d3fb)
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
157config XILINX_VIRTEX_II_PRO
158	bool
159	select XILINX_VIRTEX
160	select IBM405_ERR77
161	select IBM405_ERR51
162
163config XILINX_VIRTEX_4_FX
164	bool
165	select XILINX_VIRTEX
166
167config STB03xxx
168	bool
169	select IBM405_ERR77
170	select IBM405_ERR51
171
172config PPC4xx_GPIO
173	bool "PPC4xx GPIO support"
174	depends on 40x
175	select ARCH_REQUIRE_GPIOLIB
176	select GENERIC_GPIO
177	help
178	  Enable gpiolib support for ppc40x based boards
179
180# 40x errata/workaround config symbols, selected by the CPU models above
181
182# All 405-based cores up until the 405GPR and 405EP have this errata.
183config IBM405_ERR77
184	bool
185
186# All 40x-based cores, up until the 405GPR and 405EP have this errata.
187config IBM405_ERR51
188	bool
189
190#config BIOS_FIXUP
191#	bool
192#	depends on BUBINGA || EP405 || SYCAMORE || WALNUT
193#	default y
194
195#config PPC4xx_DMA
196#	bool "PPC4xx DMA controller support"
197#	depends on 4xx
198
199#config PPC4xx_EDMA
200#	bool
201#	depends on !STB03xxx && PPC4xx_DMA
202#	default y
203