[POWERPC] Convert 82xx platform to unified platform Kconfig
[linux-2.6.git] / arch / powerpc / platforms / Kconfig
blobefa3a03f76d45e63117bc5b7dac328bb03ca2a88
1 menu "Platform support"
2         depends on PPC64 || CLASSIC32 || PPC_82xx || PPC_83xx || PPC_86xx
4 choice
5         prompt "Machine type"
6         depends on PPC64 || CLASSIC32
7         default PPC_MULTIPLATFORM
9 config PPC_MULTIPLATFORM
10         bool "Generic desktop/server/laptop"
11         help
12           Select this option if configuring for an IBM pSeries or
13           RS/6000 machine, an Apple machine, or a PReP, CHRP,
14           Maple or Cell-based machine.
16 config EMBEDDED6xx
17         bool "Embedded 6xx/7xx/7xxx-based board"
18         depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
20 config APUS
21         bool "Amiga-APUS"
22         depends on PPC32 && BROKEN
23         help
24           Select APUS if configuring for a PowerUP Amiga.
25           More information is available at:
26           <http://linux-apus.sourceforge.net/>.
27 endchoice
29 config QUICC_ENGINE
30         bool
31         help
32           The QUICC Engine (QE) is a new generation of communications
33           coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
34           Selecting this option means that you wish to build a kernel
35           for a machine with a QE coprocessor.
37 source "arch/powerpc/platforms/pseries/Kconfig"
38 source "arch/powerpc/platforms/iseries/Kconfig"
39 source "arch/powerpc/platforms/chrp/Kconfig"
40 source "arch/powerpc/platforms/52xx/Kconfig"
41 source "arch/powerpc/platforms/powermac/Kconfig"
42 source "arch/powerpc/platforms/prep/Kconfig"
43 source "arch/powerpc/platforms/maple/Kconfig"
44 source "arch/powerpc/platforms/pasemi/Kconfig"
45 source arch/powerpc/platforms/celleb/Kconfig
46 source arch/powerpc/platforms/ps3/Kconfig
47 source arch/powerpc/platforms/cell/Kconfig
48 source "arch/powerpc/platforms/82xx/Kconfig"
49 source "arch/powerpc/platforms/83xx/Kconfig"
50 source "arch/powerpc/platforms/86xx/Kconfig"
52 config PPC_NATIVE
53         bool
54         depends on PPC_MULTIPLATFORM
55         help
56           Support for running natively on the hardware, i.e. without
57           a hypervisor. This option is not user-selectable but should
58           be selected by all platforms that need it.
60 config UDBG_RTAS_CONSOLE
61         bool "RTAS based debug console"
62         depends on PPC_RTAS
63         default n
65 config PPC_UDBG_BEAT
66         bool "BEAT based debug console"
67         depends on PPC_CELLEB
68         default n
70 config XICS
71         depends on PPC_PSERIES
72         bool
73         default y
75 config U3_DART
76         bool
77         depends on PPC_MULTIPLATFORM && PPC64
78         default n
80 config PPC_RTAS
81         bool
82         default n
84 config RTAS_ERROR_LOGGING
85         bool
86         depends on PPC_RTAS
87         default n
89 config RTAS_PROC
90         bool "Proc interface to RTAS"
91         depends on PPC_RTAS
92         default y
94 config RTAS_FLASH
95         tristate "Firmware flash interface"
96         depends on PPC64 && RTAS_PROC
98 config PPC_PMI
99         tristate "Support for PMI"
100         depends PPC_IBM_CELL_BLADE
101         help
102           PMI (Platform Management Interrupt) is a way to
103           communicate with the BMC (Baseboard Mangement Controller).
104           It is used in some IBM Cell blades.
105         default m
107 config MMIO_NVRAM
108         bool
109         default n
111 config MPIC_BROKEN_U3
112         bool
113         depends on PPC_MAPLE
114         default y
116 config IBMVIO
117         depends on PPC_PSERIES || PPC_ISERIES
118         bool
119         default y
121 config IBMEBUS
122         depends on PPC_PSERIES
123         bool "Support for GX bus based adapters"
124         help
125           Bus device driver for GX bus based adapters.
127 config PPC_MPC106
128         bool
129         default n
131 config PPC_970_NAP
132         bool
133         default n
135 config PPC_INDIRECT_IO
136         bool
137         select GENERIC_IOMAP
138         default n
140 config GENERIC_IOMAP
141         bool
142         default n
144 menu "CPU Frequency support"
145         depends on PPC64 || CLASSIC32
147 source "drivers/cpufreq/Kconfig"
149 config CPU_FREQ_PMAC
150         bool "Support for Apple PowerBooks"
151         depends on CPU_FREQ && ADB_PMU && PPC32
152         select CPU_FREQ_TABLE
153         help
154           This adds support for frequency switching on Apple PowerBooks,
155           this currently includes some models of iBook & Titanium
156           PowerBook.
158 config CPU_FREQ_PMAC64
159         bool "Support for some Apple G5s"
160         depends on CPU_FREQ && PPC64
161         select CPU_FREQ_TABLE
162         help
163           This adds support for frequency switching on Apple iMac G5,
164           and some of the more recent desktop G5 machines as well.
165 endmenu
167 config PPC601_SYNC_FIX
168         bool "Workarounds for PPC601 bugs"
169         depends on 6xx && (PPC_PREP || PPC_PMAC)
170         help
171           Some versions of the PPC601 (the first PowerPC chip) have bugs which
172           mean that extra synchronization instructions are required near
173           certain instructions, typically those that make major changes to the
174           CPU state.  These extra instructions reduce performance slightly.
175           If you say N here, these extra instructions will not be included,
176           resulting in a kernel which will run faster but may not run at all
177           on some systems with the PPC601 chip.
179           If in doubt, say Y here.
181 config TAU
182         bool "On-chip CPU temperature sensor support"
183         depends on CLASSIC32
184         help
185           G3 and G4 processors have an on-chip temperature sensor called the
186           'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
187           temperature within 2-4 degrees Celsius. This option shows the current
188           on-die temperature in /proc/cpuinfo if the cpu supports it.
190           Unfortunately, on some chip revisions, this sensor is very inaccurate
191           and in many cases, does not work at all, so don't assume the cpu
192           temp is actually what /proc/cpuinfo says it is.
194 config TAU_INT
195         bool "Interrupt driven TAU driver (DANGEROUS)"
196         depends on TAU
197         ---help---
198           The TAU supports an interrupt driven mode which causes an interrupt
199           whenever the temperature goes out of range. This is the fastest way
200           to get notified the temp has exceeded a range. With this option off,
201           a timer is used to re-check the temperature periodically.
203           However, on some cpus it appears that the TAU interrupt hardware
204           is buggy and can cause a situation which would lead unexplained hard
205           lockups.
207           Unless you are extending the TAU driver, or enjoy kernel/hardware
208           debugging, leave this option off.
210 config TAU_AVERAGE
211         bool "Average high and low temp"
212         depends on TAU
213         ---help---
214           The TAU hardware can compare the temperature to an upper and lower
215           bound.  The default behavior is to show both the upper and lower
216           bound in /proc/cpuinfo. If the range is large, the temperature is
217           either changing a lot, or the TAU hardware is broken (likely on some
218           G4's). If the range is small (around 4 degrees), the temperature is
219           relatively stable.  If you say Y here, a single temperature value,
220           halfway between the upper and lower bounds, will be reported in
221           /proc/cpuinfo.
223           If in doubt, say N here.
225 config CPM2
226         bool
227         default n
228         help
229           The CPM2 (Communications Processor Module) is a coprocessor on
230           embedded CPUs made by Freescale.  Selecting this option means that
231           you wish to build a kernel for a machine with a CPM2 coprocessor
232           on it (826x, 827x, 8560).
234 endmenu