xref: /openbmc/linux/arch/powerpc/platforms/40x/Kconfig (revision 1197ab29)
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 PPC40x_SIMPLE
104	bool "Simple PowerPC 40x board support"
105	depends on 40x
106	default n
107	help
108	  This option enables the simple PowerPC 40x platform support.
109
110# 40x specific CPU modules, selected based on the board above.
111config NP405H
112	bool
113	#depends on ASH
114
115# OAK doesn't exist but wanted to keep this around for any future 403GCX boards
116config 403GCX
117	bool
118	#depends on OAK
119	select IBM405_ERR51
120
121config 405GP
122	bool
123	select IBM405_ERR77
124	select IBM405_ERR51
125	select IBM_EMAC_ZMII
126
127config 405EP
128	bool
129
130config 405EX
131	bool
132	select IBM_EMAC_EMAC4
133	select IBM_EMAC_RGMII
134
135config 405EZ
136	bool
137	select IBM_EMAC_NO_FLOW_CTRL
138	select IBM_EMAC_MAL_CLR_ICINTSTAT
139	select IBM_EMAC_MAL_COMMON_ERR
140
141config 405GPR
142	bool
143
144config XILINX_VIRTEX
145	bool
146	select DEFAULT_UIMAGE
147
148config XILINX_VIRTEX_II_PRO
149	bool
150	select XILINX_VIRTEX
151	select IBM405_ERR77
152	select IBM405_ERR51
153
154config XILINX_VIRTEX_4_FX
155	bool
156	select XILINX_VIRTEX
157
158config STB03xxx
159	bool
160	select IBM405_ERR77
161	select IBM405_ERR51
162
163config PPC4xx_GPIO
164	bool "PPC4xx GPIO support"
165	depends on 40x
166	select ARCH_REQUIRE_GPIOLIB
167	select GENERIC_GPIO
168	help
169	  Enable gpiolib support for ppc40x based boards
170
171# 40x errata/workaround config symbols, selected by the CPU models above
172
173# All 405-based cores up until the 405GPR and 405EP have this errata.
174config IBM405_ERR77
175	bool
176
177# All 40x-based cores, up until the 405GPR and 405EP have this errata.
178config IBM405_ERR51
179	bool
180
181#config BIOS_FIXUP
182#	bool
183#	depends on BUBINGA || EP405 || SYCAMORE || WALNUT
184#	default y
185
186#config PPC4xx_DMA
187#	bool "PPC4xx DMA controller support"
188#	depends on 4xx
189
190#config PPC4xx_EDMA
191#	bool
192#	depends on !STB03xxx && PPC4xx_DMA
193#	default y
194