xref: /openbmc/linux/arch/powerpc/platforms/40x/Kconfig (revision 21a06da3)
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# OAK doesn't exist but wanted to keep this around for any future 403GCX boards
119config 403GCX
120	bool
121	#depends on OAK
122	select IBM405_ERR51
123
124config 405GP
125	bool
126	select IBM405_ERR77
127	select IBM405_ERR51
128	select IBM_NEW_EMAC_ZMII
129
130config 405EP
131	bool
132
133config 405EX
134	bool
135	select IBM_NEW_EMAC_EMAC4
136	select IBM_NEW_EMAC_RGMII
137
138config 405EZ
139	bool
140	select IBM_NEW_EMAC_NO_FLOW_CTRL
141	select IBM_NEW_EMAC_MAL_CLR_ICINTSTAT
142	select IBM_NEW_EMAC_MAL_COMMON_ERR
143
144config 405GPR
145	bool
146
147config XILINX_VIRTEX
148	bool
149	select DEFAULT_UIMAGE
150
151config XILINX_VIRTEX_II_PRO
152	bool
153	select XILINX_VIRTEX
154	select IBM405_ERR77
155	select IBM405_ERR51
156
157config XILINX_VIRTEX_4_FX
158	bool
159	select XILINX_VIRTEX
160
161config STB03xxx
162	bool
163	select IBM405_ERR77
164	select IBM405_ERR51
165
166config PPC4xx_GPIO
167	bool "PPC4xx GPIO support"
168	depends on 40x
169	select ARCH_REQUIRE_GPIOLIB
170	select GENERIC_GPIO
171	help
172	  Enable gpiolib support for ppc40x based boards
173
174# 40x errata/workaround config symbols, selected by the CPU models above
175
176# All 405-based cores up until the 405GPR and 405EP have this errata.
177config IBM405_ERR77
178	bool
179
180# All 40x-based cores, up until the 405GPR and 405EP have this errata.
181config IBM405_ERR51
182	bool
183
184#config BIOS_FIXUP
185#	bool
186#	depends on BUBINGA || EP405 || SYCAMORE || WALNUT
187#	default y
188
189#config PPC4xx_DMA
190#	bool "PPC4xx DMA controller support"
191#	depends on 4xx
192
193#config PPC4xx_EDMA
194#	bool
195#	depends on !STB03xxx && PPC4xx_DMA
196#	default y
197