Kconfig 7.7 KB

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