Kconfig 8.2 KB
Newer Older
1 2 3 4
menu "Platform support"

choice
	prompt "Machine type"
5
	depends on PPC64 || 6xx
6 7 8 9 10 11 12 13 14
	default PPC_MULTIPLATFORM

config PPC_MULTIPLATFORM
	bool "Generic desktop/server/laptop"
	help
	  Select this option if configuring for an IBM pSeries or
	  RS/6000 machine, an Apple machine, or a PReP, CHRP,
	  Maple or Cell-based machine.

15 16 17
config PPC_82xx
	bool "Freescale 82xx"
	depends on 6xx
18
	select WANT_DEVICE_TREE
19 20 21 22 23 24

config PPC_83xx
	bool "Freescale 83xx"
	depends on 6xx
	select FSL_SOC
	select 83xx
J
John Rigby 已提交
25
	select IPIC
26 27 28 29 30 31 32 33 34
	select WANT_DEVICE_TREE

config PPC_86xx
	bool "Freescale 86xx"
	depends on 6xx
	select FSL_SOC
	select ALTIVEC
	help
	  The Freescale E600 SoCs have 74xx cores.
35 36
endchoice

37 38 39 40
config CLASSIC32
	def_bool y
	depends on 6xx && PPC_MULTIPLATFORM

41 42 43 44 45 46 47 48
source "arch/powerpc/platforms/pseries/Kconfig"
source "arch/powerpc/platforms/iseries/Kconfig"
source "arch/powerpc/platforms/chrp/Kconfig"
source "arch/powerpc/platforms/52xx/Kconfig"
source "arch/powerpc/platforms/powermac/Kconfig"
source "arch/powerpc/platforms/prep/Kconfig"
source "arch/powerpc/platforms/maple/Kconfig"
source "arch/powerpc/platforms/pasemi/Kconfig"
49 50 51
source "arch/powerpc/platforms/celleb/Kconfig"
source "arch/powerpc/platforms/ps3/Kconfig"
source "arch/powerpc/platforms/cell/Kconfig"
52
source "arch/powerpc/platforms/8xx/Kconfig"
53
source "arch/powerpc/platforms/82xx/Kconfig"
54
source "arch/powerpc/platforms/83xx/Kconfig"
55
source "arch/powerpc/platforms/85xx/Kconfig"
56
source "arch/powerpc/platforms/86xx/Kconfig"
57
source "arch/powerpc/platforms/embedded6xx/Kconfig"
58
source "arch/powerpc/platforms/44x/Kconfig"
J
Josh Boyer 已提交
59
source "arch/powerpc/platforms/40x/Kconfig"
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83

config PPC_NATIVE
	bool
	depends on PPC_MULTIPLATFORM
	help
	  Support for running natively on the hardware, i.e. without
	  a hypervisor. This option is not user-selectable but should
	  be selected by all platforms that need it.

config UDBG_RTAS_CONSOLE
	bool "RTAS based debug console"
	depends on PPC_RTAS
	default n

config PPC_UDBG_BEAT
	bool "BEAT based debug console"
	depends on PPC_CELLEB
	default n

config XICS
	depends on PPC_PSERIES
	bool
	default y

J
John Rigby 已提交
84 85 86 87
config IPIC
	bool
	default n

88 89 90 91 92 93 94 95 96 97 98 99
config MPIC
	bool
	default n

config MPIC_WEIRD
	bool
	default n

config PPC_I8259
	bool
	default n

100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
config U3_DART
	bool
	depends on PPC_MULTIPLATFORM && PPC64
	default n

config PPC_RTAS
	bool
	default n

config RTAS_ERROR_LOGGING
	bool
	depends on PPC_RTAS
	default n

config RTAS_PROC
	bool "Proc interface to RTAS"
	depends on PPC_RTAS
	default y

config RTAS_FLASH
	tristate "Firmware flash interface"
	depends on PPC64 && RTAS_PROC

config PPC_PMI
	tristate "Support for PMI"
125
	depends on PPC_IBM_CELL_BLADE
126 127
	help
	  PMI (Platform Management Interrupt) is a way to
M
Matt LaPlante 已提交
128
	  communicate with the BMC (Baseboard Management Controller).
129 130 131 132 133 134 135
	  It is used in some IBM Cell blades.
	default m

config MMIO_NVRAM
	bool
	default n

136
config MPIC_U3_HT_IRQS
137 138 139 140
	bool
	depends on PPC_MAPLE
	default y

141 142 143 144 145 146 147 148 149 150
config MPIC_BROKEN_REGREAD
	bool
	depends on MPIC
	help
	  This option enables a MPIC driver workaround for some chips
	  that have a bug that causes some interrupt source information
	  to not read back properly. It is safe to use on other chips as
	  well, but enabling it uses about 8KB of memory to keep copies
	  of the register contents in software.

151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
config IBMVIO
	depends on PPC_PSERIES || PPC_ISERIES
	bool
	default y

config IBMEBUS
	depends on PPC_PSERIES
	bool "Support for GX bus based adapters"
	help
	  Bus device driver for GX bus based adapters.

config PPC_MPC106
	bool
	default n

config PPC_970_NAP
	bool
	default n

config PPC_INDIRECT_IO
	bool
	select GENERIC_IOMAP
	default n

config GENERIC_IOMAP
	bool
	default n

source "drivers/cpufreq/Kconfig"

181 182 183
menu "CPU Frequency drivers"
	depends on CPU_FREQ

184 185
config CPU_FREQ_PMAC
	bool "Support for Apple PowerBooks"
186
	depends on ADB_PMU && PPC32
187 188 189 190 191 192 193 194
	select CPU_FREQ_TABLE
	help
	  This adds support for frequency switching on Apple PowerBooks,
	  this currently includes some models of iBook & Titanium
	  PowerBook.

config CPU_FREQ_PMAC64
	bool "Support for some Apple G5s"
195
	depends on PPC_PMAC && PPC64
196 197 198 199
	select CPU_FREQ_TABLE
	help
	  This adds support for frequency switching on Apple iMac G5,
	  and some of the more recent desktop G5 machines as well.
200 201 202

config PPC_PASEMI_CPUFREQ
	bool "Support for PA Semi PWRficient"
203
	depends on PPC_PASEMI
204 205 206 207 208 209
	default y
	select CPU_FREQ_TABLE
	help
	  This adds the support for frequency switching on PA Semi
	  PWRficient processors.

210
endmenu
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227

config PPC601_SYNC_FIX
	bool "Workarounds for PPC601 bugs"
	depends on 6xx && (PPC_PREP || PPC_PMAC)
	help
	  Some versions of the PPC601 (the first PowerPC chip) have bugs which
	  mean that extra synchronization instructions are required near
	  certain instructions, typically those that make major changes to the
	  CPU state.  These extra instructions reduce performance slightly.
	  If you say N here, these extra instructions will not be included,
	  resulting in a kernel which will run faster but may not run at all
	  on some systems with the PPC601 chip.

	  If in doubt, say Y here.

config TAU
	bool "On-chip CPU temperature sensor support"
228
	depends on CLASSIC32
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
	help
	  G3 and G4 processors have an on-chip temperature sensor called the
	  'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
	  temperature within 2-4 degrees Celsius. This option shows the current
	  on-die temperature in /proc/cpuinfo if the cpu supports it.

	  Unfortunately, on some chip revisions, this sensor is very inaccurate
	  and in many cases, does not work at all, so don't assume the cpu
	  temp is actually what /proc/cpuinfo says it is.

config TAU_INT
	bool "Interrupt driven TAU driver (DANGEROUS)"
	depends on TAU
	---help---
	  The TAU supports an interrupt driven mode which causes an interrupt
	  whenever the temperature goes out of range. This is the fastest way
	  to get notified the temp has exceeded a range. With this option off,
	  a timer is used to re-check the temperature periodically.

	  However, on some cpus it appears that the TAU interrupt hardware
	  is buggy and can cause a situation which would lead unexplained hard
	  lockups.

	  Unless you are extending the TAU driver, or enjoy kernel/hardware
	  debugging, leave this option off.

config TAU_AVERAGE
	bool "Average high and low temp"
	depends on TAU
	---help---
	  The TAU hardware can compare the temperature to an upper and lower
	  bound.  The default behavior is to show both the upper and lower
	  bound in /proc/cpuinfo. If the range is large, the temperature is
	  either changing a lot, or the TAU hardware is broken (likely on some
	  G4's). If the range is small (around 4 degrees), the temperature is
	  relatively stable.  If you say Y here, a single temperature value,
	  halfway between the upper and lower bounds, will be reported in
	  /proc/cpuinfo.

	  If in doubt, say N here.

270 271
config QUICC_ENGINE
	bool
272
	select PPC_LIB_RHEAP
273
	select CRC32
274 275 276 277 278 279
	help
	  The QUICC Engine (QE) is a new generation of communications
	  coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
	  Selecting this option means that you wish to build a kernel
	  for a machine with a QE coprocessor.

280 281 282
config CPM2
	bool
	default n
283
	select CPM
284
	select PPC_LIB_RHEAP
285 286 287 288 289 290
	help
	  The CPM2 (Communications Processor Module) is a coprocessor on
	  embedded CPUs made by Freescale.  Selecting this option means that
	  you wish to build a kernel for a machine with a CPM2 coprocessor
	  on it (826x, 827x, 8560).

291 292 293 294 295 296 297 298 299 300 301
config PPC_CPM_NEW_BINDING
	bool
	depends on CPM1 || CPM2
	help
	  Select this if your board has been converted to use the new
	  device tree bindings for CPM, and no longer needs the
	  ioport callbacks or the platform device glue code.

	  The fs_enet and cpm_uart drivers will be built as
	  of_platform devices.

302 303 304 305 306 307 308 309 310 311
config AXON_RAM
	tristate "Axon DDR2 memory device driver"
	depends on PPC_IBM_CELL_BLADE
	default m
	help
	  It registers one block device per Axon's DDR2 memory bank found
	  on a system. Block devices are called axonram?, their major and
	  minor numbers are available in /proc/devices, /proc/partitions or
	  in /sys/block/axonram?/dev.

312 313 314
config FSL_ULI1575
	bool
	default n
315
	select GENERIC_ISA_DMA
316 317 318 319 320
	help
	  Supports for the ULI1575 PCIe south bridge that exists on some
	  Freescale reference boards. The boards all use the ULI in pretty
	  much the same way.

321 322 323
config CPM
	bool

324 325
source "arch/powerpc/sysdev/bestcomm/Kconfig"

326
endmenu