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