Skip to content
Kconfig 32.9 KiB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#

mainmenu "Linux/PowerPC Kernel Configuration"

config WORD_SIZE
	int
	default 32

Linus Torvalds's avatar
Linus Torvalds committed
config MMU
	bool
	default y

config GENERIC_HARDIRQS
	bool
	default y

config RWSEM_GENERIC_SPINLOCK
	bool

config RWSEM_XCHGADD_ALGORITHM
	bool
	default y

config ARCH_HAS_ILOG2_U32
	bool
	default y

config ARCH_HAS_ILOG2_U64
	bool
	default n

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
config GENERIC_CALIBRATE_DELAY
	bool
	default y

config PPC
	bool
	default y
Mathieu Desnoyers's avatar
Mathieu Desnoyers committed
	select HAVE_OPROFILE
Linus Torvalds's avatar
Linus Torvalds committed

config PPC32
	bool
	default y

# All PPCs use generic nvram driver through ppc_md
config GENERIC_NVRAM
	bool
	default y

config GENERIC_FIND_NEXT_BIT
	bool
	default y

config SCHED_NO_NO_OMIT_FRAME_POINTER
	bool
	default y

config ARCH_MAY_HAVE_PC_FDC
	bool
	default y

config GENERIC_BUG
	bool
	default y
	depends on BUG

Linus Torvalds's avatar
Linus Torvalds committed
source "init/Kconfig"

menu "Processor"

choice
	prompt "Processor Type"
	default 6xx

config 6xx
	bool "6xx/7xx/74xx/52xx/82xx"
Linus Torvalds's avatar
Linus Torvalds committed
	help
	  There are four types of PowerPC chips supported.  The more common
	  types (601, 603, 604, 740, 750, 7400), the older Freescale
	  (formerly Motorola) embedded versions (821, 823, 850, 855, 860,
	  52xx, 82xx), the IBM embedded versions (403 and 405) and
	  the Book E embedded processors from IBM (44x) and Freescale (85xx).
	  For support for 64-bit processors, set ARCH=powerpc.
Linus Torvalds's avatar
Linus Torvalds committed
	  Unless you are building a kernel for one of the embedded processor
	  Also note that because the 52xx, 82xx family have a 603e
	  core, specific support for that chipset is asked later on.
Linus Torvalds's avatar
Linus Torvalds committed

config 40x
	bool "40x"
	select PPC_DCR_NATIVE
Linus Torvalds's avatar
Linus Torvalds committed

config 44x
	bool "44x"
	select PPC_DCR_NATIVE
Linus Torvalds's avatar
Linus Torvalds committed

config 8xx
	bool "8xx"
	select PPC_LIB_RHEAP
Linus Torvalds's avatar
Linus Torvalds committed

endchoice

config PPC_DCR_NATIVE
	bool
	default n

config PPC_DCR
	bool
	depends on PPC_DCR_NATIVE
	default y

Linus Torvalds's avatar
Linus Torvalds committed
config PTE_64BIT
	bool
	depends on 44x
Linus Torvalds's avatar
Linus Torvalds committed

config PHYS_64BIT
	bool
	depends on 44x
	default y if 44x
	---help---
	  This option enables kernel support for larger than 32-bit physical
	  addresses.  This features is not be available on all e500 cores.

	  If in doubt, say N here.
Linus Torvalds's avatar
Linus Torvalds committed

config ALTIVEC
	bool "AltiVec Support"
	depends on !8260
Linus Torvalds's avatar
Linus Torvalds committed
	---help---
	  This option enables kernel support for the Altivec extensions to the
	  PowerPC processor. The kernel currently supports saving and restoring
	  altivec registers, and turning on the 'altivec enable' bit so user
	  processes can execute altivec instructions.

	  This option is only usefully if you have a processor that supports
	  altivec (G4, otherwise known as 74xx series), but does not have
	  any affect on a non-altivec cpu (it does, however add code to the
	  kernel).

	  If in doubt, say Y here.

config TAU
	bool "Thermal Management Support"
	depends on 6xx && !8260
Linus Torvalds's avatar
Linus Torvalds committed
	help
	  G3 and G4 processors have an on-chip temperature sensor called the
	  'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
	  temperature within 2-4 degrees Celsius. This option shows the current
	  on-die temperature in /proc/cpuinfo if the cpu supports it.

	  Unfortunately, on some chip revisions, this sensor is very inaccurate
	  and in some cases, does not work at all, so don't assume the cpu
	  temp is actually what /proc/cpuinfo says it is.

config TAU_INT
	bool "Interrupt driven TAU driver (DANGEROUS)"
	depends on TAU
	---help---
	  The TAU supports an interrupt driven mode which causes an interrupt
	  whenever the temperature goes out of range. This is the fastest way
	  to get notified the temp has exceeded a range. With this option off,
	  a timer is used to re-check the temperature periodically.

	  However, on some cpus it appears that the TAU interrupt hardware
	  is buggy and can cause a situation which would lead unexplained hard
	  lockups.

	  Unless you are extending the TAU driver, or enjoy kernel/hardware
	  debugging, leave this option off.

config TAU_AVERAGE
	bool "Average high and low temp"
	depends on TAU
	---help---
	  The TAU hardware can compare the temperature to an upper and lower
	  bound.  The default behavior is to show both the upper and lower
	  bound in /proc/cpuinfo. If the range is large, the temperature is
	  either changing a lot, or the TAU hardware is broken (likely on some
	  G4's). If the range is small (around 4 degrees), the temperature is
	  relatively stable.  If you say Y here, a single temperature value,
	  halfway between the upper and lower bounds, will be reported in
	  /proc/cpuinfo.

	  If in doubt, say N here.

config MATH_EMULATION
	bool "Math emulation"
	depends on 4xx || 8xx
Loading
Loading full blame...