Merge tag 'upstream-3.18-rc1-v2' of git://git.infradead.org/linux-ubifs
[sfrench/cifs-2.6.git] / arch / powerpc / platforms / 44x / Kconfig
1 config PPC_47x
2         bool "Support for 47x variant"
3         depends on 44x
4         default n
5         select MPIC
6         help
7           This option enables support for the 47x family of processors and is
8           not currently compatible with other 44x or 46x varients
9
10 config BAMBOO
11         bool "Bamboo"
12         depends on 44x
13         default n
14         select PPC44x_SIMPLE
15         select 440EP
16         select PCI
17         help
18           This option enables support for the IBM PPC440EP evaluation board.
19
20 config BLUESTONE
21         bool "Bluestone"
22         depends on 44x
23         default n
24         select PPC44x_SIMPLE
25         select APM821xx
26         select PCI_MSI
27         select PPC4xx_MSI
28         select PPC4xx_PCI_EXPRESS
29         select IBM_EMAC_RGMII
30         help
31           This option enables support for the APM APM821xx Evaluation board.
32
33 config EBONY
34         bool "Ebony"
35         depends on 44x
36         default y
37         select 440GP
38         select PCI
39         select OF_RTC
40         help
41           This option enables support for the IBM PPC440GP evaluation board.
42
43 config SAM440EP
44         bool "Sam440ep"
45         depends on 44x
46         default n
47         select 440EP
48         select PCI
49         help
50           This option enables support for the ACube Sam440ep board.
51
52 config SEQUOIA
53         bool "Sequoia"
54         depends on 44x
55         default n
56         select PPC44x_SIMPLE
57         select 440EPX
58         help
59           This option enables support for the AMCC PPC440EPX evaluation board.
60
61 config TAISHAN
62         bool "Taishan"
63         depends on 44x
64         default n
65         select PPC44x_SIMPLE
66         select 440GX
67         select PCI
68         help
69           This option enables support for the AMCC PPC440GX "Taishan"
70           evaluation board.
71
72 config KATMAI
73         bool "Katmai"
74         depends on 44x
75         default n
76         select PPC44x_SIMPLE
77         select 440SPe
78         select PCI
79         select PPC4xx_PCI_EXPRESS
80         select PCI_MSI
81         select PPC4xx_MSI
82         help
83           This option enables support for the AMCC PPC440SPe evaluation board.
84
85 config RAINIER
86         bool "Rainier"
87         depends on 44x
88         default n
89         select PPC44x_SIMPLE
90         select 440GRX
91         select PCI
92         help
93           This option enables support for the AMCC PPC440GRX evaluation board.
94
95 config WARP
96         bool "PIKA Warp"
97         depends on 44x
98         default n
99         select 440EP
100         help
101           This option enables support for the PIKA Warp(tm) Appliance. The Warp
102           is a small computer replacement with up to 9 ports of FXO/FXS plus VOIP
103           stations and trunks.
104
105           See http://www.pikatechnologies.com/ and follow the "PIKA for Computer
106           Telephony Developers" link for more information.
107
108 config ARCHES
109         bool "Arches"
110         depends on 44x
111         default n
112         select PPC44x_SIMPLE
113         select 460EX # Odd since it uses 460GT but the effects are the same
114         select PCI
115         select PPC4xx_PCI_EXPRESS
116         help
117           This option enables support for the AMCC Dual PPC460GT evaluation board.
118
119 config CANYONLANDS
120         bool "Canyonlands"
121         depends on 44x
122         default n
123         select 460EX
124         select PCI
125         select PPC4xx_PCI_EXPRESS
126         select PCI_MSI
127         select PPC4xx_MSI
128         select IBM_EMAC_RGMII
129         select IBM_EMAC_ZMII
130         help
131           This option enables support for the AMCC PPC460EX evaluation board.
132
133 config GLACIER
134         bool "Glacier"
135         depends on 44x
136         default n
137         select PPC44x_SIMPLE
138         select 460EX # Odd since it uses 460GT but the effects are the same
139         select PCI
140         select PPC4xx_PCI_EXPRESS
141         select IBM_EMAC_RGMII
142         select IBM_EMAC_ZMII
143         help
144           This option enables support for the AMCC PPC460GT evaluation board.
145
146 config REDWOOD
147         bool "Redwood"
148         depends on 44x
149         default n
150         select PPC44x_SIMPLE
151         select 460SX
152         select PCI
153         select PPC4xx_PCI_EXPRESS
154         select PCI_MSI
155         select PPC4xx_MSI
156         help
157           This option enables support for the AMCC PPC460SX Redwood board.
158
159 config EIGER
160         bool "Eiger"
161         depends on 44x
162         default n
163         select PPC44x_SIMPLE
164         select 460SX
165         select PCI
166         select PPC4xx_PCI_EXPRESS
167         select IBM_EMAC_RGMII
168         help
169           This option enables support for the AMCC PPC460SX evaluation board.
170
171 config YOSEMITE
172         bool "Yosemite"
173         depends on 44x
174         default n
175         select PPC44x_SIMPLE
176         select 440EP
177         select PCI
178         help
179           This option enables support for the AMCC PPC440EP evaluation board.
180
181 config ISS4xx
182         bool "ISS 4xx Simulator"
183         depends on (44x || 40x)
184         default n
185         select 405GP if 40x
186         select 440GP if 44x && !PPC_47x
187         select PPC_FPU
188         select OF_RTC
189         help
190           This option enables support for the IBM ISS simulation environment
191
192 config CURRITUCK
193         bool "IBM Currituck (476fpe) Support"
194         depends on PPC_47x
195         default n
196         select SWIOTLB
197         select 476FPE
198         select PPC4xx_PCI_EXPRESS
199         help
200           This option enables support for the IBM Currituck (476fpe) evaluation board
201
202 config AKEBONO
203         bool "IBM Akebono (476gtr) Support"
204         depends on PPC_47x
205         default n
206         select SWIOTLB
207         select 476FPE
208         select PPC4xx_PCI_EXPRESS
209         select PCI_MSI
210         select PPC4xx_HSTA_MSI
211         select I2C
212         select I2C_IBM_IIC
213         select NETDEVICES
214         select ETHERNET
215         select NET_VENDOR_IBM
216         select IBM_EMAC_EMAC4
217         select IBM_EMAC_RGMII_WOL
218         select USB if USB_SUPPORT
219         select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
220         select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD
221         select MMC_SDHCI
222         select MMC_SDHCI_PLTFM
223         select MMC_SDHCI_OF_476GTR
224         select ATA
225         select SATA_AHCI_PLATFORM
226         help
227           This option enables support for the IBM Akebono (476gtr) evaluation board
228
229
230 config ICON
231         bool "Icon"
232         depends on 44x
233         default n
234         select PPC44x_SIMPLE
235         select 440SPe
236         select PCI
237         select PPC4xx_PCI_EXPRESS
238         help
239           This option enables support for the AMCC PPC440SPe evaluation board.
240
241 config XILINX_VIRTEX440_GENERIC_BOARD
242         bool "Generic Xilinx Virtex 5 FXT board support"
243         depends on 44x
244         default n
245         select XILINX_VIRTEX_5_FXT
246         help
247           This option enables generic support for Xilinx Virtex based boards
248           that use a 440 based processor in the Virtex 5 FXT FPGA architecture.
249
250           The generic virtex board support matches any device tree which
251           specifies 'xlnx,virtex440' in its compatible field.  This includes
252           the Xilinx ML5xx reference designs using the powerpc core.
253
254           Most Virtex 5 designs should use this unless it needs to do some
255           special configuration at board probe time.
256
257 config XILINX_ML510
258         bool "Xilinx ML510 extra support"
259         depends on XILINX_VIRTEX440_GENERIC_BOARD
260         select PPC_PCI_CHOICE
261         select XILINX_PCI if PCI
262         select PPC_INDIRECT_PCI if PCI
263         select PPC_I8259 if PCI
264         help
265           This option enables extra support for features on the Xilinx ML510
266           board.  The ML510 has a PCI bus with ALI south bridge.
267
268 config PPC44x_SIMPLE
269         bool "Simple PowerPC 44x board support"
270         depends on 44x
271         default n
272         help
273           This option enables the simple PowerPC 44x platform support.
274
275 config PPC4xx_GPIO
276         bool "PPC4xx GPIO support"
277         depends on 44x
278         select ARCH_REQUIRE_GPIOLIB
279         help
280           Enable gpiolib support for ppc440 based boards
281
282 config PPC4xx_OCM
283         bool "PPC4xx On Chip Memory (OCM) support"
284         depends on 4xx
285         select PPC_LIB_RHEAP
286         help
287           Enable OCM support for PowerPC 4xx platforms with on chip memory,
288           OCM provides the fast place for memory access to improve performance.
289
290 # 44x specific CPU modules, selected based on the board above.
291 config 440EP
292         bool
293         select PPC_FPU
294         select IBM440EP_ERR42
295         select IBM_EMAC_ZMII
296
297 config 440EPX
298         bool
299         select PPC_FPU
300         select IBM_EMAC_EMAC4
301         select IBM_EMAC_RGMII
302         select IBM_EMAC_ZMII
303         select USB_EHCI_BIG_ENDIAN_MMIO
304         select USB_EHCI_BIG_ENDIAN_DESC
305
306 config 440GRX
307         bool
308         select IBM_EMAC_EMAC4
309         select IBM_EMAC_RGMII
310         select IBM_EMAC_ZMII
311
312 config 440GP
313         bool
314         select IBM_EMAC_ZMII
315
316 config 440GX
317         bool
318         select IBM_EMAC_EMAC4
319         select IBM_EMAC_RGMII
320         select IBM_EMAC_ZMII #test only
321         select IBM_EMAC_TAH  #test only
322
323 config 440SP
324         bool
325
326 config 440SPe
327         bool
328         select IBM_EMAC_EMAC4
329
330 config 460EX
331         bool
332         select PPC_FPU
333         select IBM_EMAC_EMAC4
334         select IBM_EMAC_TAH
335
336 config 460SX
337         bool
338         select PPC_FPU
339         select IBM_EMAC_EMAC4
340         select IBM_EMAC_RGMII
341         select IBM_EMAC_ZMII
342         select IBM_EMAC_TAH
343
344 config 476FPE
345         bool
346         select PPC_FPU
347
348 config APM821xx
349         bool
350         select PPC_FPU
351         select IBM_EMAC_EMAC4
352         select IBM_EMAC_TAH
353
354 config 476FPE_ERR46
355         depends on 476FPE
356         bool "Enable linker work around for PPC476FPE errata #46"
357         help
358           This option enables a work around for an icache bug on 476
359           that can cause execution of stale instructions when falling
360           through pages (IBM errata #46). It requires a recent version
361           of binutils which supports the --ppc476-workaround option.
362
363           The work around enables the appropriate linker options and
364           ensures that all module output sections are aligned to 4K
365           page boundaries. The work around is only required when
366           building modules.
367
368 # 44x errata/workaround config symbols, selected by the CPU models above
369 config IBM440EP_ERR42
370         bool
371
372 # Xilinx specific config options.
373 config XILINX_VIRTEX
374         bool
375         select DEFAULT_UIMAGE
376
377 # Xilinx Virtex 5 FXT FPGA architecture, selected by a Xilinx board above
378 config XILINX_VIRTEX_5_FXT
379         bool
380         select XILINX_VIRTEX
381