Kconfig 9.2 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2 3
menu "Platform support"

4
source "arch/powerpc/platforms/powernv/Kconfig"
5 6
source "arch/powerpc/platforms/pseries/Kconfig"
source "arch/powerpc/platforms/chrp/Kconfig"
7
source "arch/powerpc/platforms/512x/Kconfig"
8 9 10 11
source "arch/powerpc/platforms/52xx/Kconfig"
source "arch/powerpc/platforms/powermac/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"
23

24 25
config KVM_GUEST
	bool "KVM Guest support"
26
	select EPAPR_PARAVIRT
27 28 29 30 31 32 33
	---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

34 35 36 37 38 39 40
config EPAPR_PARAVIRT
	bool "ePAPR para-virtualization support"
	help
	  Enables ePAPR para-virtualization support for guests.

	  In case of doubt, say Y

41 42
config PPC_NATIVE
	bool
43
	depends on 6xx || PPC64
44 45 46 47 48
	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.

49 50 51 52 53 54 55
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
56
	  communicate with open firmware to retrieve system information
57 58 59 60
	  such as the device tree.

	  In case of doubt, say Y

61 62 63 64 65 66 67 68 69 70 71
config PPC_DT_CPU_FTRS
	bool "Device-tree based CPU feature discovery & setup"
	depends on PPC_BOOK3S_64
	default y
	help
	  This enables code to use a new device tree binding for describing CPU
	  compatibility and features. Saying Y here will attempt to use the new
	  binding if the firmware provides it. Currently only the skiboot
	  firmware provides this binding.
	  If you're not sure say Y.

72 73 74 75
config UDBG_RTAS_CONSOLE
	bool "RTAS based debug console"
	depends on PPC_RTAS

76 77 78
config PPC_SMP_MUXED_IPI
	bool
	help
M
Masanari Iida 已提交
79
	  Select this option if your platform supports SMP and your
80 81 82 83
	  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.

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

87 88 89
config MPIC
	bool

90 91 92 93 94 95 96 97 98 99 100
config MPIC_TIMER
	bool "MPIC Global Timer"
	depends on MPIC && FSL_SOC
	help
	  The MPIC global timer is a hardware timer inside the
	  Freescale PIC complying with OpenPIC standard. When the
	  specified interval times out, the hardware timer generates
	  an interrupt. The driver currently is only tested on fsl
	  chip, but it can potentially support other global timers
	  complying with the OpenPIC standard.

101 102 103 104 105 106 107 108
config FSL_MPIC_TIMER_WAKEUP
	tristate "Freescale MPIC global timer wakeup driver"
	depends on FSL_SOC &&  MPIC_TIMER && PM
	help
	  The driver provides a way to wake up the system by MPIC
	  timer.
	  e.g. "echo 5 > /sys/devices/system/mpic/timer_wakeup"

109 110
config PPC_EPAPR_HV_PIC
	bool
111
	select EPAPR_PARAVIRT
112

113 114 115
config MPIC_WEIRD
	bool

116 117 118 119 120 121 122
config MPIC_MSGR
	bool "MPIC message register support"
	depends on MPIC
	help
	  Enables support for the MPIC message registers.  These
	  registers are used for inter-processor communication.

123 124 125
config PPC_I8259
	bool

126 127
config U3_DART
	bool
128
	depends on PPC64
129 130 131 132 133 134 135 136

config PPC_RTAS
	bool

config RTAS_ERROR_LOGGING
	bool
	depends on PPC_RTAS

137 138 139 140
config PPC_RTAS_DAEMON
	bool
	depends on PPC_RTAS

141 142
config RTAS_PROC
	bool "Proc interface to RTAS"
143
	depends on PPC_RTAS && PROC_FS
144 145 146 147 148 149 150 151 152
	default y

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

config MMIO_NVRAM
	bool

153
config MPIC_U3_HT_IRQS
154 155
	bool

156 157 158 159 160 161 162 163 164 165
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.

166 167 168 169 170
config EEH
	bool
	depends on (PPC_POWERNV || PPC_PSERIES) && PCI
	default y

171 172 173 174 175 176
config PPC_MPC106
	bool

config PPC_970_NAP
	bool

177 178 179
config PPC_P7_NAP
	bool

180 181
config PPC_INDIRECT_PIO
	bool
182
	select GENERIC_IOMAP
183 184 185

config PPC_INDIRECT_MMIO
	bool
186

187 188 189
config PPC_IO_WORKAROUNDS
	bool

190 191
source "drivers/cpufreq/Kconfig"

192 193 194 195 196 197
menu "CPUIdle driver"

source "drivers/cpuidle/Kconfig"

endmenu

198 199
config PPC601_SYNC_FIX
	bool "Workarounds for PPC601 bugs"
P
Paul Bolle 已提交
200
	depends on 6xx && PPC_PMAC
201 202 203 204 205 206 207 208 209 210 211 212 213
	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"
214
	depends on 6xx
215 216 217 218 219 220 221 222 223 224 225 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
	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.

256 257 258
config QE_GPIO
	bool "QE GPIO support"
	depends on QUICC_ENGINE
259
	select GPIOLIB
260 261 262 263
	help
	  Say Y here if you're going to use hardware that connects to the
	  QE GPIOs.

264
config CPM2
265
	bool "Enable support for the CPM2 (Communications Processor Module)"
K
Kumar Gala 已提交
266
	depends on (FSL_SOC_BOOKE && PPC32) || 8260
267
	select CPM
J
John Rigby 已提交
268
	select PPC_PCI_CHOICE
269
	select GPIOLIB
270 271 272 273 274 275
	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).

276 277
config FSL_ULI1575
	bool
278
	select GENERIC_ISA_DMA
279 280 281 282 283
	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.

284 285
config CPM
	bool
286
	select GENERIC_ALLOCATOR
287

288 289 290
config OF_RTC
	bool
	help
291
	  Uses information from the OF or flattened device tree to instantiate
292 293
	  platform devices for direct mapped RTC chips like the DS1742 or DS1743.

294 295 296 297 298 299 300 301 302 303 304
config GEN_RTC
	bool "Use the platform RTC operations from user space"
	select RTC_CLASS
	select RTC_DRV_GENERIC
	help
	  This option provides backwards compatibility with the old gen_rtc.ko
	  module that was traditionally used for old PowerPC machines.
	  Platforms should migrate to enabling the RTC_DRV_GENERIC by hand
	  replacing their get_rtc_time/set_rtc_time callbacks with
	  a proper RTC device driver.

305 306 307
config SIMPLE_GPIO
	bool "Support for simple, memory-mapped GPIO controllers"
	depends on PPC
308
	select GPIOLIB
309 310 311 312 313 314
	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.

315
config MCU_MPC8349EMITX
316
	bool "MPC8349E-mITX MCU driver"
317
	depends on I2C=y && PPC_83xx
318
	select GPIOLIB
319 320 321 322 323 324
	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.

325 326 327 328
config XILINX_PCI
	bool "Xilinx PCI host bridge support"
	depends on PCI && XILINX_VIRTEX

329
endmenu