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