powerpc/amigaone: Add platform support for AmigaOne
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / powerpc / platforms / Kconfig
1 menu "Platform support"
2
3 config PPC_MULTIPLATFORM
4         bool
5         depends on PPC64 || 6xx
6         default y
7
8 config CLASSIC32
9         def_bool y
10         depends on 6xx && PPC_MULTIPLATFORM
11
12 source "arch/powerpc/platforms/pseries/Kconfig"
13 source "arch/powerpc/platforms/iseries/Kconfig"
14 source "arch/powerpc/platforms/chrp/Kconfig"
15 source "arch/powerpc/platforms/512x/Kconfig"
16 source "arch/powerpc/platforms/52xx/Kconfig"
17 source "arch/powerpc/platforms/powermac/Kconfig"
18 source "arch/powerpc/platforms/prep/Kconfig"
19 source "arch/powerpc/platforms/maple/Kconfig"
20 source "arch/powerpc/platforms/pasemi/Kconfig"
21 source "arch/powerpc/platforms/ps3/Kconfig"
22 source "arch/powerpc/platforms/cell/Kconfig"
23 source "arch/powerpc/platforms/8xx/Kconfig"
24 source "arch/powerpc/platforms/82xx/Kconfig"
25 source "arch/powerpc/platforms/83xx/Kconfig"
26 source "arch/powerpc/platforms/85xx/Kconfig"
27 source "arch/powerpc/platforms/86xx/Kconfig"
28 source "arch/powerpc/platforms/embedded6xx/Kconfig"
29 source "arch/powerpc/platforms/44x/Kconfig"
30 source "arch/powerpc/platforms/40x/Kconfig"
31 source "arch/powerpc/platforms/amigaone/Kconfig"
32
33 config PPC_NATIVE
34         bool
35         depends on PPC_MULTIPLATFORM
36         help
37           Support for running natively on the hardware, i.e. without
38           a hypervisor. This option is not user-selectable but should
39           be selected by all platforms that need it.
40
41 config UDBG_RTAS_CONSOLE
42         bool "RTAS based debug console"
43         depends on PPC_RTAS
44         default n
45
46 config PPC_UDBG_BEAT
47         bool "BEAT based debug console"
48         depends on PPC_CELLEB
49         default n
50
51 config XICS
52         depends on PPC_PSERIES
53         bool
54         default y
55
56 config IPIC
57         bool
58         default n
59
60 config MPIC
61         bool
62         default n
63
64 config MPIC_WEIRD
65         bool
66         default n
67
68 config PPC_I8259
69         bool
70         default n
71
72 config U3_DART
73         bool
74         depends on PPC_MULTIPLATFORM && PPC64
75         default n
76
77 config PPC_RTAS
78         bool
79         default n
80
81 config RTAS_ERROR_LOGGING
82         bool
83         depends on PPC_RTAS
84         default n
85
86 config RTAS_PROC
87         bool "Proc interface to RTAS"
88         depends on PPC_RTAS
89         default y
90
91 config RTAS_FLASH
92         tristate "Firmware flash interface"
93         depends on PPC64 && RTAS_PROC
94
95 config PPC_PMI
96         tristate "Support for PMI"
97         depends on PPC_IBM_CELL_BLADE
98         help
99           PMI (Platform Management Interrupt) is a way to
100           communicate with the BMC (Baseboard Management Controller).
101           It is used in some IBM Cell blades.
102         default m
103
104 config MMIO_NVRAM
105         bool
106         default n
107
108 config MPIC_U3_HT_IRQS
109         bool
110         depends on PPC_MAPLE
111         default y
112
113 config MPIC_BROKEN_REGREAD
114         bool
115         depends on MPIC
116         help
117           This option enables a MPIC driver workaround for some chips
118           that have a bug that causes some interrupt source information
119           to not read back properly. It is safe to use on other chips as
120           well, but enabling it uses about 8KB of memory to keep copies
121           of the register contents in software.
122
123 config IBMVIO
124         depends on PPC_PSERIES || PPC_ISERIES
125         bool
126         default y
127
128 config IBMEBUS
129         depends on PPC_PSERIES
130         bool "Support for GX bus based adapters"
131         help
132           Bus device driver for GX bus based adapters.
133
134 config PPC_MPC106
135         bool
136         default n
137
138 config PPC_970_NAP
139         bool
140         default n
141
142 config PPC_INDIRECT_IO
143         bool
144         select GENERIC_IOMAP
145         default n
146
147 config GENERIC_IOMAP
148         bool
149         default n
150
151 source "drivers/cpufreq/Kconfig"
152
153 menu "CPU Frequency drivers"
154         depends on CPU_FREQ
155
156 config CPU_FREQ_PMAC
157         bool "Support for Apple PowerBooks"
158         depends on ADB_PMU && PPC32
159         select CPU_FREQ_TABLE
160         help
161           This adds support for frequency switching on Apple PowerBooks,
162           this currently includes some models of iBook & Titanium
163           PowerBook.
164
165 config CPU_FREQ_PMAC64
166         bool "Support for some Apple G5s"
167         depends on PPC_PMAC && PPC64
168         select CPU_FREQ_TABLE
169         help
170           This adds support for frequency switching on Apple iMac G5,
171           and some of the more recent desktop G5 machines as well.
172
173 config PPC_PASEMI_CPUFREQ
174         bool "Support for PA Semi PWRficient"
175         depends on PPC_PASEMI
176         default y
177         select CPU_FREQ_TABLE
178         help
179           This adds the support for frequency switching on PA Semi
180           PWRficient processors.
181
182 endmenu
183
184 config PPC601_SYNC_FIX
185         bool "Workarounds for PPC601 bugs"
186         depends on 6xx && (PPC_PREP || PPC_PMAC)
187         help
188           Some versions of the PPC601 (the first PowerPC chip) have bugs which
189           mean that extra synchronization instructions are required near
190           certain instructions, typically those that make major changes to the
191           CPU state.  These extra instructions reduce performance slightly.
192           If you say N here, these extra instructions will not be included,
193           resulting in a kernel which will run faster but may not run at all
194           on some systems with the PPC601 chip.
195
196           If in doubt, say Y here.
197
198 config TAU
199         bool "On-chip CPU temperature sensor support"
200         depends on CLASSIC32
201         help
202           G3 and G4 processors have an on-chip temperature sensor called the
203           'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
204           temperature within 2-4 degrees Celsius. This option shows the current
205           on-die temperature in /proc/cpuinfo if the cpu supports it.
206
207           Unfortunately, on some chip revisions, this sensor is very inaccurate
208           and in many cases, does not work at all, so don't assume the cpu
209           temp is actually what /proc/cpuinfo says it is.
210
211 config TAU_INT
212         bool "Interrupt driven TAU driver (DANGEROUS)"
213         depends on TAU
214         ---help---
215           The TAU supports an interrupt driven mode which causes an interrupt
216           whenever the temperature goes out of range. This is the fastest way
217           to get notified the temp has exceeded a range. With this option off,
218           a timer is used to re-check the temperature periodically.
219
220           However, on some cpus it appears that the TAU interrupt hardware
221           is buggy and can cause a situation which would lead unexplained hard
222           lockups.
223
224           Unless you are extending the TAU driver, or enjoy kernel/hardware
225           debugging, leave this option off.
226
227 config TAU_AVERAGE
228         bool "Average high and low temp"
229         depends on TAU
230         ---help---
231           The TAU hardware can compare the temperature to an upper and lower
232           bound.  The default behavior is to show both the upper and lower
233           bound in /proc/cpuinfo. If the range is large, the temperature is
234           either changing a lot, or the TAU hardware is broken (likely on some
235           G4's). If the range is small (around 4 degrees), the temperature is
236           relatively stable.  If you say Y here, a single temperature value,
237           halfway between the upper and lower bounds, will be reported in
238           /proc/cpuinfo.
239
240           If in doubt, say N here.
241
242 config QUICC_ENGINE
243         bool "Freescale QUICC Engine (QE) Support"
244         depends on FSL_SOC
245         select PPC_LIB_RHEAP
246         select CRC32
247         help
248           The QUICC Engine (QE) is a new generation of communications
249           coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
250           Selecting this option means that you wish to build a kernel
251           for a machine with a QE coprocessor.
252
253 config QE_GPIO
254         bool "QE GPIO support"
255         depends on QUICC_ENGINE
256         select GENERIC_GPIO
257         select ARCH_REQUIRE_GPIOLIB
258         help
259           Say Y here if you're going to use hardware that connects to the
260           QE GPIOs.
261
262 config CPM2
263         bool "Enable support for the CPM2 (Communications Processor Module)"
264         depends on MPC85xx || 8260
265         select CPM
266         select PPC_LIB_RHEAP
267         select PPC_PCI_CHOICE
268         select ARCH_REQUIRE_GPIOLIB
269         select GENERIC_GPIO
270         help
271           The CPM2 (Communications Processor Module) is a coprocessor on
272           embedded CPUs made by Freescale.  Selecting this option means that
273           you wish to build a kernel for a machine with a CPM2 coprocessor
274           on it (826x, 827x, 8560).
275
276 config AXON_RAM
277         tristate "Axon DDR2 memory device driver"
278         depends on PPC_IBM_CELL_BLADE
279         default m
280         help
281           It registers one block device per Axon's DDR2 memory bank found
282           on a system. Block devices are called axonram?, their major and
283           minor numbers are available in /proc/devices, /proc/partitions or
284           in /sys/block/axonram?/dev.
285
286 config FSL_ULI1575
287         bool
288         default n
289         select GENERIC_ISA_DMA
290         help
291           Supports for the ULI1575 PCIe south bridge that exists on some
292           Freescale reference boards. The boards all use the ULI in pretty
293           much the same way.
294
295 config CPM
296         bool
297         select PPC_CLOCK
298
299 config OF_RTC
300         bool
301         help
302           Uses information from the OF or flattened device tree to instatiate
303           platform devices for direct mapped RTC chips like the DS1742 or DS1743.
304
305 source "arch/powerpc/sysdev/bestcomm/Kconfig"
306
307 config MPC8xxx_GPIO
308         bool "MPC8xxx GPIO support"
309         depends on PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || PPC_85xx || PPC_86xx
310         select GENERIC_GPIO
311         select ARCH_REQUIRE_GPIOLIB
312         help
313           Say Y here if you're going to use hardware that connects to the
314           MPC831x/834x/837x/8572/8610 GPIOs.
315
316 config SIMPLE_GPIO
317         bool "Support for simple, memory-mapped GPIO controllers"
318         depends on PPC
319         select GENERIC_GPIO
320         select ARCH_REQUIRE_GPIOLIB
321         help
322           Say Y here to support simple, memory-mapped GPIO controllers.
323           These are usually BCSRs used to control board's switches, LEDs,
324           chip-selects, Ethernet/USB PHY's power and various other small
325           on-board peripherals.
326
327 config MCU_MPC8349EMITX
328         tristate "MPC8349E-mITX MCU driver"
329         depends on I2C && PPC_83xx
330         select GENERIC_GPIO
331         select ARCH_REQUIRE_GPIOLIB
332         help
333           Say Y here to enable soft power-off functionality on the Freescale
334           boards with the MPC8349E-mITX-compatible MCU chips. This driver will
335           also register MCU GPIOs with the generic GPIO API, so you'll able
336           to use MCU pins as GPIOs.
337
338 endmenu