xref: /linux/arch/powerpc/platforms/Kconfig (revision 22258fa40e54ceefe75a6c6a793f5c44d8339b9c)
14330f5daSKumar Galamenu "Platform support"
24330f5daSKumar Gala
34330f5daSKumar Galachoice
44330f5daSKumar Gala	prompt "Machine type"
5b9fd305dSArnd Bergmann	depends on PPC64 || 6xx
64330f5daSKumar Gala	default PPC_MULTIPLATFORM
74330f5daSKumar Gala
84330f5daSKumar Galaconfig PPC_MULTIPLATFORM
94330f5daSKumar Gala	bool "Generic desktop/server/laptop"
104330f5daSKumar Gala	help
114330f5daSKumar Gala	  Select this option if configuring for an IBM pSeries or
124330f5daSKumar Gala	  RS/6000 machine, an Apple machine, or a PReP, CHRP,
134330f5daSKumar Gala	  Maple or Cell-based machine.
144330f5daSKumar Gala
15b9fd305dSArnd Bergmannconfig PPC_82xx
16b9fd305dSArnd Bergmann	bool "Freescale 82xx"
17b9fd305dSArnd Bergmann	depends on 6xx
18e5d8d54dSScott Wood	select WANT_DEVICE_TREE
19b9fd305dSArnd Bergmann
20b9fd305dSArnd Bergmannconfig PPC_83xx
21b9fd305dSArnd Bergmann	bool "Freescale 83xx"
22b9fd305dSArnd Bergmann	depends on 6xx
23b9fd305dSArnd Bergmann	select FSL_SOC
24b9fd305dSArnd Bergmann	select 83xx
25b0bbad60SJohn Rigby	select IPIC
26b9fd305dSArnd Bergmann	select WANT_DEVICE_TREE
27b9fd305dSArnd Bergmann
28b9fd305dSArnd Bergmannconfig PPC_86xx
29b9fd305dSArnd Bergmann	bool "Freescale 86xx"
30b9fd305dSArnd Bergmann	depends on 6xx
31b9fd305dSArnd Bergmann	select FSL_SOC
32b9fd305dSArnd Bergmann	select ALTIVEC
33b9fd305dSArnd Bergmann	help
34b9fd305dSArnd Bergmann	  The Freescale E600 SoCs have 74xx cores.
354330f5daSKumar Galaendchoice
364330f5daSKumar Gala
37b9fd305dSArnd Bergmannconfig CLASSIC32
38b9fd305dSArnd Bergmann	def_bool y
39b9fd305dSArnd Bergmann	depends on 6xx && PPC_MULTIPLATFORM
40b9fd305dSArnd Bergmann
414330f5daSKumar Galasource "arch/powerpc/platforms/pseries/Kconfig"
424330f5daSKumar Galasource "arch/powerpc/platforms/iseries/Kconfig"
434330f5daSKumar Galasource "arch/powerpc/platforms/chrp/Kconfig"
444330f5daSKumar Galasource "arch/powerpc/platforms/52xx/Kconfig"
454330f5daSKumar Galasource "arch/powerpc/platforms/powermac/Kconfig"
464330f5daSKumar Galasource "arch/powerpc/platforms/prep/Kconfig"
474330f5daSKumar Galasource "arch/powerpc/platforms/maple/Kconfig"
484330f5daSKumar Galasource "arch/powerpc/platforms/pasemi/Kconfig"
4998750261SKumar Galasource "arch/powerpc/platforms/celleb/Kconfig"
5098750261SKumar Galasource "arch/powerpc/platforms/ps3/Kconfig"
5198750261SKumar Galasource "arch/powerpc/platforms/cell/Kconfig"
52c8a55f3dSKumar Galasource "arch/powerpc/platforms/8xx/Kconfig"
53d6071f88SKumar Galasource "arch/powerpc/platforms/82xx/Kconfig"
54b5a48346SKumar Galasource "arch/powerpc/platforms/83xx/Kconfig"
55db947808SKumar Galasource "arch/powerpc/platforms/85xx/Kconfig"
564a89f7faSKumar Galasource "arch/powerpc/platforms/86xx/Kconfig"
5798750261SKumar Galasource "arch/powerpc/platforms/embedded6xx/Kconfig"
58f6dfc805SDavid Gibsonsource "arch/powerpc/platforms/44x/Kconfig"
59545c069cSJosh Boyersource "arch/powerpc/platforms/40x/Kconfig"
604330f5daSKumar Gala
614330f5daSKumar Galaconfig PPC_NATIVE
624330f5daSKumar Gala	bool
634330f5daSKumar Gala	depends on PPC_MULTIPLATFORM
644330f5daSKumar Gala	help
654330f5daSKumar Gala	  Support for running natively on the hardware, i.e. without
664330f5daSKumar Gala	  a hypervisor. This option is not user-selectable but should
674330f5daSKumar Gala	  be selected by all platforms that need it.
684330f5daSKumar Gala
694330f5daSKumar Galaconfig UDBG_RTAS_CONSOLE
704330f5daSKumar Gala	bool "RTAS based debug console"
714330f5daSKumar Gala	depends on PPC_RTAS
724330f5daSKumar Gala	default n
734330f5daSKumar Gala
744330f5daSKumar Galaconfig PPC_UDBG_BEAT
754330f5daSKumar Gala	bool "BEAT based debug console"
764330f5daSKumar Gala	depends on PPC_CELLEB
774330f5daSKumar Gala	default n
784330f5daSKumar Gala
794330f5daSKumar Galaconfig XICS
804330f5daSKumar Gala	depends on PPC_PSERIES
814330f5daSKumar Gala	bool
824330f5daSKumar Gala	default y
834330f5daSKumar Gala
84b0bbad60SJohn Rigbyconfig IPIC
85b0bbad60SJohn Rigby	bool
86b0bbad60SJohn Rigby	default n
87b0bbad60SJohn Rigby
8898750261SKumar Galaconfig MPIC
8998750261SKumar Gala	bool
9098750261SKumar Gala	default n
9198750261SKumar Gala
9298750261SKumar Galaconfig MPIC_WEIRD
9398750261SKumar Gala	bool
9498750261SKumar Gala	default n
9598750261SKumar Gala
9698750261SKumar Galaconfig PPC_I8259
9798750261SKumar Gala	bool
9898750261SKumar Gala	default n
9998750261SKumar Gala
1004330f5daSKumar Galaconfig U3_DART
1014330f5daSKumar Gala	bool
1024330f5daSKumar Gala	depends on PPC_MULTIPLATFORM && PPC64
1034330f5daSKumar Gala	default n
1044330f5daSKumar Gala
1054330f5daSKumar Galaconfig PPC_RTAS
1064330f5daSKumar Gala	bool
1074330f5daSKumar Gala	default n
1084330f5daSKumar Gala
1094330f5daSKumar Galaconfig RTAS_ERROR_LOGGING
1104330f5daSKumar Gala	bool
1114330f5daSKumar Gala	depends on PPC_RTAS
1124330f5daSKumar Gala	default n
1134330f5daSKumar Gala
1144330f5daSKumar Galaconfig RTAS_PROC
1154330f5daSKumar Gala	bool "Proc interface to RTAS"
1164330f5daSKumar Gala	depends on PPC_RTAS
1174330f5daSKumar Gala	default y
1184330f5daSKumar Gala
1194330f5daSKumar Galaconfig RTAS_FLASH
1204330f5daSKumar Gala	tristate "Firmware flash interface"
1214330f5daSKumar Gala	depends on PPC64 && RTAS_PROC
1224330f5daSKumar Gala
1234330f5daSKumar Galaconfig PPC_PMI
1244330f5daSKumar Gala	tristate "Support for PMI"
125247537b9SAdrian Bunk	depends on PPC_IBM_CELL_BLADE
1264330f5daSKumar Gala	help
1274330f5daSKumar Gala	  PMI (Platform Management Interrupt) is a way to
12801dd2fbfSMatt LaPlante	  communicate with the BMC (Baseboard Management Controller).
1294330f5daSKumar Gala	  It is used in some IBM Cell blades.
1304330f5daSKumar Gala	default m
1314330f5daSKumar Gala
1324330f5daSKumar Galaconfig MMIO_NVRAM
1334330f5daSKumar Gala	bool
1344330f5daSKumar Gala	default n
1354330f5daSKumar Gala
1366cfef5b2SMichael Ellermanconfig MPIC_U3_HT_IRQS
1374330f5daSKumar Gala	bool
1384330f5daSKumar Gala	depends on PPC_MAPLE
1394330f5daSKumar Gala	default y
1404330f5daSKumar Gala
1410d72ba93SOlof Johanssonconfig MPIC_BROKEN_REGREAD
1420d72ba93SOlof Johansson	bool
1430d72ba93SOlof Johansson	depends on MPIC
1440d72ba93SOlof Johansson	help
1450d72ba93SOlof Johansson	  This option enables a MPIC driver workaround for some chips
1460d72ba93SOlof Johansson	  that have a bug that causes some interrupt source information
1470d72ba93SOlof Johansson	  to not read back properly. It is safe to use on other chips as
1480d72ba93SOlof Johansson	  well, but enabling it uses about 8KB of memory to keep copies
1490d72ba93SOlof Johansson	  of the register contents in software.
1500d72ba93SOlof Johansson
1514330f5daSKumar Galaconfig IBMVIO
1524330f5daSKumar Gala	depends on PPC_PSERIES || PPC_ISERIES
1534330f5daSKumar Gala	bool
1544330f5daSKumar Gala	default y
1554330f5daSKumar Gala
1564330f5daSKumar Galaconfig IBMEBUS
1574330f5daSKumar Gala	depends on PPC_PSERIES
1584330f5daSKumar Gala	bool "Support for GX bus based adapters"
1594330f5daSKumar Gala	help
1604330f5daSKumar Gala	  Bus device driver for GX bus based adapters.
1614330f5daSKumar Gala
1624330f5daSKumar Galaconfig PPC_MPC106
1634330f5daSKumar Gala	bool
1644330f5daSKumar Gala	default n
1654330f5daSKumar Gala
1664330f5daSKumar Galaconfig PPC_970_NAP
1674330f5daSKumar Gala	bool
1684330f5daSKumar Gala	default n
1694330f5daSKumar Gala
1704330f5daSKumar Galaconfig PPC_INDIRECT_IO
1714330f5daSKumar Gala	bool
1724330f5daSKumar Gala	select GENERIC_IOMAP
1734330f5daSKumar Gala	default n
1744330f5daSKumar Gala
1754330f5daSKumar Galaconfig GENERIC_IOMAP
1764330f5daSKumar Gala	bool
1774330f5daSKumar Gala	default n
1784330f5daSKumar Gala
1794330f5daSKumar Galasource "drivers/cpufreq/Kconfig"
1804330f5daSKumar Gala
181c146c958SOlof Johanssonmenu "CPU Frequency drivers"
182c146c958SOlof Johansson	depends on CPU_FREQ
183c146c958SOlof Johansson
1844330f5daSKumar Galaconfig CPU_FREQ_PMAC
1854330f5daSKumar Gala	bool "Support for Apple PowerBooks"
186c146c958SOlof Johansson	depends on ADB_PMU && PPC32
1874330f5daSKumar Gala	select CPU_FREQ_TABLE
1884330f5daSKumar Gala	help
1894330f5daSKumar Gala	  This adds support for frequency switching on Apple PowerBooks,
1904330f5daSKumar Gala	  this currently includes some models of iBook & Titanium
1914330f5daSKumar Gala	  PowerBook.
1924330f5daSKumar Gala
1934330f5daSKumar Galaconfig CPU_FREQ_PMAC64
1944330f5daSKumar Gala	bool "Support for some Apple G5s"
195c146c958SOlof Johansson	depends on PPC_PMAC && PPC64
1964330f5daSKumar Gala	select CPU_FREQ_TABLE
1974330f5daSKumar Gala	help
1984330f5daSKumar Gala	  This adds support for frequency switching on Apple iMac G5,
1994330f5daSKumar Gala	  and some of the more recent desktop G5 machines as well.
2002e0c3370SOlof Johansson
2012e0c3370SOlof Johanssonconfig PPC_PASEMI_CPUFREQ
2022e0c3370SOlof Johansson	bool "Support for PA Semi PWRficient"
203c146c958SOlof Johansson	depends on PPC_PASEMI
2042e0c3370SOlof Johansson	default y
2052e0c3370SOlof Johansson	select CPU_FREQ_TABLE
2062e0c3370SOlof Johansson	help
2072e0c3370SOlof Johansson	  This adds the support for frequency switching on PA Semi
2082e0c3370SOlof Johansson	  PWRficient processors.
2092e0c3370SOlof Johansson
210164a460dSKumar Galaendmenu
2114330f5daSKumar Gala
2124330f5daSKumar Galaconfig PPC601_SYNC_FIX
2134330f5daSKumar Gala	bool "Workarounds for PPC601 bugs"
2144330f5daSKumar Gala	depends on 6xx && (PPC_PREP || PPC_PMAC)
2154330f5daSKumar Gala	help
2164330f5daSKumar Gala	  Some versions of the PPC601 (the first PowerPC chip) have bugs which
2174330f5daSKumar Gala	  mean that extra synchronization instructions are required near
2184330f5daSKumar Gala	  certain instructions, typically those that make major changes to the
2194330f5daSKumar Gala	  CPU state.  These extra instructions reduce performance slightly.
2204330f5daSKumar Gala	  If you say N here, these extra instructions will not be included,
2214330f5daSKumar Gala	  resulting in a kernel which will run faster but may not run at all
2224330f5daSKumar Gala	  on some systems with the PPC601 chip.
2234330f5daSKumar Gala
2244330f5daSKumar Gala	  If in doubt, say Y here.
2254330f5daSKumar Gala
2264330f5daSKumar Galaconfig TAU
2274330f5daSKumar Gala	bool "On-chip CPU temperature sensor support"
228164a460dSKumar Gala	depends on CLASSIC32
2294330f5daSKumar Gala	help
2304330f5daSKumar Gala	  G3 and G4 processors have an on-chip temperature sensor called the
2314330f5daSKumar Gala	  'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
2324330f5daSKumar Gala	  temperature within 2-4 degrees Celsius. This option shows the current
2334330f5daSKumar Gala	  on-die temperature in /proc/cpuinfo if the cpu supports it.
2344330f5daSKumar Gala
2354330f5daSKumar Gala	  Unfortunately, on some chip revisions, this sensor is very inaccurate
2364330f5daSKumar Gala	  and in many cases, does not work at all, so don't assume the cpu
2374330f5daSKumar Gala	  temp is actually what /proc/cpuinfo says it is.
2384330f5daSKumar Gala
2394330f5daSKumar Galaconfig TAU_INT
2404330f5daSKumar Gala	bool "Interrupt driven TAU driver (DANGEROUS)"
2414330f5daSKumar Gala	depends on TAU
2424330f5daSKumar Gala	---help---
2434330f5daSKumar Gala	  The TAU supports an interrupt driven mode which causes an interrupt
2444330f5daSKumar Gala	  whenever the temperature goes out of range. This is the fastest way
2454330f5daSKumar Gala	  to get notified the temp has exceeded a range. With this option off,
2464330f5daSKumar Gala	  a timer is used to re-check the temperature periodically.
2474330f5daSKumar Gala
2484330f5daSKumar Gala	  However, on some cpus it appears that the TAU interrupt hardware
2494330f5daSKumar Gala	  is buggy and can cause a situation which would lead unexplained hard
2504330f5daSKumar Gala	  lockups.
2514330f5daSKumar Gala
2524330f5daSKumar Gala	  Unless you are extending the TAU driver, or enjoy kernel/hardware
2534330f5daSKumar Gala	  debugging, leave this option off.
2544330f5daSKumar Gala
2554330f5daSKumar Galaconfig TAU_AVERAGE
2564330f5daSKumar Gala	bool "Average high and low temp"
2574330f5daSKumar Gala	depends on TAU
2584330f5daSKumar Gala	---help---
2594330f5daSKumar Gala	  The TAU hardware can compare the temperature to an upper and lower
2604330f5daSKumar Gala	  bound.  The default behavior is to show both the upper and lower
2614330f5daSKumar Gala	  bound in /proc/cpuinfo. If the range is large, the temperature is
2624330f5daSKumar Gala	  either changing a lot, or the TAU hardware is broken (likely on some
2634330f5daSKumar Gala	  G4's). If the range is small (around 4 degrees), the temperature is
2644330f5daSKumar Gala	  relatively stable.  If you say Y here, a single temperature value,
2654330f5daSKumar Gala	  halfway between the upper and lower bounds, will be reported in
2664330f5daSKumar Gala	  /proc/cpuinfo.
2674330f5daSKumar Gala
2684330f5daSKumar Gala	  If in doubt, say N here.
2694330f5daSKumar Gala
27098750261SKumar Galaconfig QUICC_ENGINE
27198750261SKumar Gala	bool
2721088a209SSylvain Munaut	select PPC_LIB_RHEAP
273bc556ba9STimur Tabi	select CRC32
27498750261SKumar Gala	help
27598750261SKumar Gala	  The QUICC Engine (QE) is a new generation of communications
27698750261SKumar Gala	  coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
27798750261SKumar Gala	  Selecting this option means that you wish to build a kernel
27898750261SKumar Gala	  for a machine with a QE coprocessor.
27998750261SKumar Gala
280d6071f88SKumar Galaconfig CPM2
281d6071f88SKumar Gala	bool
282d6071f88SKumar Gala	default n
283c374e00eSScott Wood	select CPM
2841088a209SSylvain Munaut	select PPC_LIB_RHEAP
285d6071f88SKumar Gala	help
286d6071f88SKumar Gala	  The CPM2 (Communications Processor Module) is a coprocessor on
287d6071f88SKumar Gala	  embedded CPUs made by Freescale.  Selecting this option means that
288d6071f88SKumar Gala	  you wish to build a kernel for a machine with a CPM2 coprocessor
289d6071f88SKumar Gala	  on it (826x, 827x, 8560).
290d6071f88SKumar Gala
291e631ae3bSScott Woodconfig PPC_CPM_NEW_BINDING
292e631ae3bSScott Wood	bool
293e631ae3bSScott Wood	depends on CPM1 || CPM2
294e631ae3bSScott Wood	help
295e631ae3bSScott Wood	  Select this if your board has been converted to use the new
296e631ae3bSScott Wood	  device tree bindings for CPM, and no longer needs the
297e631ae3bSScott Wood	  ioport callbacks or the platform device glue code.
298e631ae3bSScott Wood
299e631ae3bSScott Wood	  The fs_enet and cpm_uart drivers will be built as
300e631ae3bSScott Wood	  of_platform devices.
301e631ae3bSScott Wood
302dbdf04c4SMaxim Shchetyninconfig AXON_RAM
303dbdf04c4SMaxim Shchetynin	tristate "Axon DDR2 memory device driver"
304dbdf04c4SMaxim Shchetynin	depends on PPC_IBM_CELL_BLADE
305dbdf04c4SMaxim Shchetynin	default m
306dbdf04c4SMaxim Shchetynin	help
307dbdf04c4SMaxim Shchetynin	  It registers one block device per Axon's DDR2 memory bank found
308dbdf04c4SMaxim Shchetynin	  on a system. Block devices are called axonram?, their major and
309dbdf04c4SMaxim Shchetynin	  minor numbers are available in /proc/devices, /proc/partitions or
310dbdf04c4SMaxim Shchetynin	  in /sys/block/axonram?/dev.
311dbdf04c4SMaxim Shchetynin
312b66510cbSKumar Galaconfig FSL_ULI1575
313b66510cbSKumar Gala	bool
314b66510cbSKumar Gala	default n
315fb4f0e88SKumar Gala	select GENERIC_ISA_DMA
316b66510cbSKumar Gala	help
317b66510cbSKumar Gala	  Supports for the ULI1575 PCIe south bridge that exists on some
318b66510cbSKumar Gala	  Freescale reference boards. The boards all use the ULI in pretty
319b66510cbSKumar Gala	  much the same way.
320b66510cbSKumar Gala
321c374e00eSScott Woodconfig CPM
322c374e00eSScott Wood	bool
323c374e00eSScott Wood
324*22258fa4SDavid Gibsonconfig OF_RTC
325*22258fa4SDavid Gibson	bool
326*22258fa4SDavid Gibson	help
327*22258fa4SDavid Gibson	  Uses information from the OF or flattened device tree to instatiate
328*22258fa4SDavid Gibson	  platform devices for direct mapped RTC chips like the DS1742 or DS1743.
329*22258fa4SDavid Gibson
3302f9ea1bdSSylvain Munautsource "arch/powerpc/sysdev/bestcomm/Kconfig"
3312f9ea1bdSSylvain Munaut
3324330f5daSKumar Galaendmenu
333