Kconfig 9.0 KB

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