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