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