Kconfig 9.8 KB

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