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

source "arch/powerpc/platforms/pseries/Kconfig"
source "arch/powerpc/platforms/iseries/Kconfig"
source "arch/powerpc/platforms/chrp/Kconfig"
6
source "arch/powerpc/platforms/512x/Kconfig"
7 8 9 10 11
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"
12 13
source "arch/powerpc/platforms/ps3/Kconfig"
source "arch/powerpc/platforms/cell/Kconfig"
14
source "arch/powerpc/platforms/8xx/Kconfig"
15
source "arch/powerpc/platforms/82xx/Kconfig"
16
source "arch/powerpc/platforms/83xx/Kconfig"
17
source "arch/powerpc/platforms/85xx/Kconfig"
18
source "arch/powerpc/platforms/86xx/Kconfig"
19
source "arch/powerpc/platforms/embedded6xx/Kconfig"
20
source "arch/powerpc/platforms/44x/Kconfig"
J
Josh Boyer 已提交
21
source "arch/powerpc/platforms/40x/Kconfig"
22
source "arch/powerpc/platforms/amigaone/Kconfig"
D
David Gibson 已提交
23
source "arch/powerpc/platforms/wsp/Kconfig"
24

25 26 27 28 29 30 31 32 33 34
config KVM_GUEST
	bool "KVM Guest support"
	default y
	---help---
	  This option enables various optimizations for running under the KVM
	  hypervisor. Overhead for the kernel when not running inside KVM should
	  be minimal.

	  In case of doubt, say Y

35 36
config PPC_NATIVE
	bool
37
	depends on 6xx || PPC64
38 39 40 41 42
	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.

43 44 45 46 47 48 49
config PPC_OF_BOOT_TRAMPOLINE
	bool "Support booting from Open Firmware or yaboot"
	depends on 6xx || PPC64
	default y
	help
	  Support from booting from Open Firmware or yaboot using an
	  Open Firmware client interface. This enables the kernel to
50
	  communicate with open firmware to retrieve system information
51 52 53 54
	  such as the device tree.

	  In case of doubt, say Y

55 56 57 58 59
config UDBG_RTAS_CONSOLE
	bool "RTAS based debug console"
	depends on PPC_RTAS
	default n

60 61 62 63 64 65 66 67
config PPC_SMP_MUXED_IPI
	bool
	help
	  Select this opton if your platform supports SMP and your
	  interrupt controller provides less than 4 interrupts to each
	  cpu.	This will enable the generic code to multiplex the 4
	  messages on to one ipi.

68 69 70 71 72
config PPC_UDBG_BEAT
	bool "BEAT based debug console"
	depends on PPC_CELLEB
	default n

J
John Rigby 已提交
73 74 75 76
config IPIC
	bool
	default n

77 78 79 80 81 82 83 84 85 86 87 88
config MPIC
	bool
	default n

config MPIC_WEIRD
	bool
	default n

config PPC_I8259
	bool
	default n

89 90
config U3_DART
	bool
91
	depends on PPC64
92 93 94 95 96 97 98 99 100 101 102
	default n

config PPC_RTAS
	bool
	default n

config RTAS_ERROR_LOGGING
	bool
	depends on PPC_RTAS
	default n

103 104 105 106 107
config PPC_RTAS_DAEMON
	bool
	depends on PPC_RTAS
	default n

108 109 110 111 112 113 114 115 116 117 118 119 120
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 MMIO_NVRAM
	bool
	default n

121
config MPIC_U3_HT_IRQS
122
	bool
123
	default n
124

125 126 127 128 129 130 131 132 133 134
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.

135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
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

154 155 156 157
config PPC_P7_NAP
	bool
	default n

158 159 160
config PPC_INDIRECT_IO
	bool
	select GENERIC_IOMAP
161 162 163 164 165 166 167 168

config PPC_INDIRECT_PIO
	bool
	select PPC_INDIRECT_IO

config PPC_INDIRECT_MMIO
	bool
	select PPC_INDIRECT_IO
169

170 171 172
config PPC_IO_WORKAROUNDS
	bool

173 174 175 176 177
config GENERIC_IOMAP
	bool

source "drivers/cpufreq/Kconfig"

178 179 180
menu "CPU Frequency drivers"
	depends on CPU_FREQ

181 182
config CPU_FREQ_PMAC
	bool "Support for Apple PowerBooks"
183
	depends on ADB_PMU && PPC32
184 185 186 187 188 189 190 191
	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"
192
	depends on PPC_PMAC && PPC64
193 194 195 196
	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.
197 198 199

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

207
endmenu
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224

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"
225
	depends on 6xx
226 227 228 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
	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.

267
config QUICC_ENGINE
268
	bool "Freescale QUICC Engine (QE) Support"
269
	depends on FSL_SOC && PPC32
270
	select PPC_LIB_RHEAP
271
	select CRC32
272 273 274 275 276 277
	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.

278 279 280 281 282 283 284 285 286
config QE_GPIO
	bool "QE GPIO support"
	depends on QUICC_ENGINE
	select GENERIC_GPIO
	select ARCH_REQUIRE_GPIOLIB
	help
	  Say Y here if you're going to use hardware that connects to the
	  QE GPIOs.

287
config CPM2
288
	bool "Enable support for the CPM2 (Communications Processor Module)"
K
Kumar Gala 已提交
289
	depends on (FSL_SOC_BOOKE && PPC32) || 8260
290
	select CPM
291
	select PPC_LIB_RHEAP
J
John Rigby 已提交
292
	select PPC_PCI_CHOICE
293 294
	select ARCH_REQUIRE_GPIOLIB
	select GENERIC_GPIO
295 296 297 298 299 300
	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).

301 302
config AXON_RAM
	tristate "Axon DDR2 memory device driver"
303
	depends on PPC_IBM_CELL_BLADE && BLOCK
304 305 306 307 308 309 310
	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.

311 312 313
config FSL_ULI1575
	bool
	default n
314
	select GENERIC_ISA_DMA
315 316 317 318 319
	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.

320 321
config CPM
	bool
322
	select PPC_CLOCK
323

324 325 326
config OF_RTC
	bool
	help
327
	  Uses information from the OF or flattened device tree to instantiate
328 329
	  platform devices for direct mapped RTC chips like the DS1742 or DS1743.

330 331
source "arch/powerpc/sysdev/bestcomm/Kconfig"

332
config MPC8xxx_GPIO
333 334 335
	bool "MPC512x/MPC8xxx GPIO support"
	depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
		   FSL_SOC_BOOKE || PPC_86xx
336 337 338 339
	select GENERIC_GPIO
	select ARCH_REQUIRE_GPIOLIB
	help
	  Say Y here if you're going to use hardware that connects to the
340
	  MPC512x/831x/834x/837x/8572/8610 GPIOs.
341

342 343 344 345 346 347 348 349 350 351 352
config SIMPLE_GPIO
	bool "Support for simple, memory-mapped GPIO controllers"
	depends on PPC
	select GENERIC_GPIO
	select ARCH_REQUIRE_GPIOLIB
	help
	  Say Y here to support simple, memory-mapped GPIO controllers.
	  These are usually BCSRs used to control board's switches, LEDs,
	  chip-selects, Ethernet/USB PHY's power and various other small
	  on-board peripherals.

353 354 355 356 357 358 359 360 361 362 363
config MCU_MPC8349EMITX
	tristate "MPC8349E-mITX MCU driver"
	depends on I2C && PPC_83xx
	select GENERIC_GPIO
	select ARCH_REQUIRE_GPIOLIB
	help
	  Say Y here to enable soft power-off functionality on the Freescale
	  boards with the MPC8349E-mITX-compatible MCU chips. This driver will
	  also register MCU GPIOs with the generic GPIO API, so you'll able
	  to use MCU pins as GPIOs.

364 365 366 367
config XILINX_PCI
	bool "Xilinx PCI host bridge support"
	depends on PCI && XILINX_VIRTEX

368
endmenu