Kconfig 8.2 KB

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