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