xref: /openbmc/linux/arch/powerpc/platforms/40x/Kconfig (revision 22246614)
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 EP405
18	bool "EP405/EP405PC"
19	depends on 40x
20	default n
21	select 405GP
22	select PCI
23	help
24	  This option enables support for the EP405/EP405PC boards.
25
26config KILAUEA
27	bool "Kilauea"
28	depends on 40x
29	default n
30	select 405EX
31	select PPC4xx_PCI_EXPRESS
32	help
33	  This option enables support for the AMCC PPC405EX evaluation board.
34
35config MAKALU
36	bool "Makalu"
37	depends on 40x
38	default n
39	select 405EX
40	select PCI
41	select PPC4xx_PCI_EXPRESS
42	help
43	  This option enables support for the AMCC PPC405EX board.
44
45#config REDWOOD_5
46#	bool "Redwood-5"
47#	depends on 40x
48#	default n
49#	select STB03xxx
50#	help
51#	  This option enables support for the IBM STB04 evaluation board.
52
53#config REDWOOD_6
54#	bool "Redwood-6"
55#	depends on 40x
56#	default n
57#	select STB03xxx
58#	help
59#	  This option enables support for the IBM STBx25xx evaluation board.
60
61#config SYCAMORE
62#	bool "Sycamore"
63#	depends on 40x
64#	default n
65#	select 405GPR
66#	help
67#	  This option enables support for the IBM PPC405GPr evaluation board.
68
69config WALNUT
70	bool "Walnut"
71	depends on 40x
72	default y
73	select 405GP
74	select PCI
75	select OF_RTC
76	help
77	  This option enables support for the IBM PPC405GP evaluation board.
78
79config XILINX_VIRTEX_GENERIC_BOARD
80	bool "Generic Xilinx Virtex board"
81	depends on 40x
82	default n
83	select XILINX_VIRTEX_II_PRO
84	select XILINX_VIRTEX_4_FX
85	help
86	  This option enables generic support for Xilinx Virtex based boards.
87
88	  The generic virtex board support matches any device tree which
89	  specifies 'xilinx,virtex' in its compatible field.  This includes
90	  the Xilinx ML3xx and ML4xx reference designs using the powerpc
91	  core.
92
93	  Most Virtex designs should use this unless it needs to do some
94	  special configuration at board probe time.
95
96# 40x specific CPU modules, selected based on the board above.
97config NP405H
98	bool
99	#depends on ASH
100
101# OAK doesn't exist but wanted to keep this around for any future 403GCX boards
102config 403GCX
103	bool
104	#depends on OAK
105	select IBM405_ERR51
106
107config 405GP
108	bool
109	select IBM405_ERR77
110	select IBM405_ERR51
111	select IBM_NEW_EMAC_ZMII
112
113config 405EP
114	bool
115
116config 405EX
117	bool
118	select IBM_NEW_EMAC_EMAC4
119	select IBM_NEW_EMAC_RGMII
120
121config 405GPR
122	bool
123
124config XILINX_VIRTEX
125	bool
126
127config XILINX_VIRTEX_II_PRO
128	bool
129	select XILINX_VIRTEX
130	select IBM405_ERR77
131	select IBM405_ERR51
132
133config XILINX_VIRTEX_4_FX
134	bool
135	select XILINX_VIRTEX
136
137config STB03xxx
138	bool
139	select IBM405_ERR77
140	select IBM405_ERR51
141
142# 40x errata/workaround config symbols, selected by the CPU models above
143
144# All 405-based cores up until the 405GPR and 405EP have this errata.
145config IBM405_ERR77
146	bool
147
148# All 40x-based cores, up until the 405GPR and 405EP have this errata.
149config IBM405_ERR51
150	bool
151
152#config BIOS_FIXUP
153#	bool
154#	depends on BUBINGA || EP405 || SYCAMORE || WALNUT
155#	default y
156
157#config PPC4xx_DMA
158#	bool "PPC4xx DMA controller support"
159#	depends on 4xx
160
161#config PPC4xx_EDMA
162#	bool
163#	depends on !STB03xxx && PPC4xx_DMA
164#	default y
165