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