xref: /linux/arch/powerpc/platforms/Kconfig (revision dbdf04c40161f81d74e27f04e201acb3a5dfad69)
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
154330f5daSKumar Galaconfig EMBEDDED6xx
164330f5daSKumar Gala	bool "Embedded 6xx/7xx/7xxx-based board"
174330f5daSKumar Gala	depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
184330f5daSKumar Gala
19b9fd305dSArnd Bergmannconfig PPC_82xx
20b9fd305dSArnd Bergmann	bool "Freescale 82xx"
21b9fd305dSArnd Bergmann	depends on 6xx
22b9fd305dSArnd Bergmann
23b9fd305dSArnd Bergmannconfig PPC_83xx
24b9fd305dSArnd Bergmann	bool "Freescale 83xx"
25b9fd305dSArnd Bergmann	depends on 6xx
26b9fd305dSArnd Bergmann	select FSL_SOC
27b9fd305dSArnd Bergmann	select 83xx
28b9fd305dSArnd Bergmann	select WANT_DEVICE_TREE
29b9fd305dSArnd Bergmann
30b9fd305dSArnd Bergmannconfig PPC_86xx
31b9fd305dSArnd Bergmann	bool "Freescale 86xx"
32b9fd305dSArnd Bergmann	depends on 6xx
33b9fd305dSArnd Bergmann	select FSL_SOC
34b9fd305dSArnd Bergmann	select ALTIVEC
35b9fd305dSArnd Bergmann	help
36b9fd305dSArnd Bergmann	  The Freescale E600 SoCs have 74xx cores.
374330f5daSKumar Galaendchoice
384330f5daSKumar Gala
39b9fd305dSArnd Bergmannconfig CLASSIC32
40b9fd305dSArnd Bergmann	def_bool y
41b9fd305dSArnd Bergmann	depends on 6xx && PPC_MULTIPLATFORM
42b9fd305dSArnd Bergmann
434330f5daSKumar Galasource "arch/powerpc/platforms/pseries/Kconfig"
444330f5daSKumar Galasource "arch/powerpc/platforms/iseries/Kconfig"
454330f5daSKumar Galasource "arch/powerpc/platforms/chrp/Kconfig"
464330f5daSKumar Galasource "arch/powerpc/platforms/52xx/Kconfig"
474330f5daSKumar Galasource "arch/powerpc/platforms/powermac/Kconfig"
484330f5daSKumar Galasource "arch/powerpc/platforms/prep/Kconfig"
494330f5daSKumar Galasource "arch/powerpc/platforms/maple/Kconfig"
504330f5daSKumar Galasource "arch/powerpc/platforms/pasemi/Kconfig"
5198750261SKumar Galasource "arch/powerpc/platforms/celleb/Kconfig"
5298750261SKumar Galasource "arch/powerpc/platforms/ps3/Kconfig"
5398750261SKumar Galasource "arch/powerpc/platforms/cell/Kconfig"
54c8a55f3dSKumar Galasource "arch/powerpc/platforms/8xx/Kconfig"
55d6071f88SKumar Galasource "arch/powerpc/platforms/82xx/Kconfig"
56b5a48346SKumar Galasource "arch/powerpc/platforms/83xx/Kconfig"
57db947808SKumar Galasource "arch/powerpc/platforms/85xx/Kconfig"
584a89f7faSKumar Galasource "arch/powerpc/platforms/86xx/Kconfig"
5998750261SKumar Galasource "arch/powerpc/platforms/embedded6xx/Kconfig"
60f6dfc805SDavid Gibsonsource "arch/powerpc/platforms/44x/Kconfig"
6198750261SKumar Gala#source "arch/powerpc/platforms/4xx/Kconfig
624330f5daSKumar Gala
634330f5daSKumar Galaconfig PPC_NATIVE
644330f5daSKumar Gala	bool
654330f5daSKumar Gala	depends on PPC_MULTIPLATFORM
664330f5daSKumar Gala	help
674330f5daSKumar Gala	  Support for running natively on the hardware, i.e. without
684330f5daSKumar Gala	  a hypervisor. This option is not user-selectable but should
694330f5daSKumar Gala	  be selected by all platforms that need it.
704330f5daSKumar Gala
714330f5daSKumar Galaconfig UDBG_RTAS_CONSOLE
724330f5daSKumar Gala	bool "RTAS based debug console"
734330f5daSKumar Gala	depends on PPC_RTAS
744330f5daSKumar Gala	default n
754330f5daSKumar Gala
764330f5daSKumar Galaconfig PPC_UDBG_BEAT
774330f5daSKumar Gala	bool "BEAT based debug console"
784330f5daSKumar Gala	depends on PPC_CELLEB
794330f5daSKumar Gala	default n
804330f5daSKumar Gala
814330f5daSKumar Galaconfig XICS
824330f5daSKumar Gala	depends on PPC_PSERIES
834330f5daSKumar Gala	bool
844330f5daSKumar Gala	default y
854330f5daSKumar Gala
8698750261SKumar Galaconfig MPIC
8798750261SKumar Gala	bool
8898750261SKumar Gala	default n
8998750261SKumar Gala
9098750261SKumar Galaconfig MPIC_WEIRD
9198750261SKumar Gala	bool
9298750261SKumar Gala	default n
9398750261SKumar Gala
9498750261SKumar Galaconfig PPC_I8259
9598750261SKumar Gala	bool
9698750261SKumar Gala	default n
9798750261SKumar Gala
984330f5daSKumar Galaconfig U3_DART
994330f5daSKumar Gala	bool
1004330f5daSKumar Gala	depends on PPC_MULTIPLATFORM && PPC64
1014330f5daSKumar Gala	default n
1024330f5daSKumar Gala
1034330f5daSKumar Galaconfig PPC_RTAS
1044330f5daSKumar Gala	bool
1054330f5daSKumar Gala	default n
1064330f5daSKumar Gala
1074330f5daSKumar Galaconfig RTAS_ERROR_LOGGING
1084330f5daSKumar Gala	bool
1094330f5daSKumar Gala	depends on PPC_RTAS
1104330f5daSKumar Gala	default n
1114330f5daSKumar Gala
1124330f5daSKumar Galaconfig RTAS_PROC
1134330f5daSKumar Gala	bool "Proc interface to RTAS"
1144330f5daSKumar Gala	depends on PPC_RTAS
1154330f5daSKumar Gala	default y
1164330f5daSKumar Gala
1174330f5daSKumar Galaconfig RTAS_FLASH
1184330f5daSKumar Gala	tristate "Firmware flash interface"
1194330f5daSKumar Gala	depends on PPC64 && RTAS_PROC
1204330f5daSKumar Gala
1214330f5daSKumar Galaconfig PPC_PMI
1224330f5daSKumar Gala	tristate "Support for PMI"
1234330f5daSKumar Gala	depends PPC_IBM_CELL_BLADE
1244330f5daSKumar Gala	help
1254330f5daSKumar Gala	  PMI (Platform Management Interrupt) is a way to
1264330f5daSKumar Gala	  communicate with the BMC (Baseboard Mangement Controller).
1274330f5daSKumar Gala	  It is used in some IBM Cell blades.
1284330f5daSKumar Gala	default m
1294330f5daSKumar Gala
1304330f5daSKumar Galaconfig MMIO_NVRAM
1314330f5daSKumar Gala	bool
1324330f5daSKumar Gala	default n
1334330f5daSKumar Gala
1346cfef5b2SMichael Ellermanconfig MPIC_U3_HT_IRQS
1354330f5daSKumar Gala	bool
1364330f5daSKumar Gala	depends on PPC_MAPLE
1374330f5daSKumar Gala	default y
1384330f5daSKumar Gala
1394330f5daSKumar Galaconfig IBMVIO
1404330f5daSKumar Gala	depends on PPC_PSERIES || PPC_ISERIES
1414330f5daSKumar Gala	bool
1424330f5daSKumar Gala	default y
1434330f5daSKumar Gala
1444330f5daSKumar Galaconfig IBMEBUS
1454330f5daSKumar Gala	depends on PPC_PSERIES
1464330f5daSKumar Gala	bool "Support for GX bus based adapters"
1474330f5daSKumar Gala	help
1484330f5daSKumar Gala	  Bus device driver for GX bus based adapters.
1494330f5daSKumar Gala
1504330f5daSKumar Galaconfig PPC_MPC106
1514330f5daSKumar Gala	bool
1524330f5daSKumar Gala	default n
1534330f5daSKumar Gala
1544330f5daSKumar Galaconfig PPC_970_NAP
1554330f5daSKumar Gala	bool
1564330f5daSKumar Gala	default n
1574330f5daSKumar Gala
1584330f5daSKumar Galaconfig PPC_INDIRECT_IO
1594330f5daSKumar Gala	bool
1604330f5daSKumar Gala	select GENERIC_IOMAP
1614330f5daSKumar Gala	default n
1624330f5daSKumar Gala
1634330f5daSKumar Galaconfig GENERIC_IOMAP
1644330f5daSKumar Gala	bool
1654330f5daSKumar Gala	default n
1664330f5daSKumar Gala
1674330f5daSKumar Galasource "drivers/cpufreq/Kconfig"
1684330f5daSKumar Gala
169c146c958SOlof Johanssonmenu "CPU Frequency drivers"
170c146c958SOlof Johansson	depends on CPU_FREQ
171c146c958SOlof Johansson
1724330f5daSKumar Galaconfig CPU_FREQ_PMAC
1734330f5daSKumar Gala	bool "Support for Apple PowerBooks"
174c146c958SOlof Johansson	depends on ADB_PMU && PPC32
1754330f5daSKumar Gala	select CPU_FREQ_TABLE
1764330f5daSKumar Gala	help
1774330f5daSKumar Gala	  This adds support for frequency switching on Apple PowerBooks,
1784330f5daSKumar Gala	  this currently includes some models of iBook & Titanium
1794330f5daSKumar Gala	  PowerBook.
1804330f5daSKumar Gala
1814330f5daSKumar Galaconfig CPU_FREQ_PMAC64
1824330f5daSKumar Gala	bool "Support for some Apple G5s"
183c146c958SOlof Johansson	depends on PPC_PMAC && PPC64
1844330f5daSKumar Gala	select CPU_FREQ_TABLE
1854330f5daSKumar Gala	help
1864330f5daSKumar Gala	  This adds support for frequency switching on Apple iMac G5,
1874330f5daSKumar Gala	  and some of the more recent desktop G5 machines as well.
1882e0c3370SOlof Johansson
1892e0c3370SOlof Johanssonconfig PPC_PASEMI_CPUFREQ
1902e0c3370SOlof Johansson	bool "Support for PA Semi PWRficient"
191c146c958SOlof Johansson	depends on PPC_PASEMI
1922e0c3370SOlof Johansson	default y
1932e0c3370SOlof Johansson	select CPU_FREQ_TABLE
1942e0c3370SOlof Johansson	help
1952e0c3370SOlof Johansson	  This adds the support for frequency switching on PA Semi
1962e0c3370SOlof Johansson	  PWRficient processors.
1972e0c3370SOlof Johansson
198164a460dSKumar Galaendmenu
1994330f5daSKumar Gala
2004330f5daSKumar Galaconfig PPC601_SYNC_FIX
2014330f5daSKumar Gala	bool "Workarounds for PPC601 bugs"
2024330f5daSKumar Gala	depends on 6xx && (PPC_PREP || PPC_PMAC)
2034330f5daSKumar Gala	help
2044330f5daSKumar Gala	  Some versions of the PPC601 (the first PowerPC chip) have bugs which
2054330f5daSKumar Gala	  mean that extra synchronization instructions are required near
2064330f5daSKumar Gala	  certain instructions, typically those that make major changes to the
2074330f5daSKumar Gala	  CPU state.  These extra instructions reduce performance slightly.
2084330f5daSKumar Gala	  If you say N here, these extra instructions will not be included,
2094330f5daSKumar Gala	  resulting in a kernel which will run faster but may not run at all
2104330f5daSKumar Gala	  on some systems with the PPC601 chip.
2114330f5daSKumar Gala
2124330f5daSKumar Gala	  If in doubt, say Y here.
2134330f5daSKumar Gala
2144330f5daSKumar Galaconfig TAU
2154330f5daSKumar Gala	bool "On-chip CPU temperature sensor support"
216164a460dSKumar Gala	depends on CLASSIC32
2174330f5daSKumar Gala	help
2184330f5daSKumar Gala	  G3 and G4 processors have an on-chip temperature sensor called the
2194330f5daSKumar Gala	  'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
2204330f5daSKumar Gala	  temperature within 2-4 degrees Celsius. This option shows the current
2214330f5daSKumar Gala	  on-die temperature in /proc/cpuinfo if the cpu supports it.
2224330f5daSKumar Gala
2234330f5daSKumar Gala	  Unfortunately, on some chip revisions, this sensor is very inaccurate
2244330f5daSKumar Gala	  and in many cases, does not work at all, so don't assume the cpu
2254330f5daSKumar Gala	  temp is actually what /proc/cpuinfo says it is.
2264330f5daSKumar Gala
2274330f5daSKumar Galaconfig TAU_INT
2284330f5daSKumar Gala	bool "Interrupt driven TAU driver (DANGEROUS)"
2294330f5daSKumar Gala	depends on TAU
2304330f5daSKumar Gala	---help---
2314330f5daSKumar Gala	  The TAU supports an interrupt driven mode which causes an interrupt
2324330f5daSKumar Gala	  whenever the temperature goes out of range. This is the fastest way
2334330f5daSKumar Gala	  to get notified the temp has exceeded a range. With this option off,
2344330f5daSKumar Gala	  a timer is used to re-check the temperature periodically.
2354330f5daSKumar Gala
2364330f5daSKumar Gala	  However, on some cpus it appears that the TAU interrupt hardware
2374330f5daSKumar Gala	  is buggy and can cause a situation which would lead unexplained hard
2384330f5daSKumar Gala	  lockups.
2394330f5daSKumar Gala
2404330f5daSKumar Gala	  Unless you are extending the TAU driver, or enjoy kernel/hardware
2414330f5daSKumar Gala	  debugging, leave this option off.
2424330f5daSKumar Gala
2434330f5daSKumar Galaconfig TAU_AVERAGE
2444330f5daSKumar Gala	bool "Average high and low temp"
2454330f5daSKumar Gala	depends on TAU
2464330f5daSKumar Gala	---help---
2474330f5daSKumar Gala	  The TAU hardware can compare the temperature to an upper and lower
2484330f5daSKumar Gala	  bound.  The default behavior is to show both the upper and lower
2494330f5daSKumar Gala	  bound in /proc/cpuinfo. If the range is large, the temperature is
2504330f5daSKumar Gala	  either changing a lot, or the TAU hardware is broken (likely on some
2514330f5daSKumar Gala	  G4's). If the range is small (around 4 degrees), the temperature is
2524330f5daSKumar Gala	  relatively stable.  If you say Y here, a single temperature value,
2534330f5daSKumar Gala	  halfway between the upper and lower bounds, will be reported in
2544330f5daSKumar Gala	  /proc/cpuinfo.
2554330f5daSKumar Gala
2564330f5daSKumar Gala	  If in doubt, say N here.
2574330f5daSKumar Gala
25898750261SKumar Galaconfig QUICC_ENGINE
25998750261SKumar Gala	bool
26098750261SKumar Gala	help
26198750261SKumar Gala	  The QUICC Engine (QE) is a new generation of communications
26298750261SKumar Gala	  coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
26398750261SKumar Gala	  Selecting this option means that you wish to build a kernel
26498750261SKumar Gala	  for a machine with a QE coprocessor.
26598750261SKumar Gala
266d6071f88SKumar Galaconfig CPM2
267d6071f88SKumar Gala	bool
268d6071f88SKumar Gala	default n
269d6071f88SKumar Gala	help
270d6071f88SKumar Gala	  The CPM2 (Communications Processor Module) is a coprocessor on
271d6071f88SKumar Gala	  embedded CPUs made by Freescale.  Selecting this option means that
272d6071f88SKumar Gala	  you wish to build a kernel for a machine with a CPM2 coprocessor
273d6071f88SKumar Gala	  on it (826x, 827x, 8560).
274d6071f88SKumar Gala
275*dbdf04c4SMaxim Shchetyninconfig AXON_RAM
276*dbdf04c4SMaxim Shchetynin	tristate "Axon DDR2 memory device driver"
277*dbdf04c4SMaxim Shchetynin	depends on PPC_IBM_CELL_BLADE
278*dbdf04c4SMaxim Shchetynin	default m
279*dbdf04c4SMaxim Shchetynin	help
280*dbdf04c4SMaxim Shchetynin	  It registers one block device per Axon's DDR2 memory bank found
281*dbdf04c4SMaxim Shchetynin	  on a system. Block devices are called axonram?, their major and
282*dbdf04c4SMaxim Shchetynin	  minor numbers are available in /proc/devices, /proc/partitions or
283*dbdf04c4SMaxim Shchetynin	  in /sys/block/axonram?/dev.
284*dbdf04c4SMaxim Shchetynin
2854330f5daSKumar Galaendmenu
286