kconfig

来自「linux 内核源代码」· 代码 · 共 1,327 行 · 第 1/3 页

TXT
1,327
字号
# 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 32config MMU	bool	default yconfig GENERIC_HARDIRQS	bool	default yconfig RWSEM_GENERIC_SPINLOCK	boolconfig RWSEM_XCHGADD_ALGORITHM	bool	default yconfig ARCH_HAS_ILOG2_U32	bool	default yconfig ARCH_HAS_ILOG2_U64	bool	default nconfig GENERIC_HWEIGHT	bool	default yconfig GENERIC_CALIBRATE_DELAY	bool	default yconfig PPC	bool	default yconfig PPC32	bool	default y# All PPCs use generic nvram driver through ppc_mdconfig GENERIC_NVRAM	bool	default yconfig GENERIC_FIND_NEXT_BIT	bool	default yconfig SCHED_NO_NO_OMIT_FRAME_POINTER	bool	default yconfig ARCH_MAY_HAVE_PC_FDC	bool	default yconfig GENERIC_BUG	bool	default y	depends on BUGsource "init/Kconfig"menu "Processor"choice	prompt "Processor Type"	default 6xxconfig 6xx	bool "6xx/7xx/74xx/52xx/82xx/83xx"	select PPC_FPU	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, 83xx), 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.	  Unless you are building a kernel for one of the embedded processor	  systems, choose 6xx.	  Also note that because the 52xx, 82xx, & 83xx family have a 603e	  core, specific support for that chipset is asked later on.config 40x	bool "40x"	select PPC_DCR_NATIVEconfig 44x	bool "44x"	select PPC_DCR_NATIVEconfig 8xx	bool "8xx"	select PPC_LIB_RHEAPconfig E200	bool "e200"config E500	bool "e500"endchoiceconfig PPC_FPU	boolconfig PPC_DCR_NATIVE	bool	default nconfig PPC_DCR	bool	depends on PPC_DCR_NATIVE	default yconfig BOOKE	bool	depends on E200 || E500	default yconfig FSL_BOOKE	bool	depends on E200 || E500	default yconfig PTE_64BIT	bool	depends on 44x || E500	default y if 44x	default y if E500 && PHYS_64BITconfig PHYS_64BIT	bool 'Large physical address support' if E500	depends on 44x || E500	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.config ALTIVEC	bool "AltiVec Support"	depends on 6xx	depends on !8260 && !83xx	---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 SPE	bool "SPE Support"	depends on E200 || E500	---help---	  This option enables kernel support for the Signal Processing	  Extensions (SPE) to the PowerPC processor. The kernel currently	  supports saving and restoring SPE registers, and turning on the	  'spe enable' bit so user processes can execute SPE instructions.	  This option is only useful if you have a processor that supports	  SPE (e500, otherwise known as 85xx series), but does not have any	  effect on a non-spe 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 && !83xx	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 || E200 || E500	---help---	  Some PowerPC chips designed for embedded applications do not have	  a floating-point unit and therefore do not implement the	  floating-point instructions in the PowerPC instruction set.  If you	  say Y here, the kernel will include code to emulate a floating-point	  unit, which will allow programs that use floating-point	  instructions to run.	  If you have an Apple machine or an IBM RS/6000 or pSeries machine,	  or any machine with a 6xx, 7xx or 7xxx series processor, say N	  here.  Saying Y here will not hurt performance (on any machine) but	  will increase the size of the kernel.config KEXEC	bool "kexec system call (EXPERIMENTAL)"	depends on EXPERIMENTAL	help	  kexec is a system call that implements the ability to shutdown your	  current kernel, and to start another kernel.  It is like a reboot	  but it is independent of the system firmware.   And like a reboot	  you can start any kernel with it, not just Linux.	  The name comes from the similarity to the exec system call.	  It is an ongoing process to be certain the hardware in a machine	  is properly shutdown, so do not be surprised if this code does not	  initially work for you.  It may help to enable device hotplugging	  support.  As of this writing the exact hardware interface is	  strongly in flux, so no good recommendation can be made.	  In the GameCube implementation, kexec allows you to load and	  run DOL files, including kernel and homebrew DOLs.source "drivers/cpufreq/Kconfig"config PPC601_SYNC_FIX	bool "Workarounds for PPC601 bugs"	depends on 6xx && PPC_PREP	help	  Some versions of the PPC601 (the first PowerPC chip) have bugs which	  mean that extra synchronization instructions are required near	  certain instructions, typically those that make major changes to the	  CPU state.  These extra instructions reduce performance slightly.	  If you say N here, these extra instructions will not be included,	  resulting in a kernel which will run faster but may not run at all	  on some systems with the PPC601 chip.	  If in doubt, say Y here.source arch/ppc/platforms/4xx/Kconfigsource arch/ppc/platforms/85xx/Kconfigconfig PPC_STD_MMU	bool	depends on 6xx	default yconfig NOT_COHERENT_CACHE	bool	depends on 4xx || 8xx || E200	default yendmenumenu "Platform options"config FADS	boolchoice	prompt "8xx Machine Type"	depends on 8xx	default RPXLITEconfig RPXLITE	bool "RPX-Lite"	---help---	  Single-board computers based around the PowerPC MPC8xx chips and	  intended for embedded applications.  The following types are	  supported:	  RPX-Lite:	  Embedded Planet RPX Lite. PC104 form-factor SBC based on the MPC823.	  RPX-Classic:	  Embedded Planet RPX Classic Low-fat. Credit-card-size SBC based on	  the MPC 860	  BSE-IP:	  Bright Star Engineering ip-Engine.	  TQM823L:	  TQM850L:	  TQM855L:	  TQM860L:	  MPC8xx based family of mini modules, half credit card size,	  up to 64 MB of RAM, 8 MB Flash, (Fast) Ethernet, 2 x serial ports,	  2 x CAN bus interface, ...	  Manufacturer: TQ Components, www.tq-group.de	  Date of Release: October (?) 1999	  End of Life: not yet :-)	  URL:	  - module: <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>	  - starter kit: <http://www.denx.de/PDF/STK8xxLHWM201.pdf>	  - images: <http://www.denx.de/embedded-ppc-en.html>	  FPS850L:	  FingerPrint Sensor System (based on TQM850L)	  Manufacturer: IKENDI AG, <http://www.ikendi.com/>	  Date of Release: November 1999	  End of life: end 2000 ?	  URL: see TQM850L	  IVMS8:	  MPC860 based board used in the "Integrated Voice Mail System",	  Small Version (8 voice channels)	  Manufacturer: Speech Design, <http://www.speech-design.de/>	  Date of Release: December 2000 (?)	  End of life: -	  URL: <http://www.speech-design.de/>	  IVML24:	  MPC860 based board used in the "Integrated Voice Mail System",	  Large Version (24 voice channels)	  Manufacturer: Speech Design, <http://www.speech-design.de/>	  Date of Release: March 2001  (?)	  End of life: -	  URL: <http://www.speech-design.de/>	  HERMES:	  Hermes-Pro ISDN/LAN router with integrated 8 x hub	  Manufacturer: Multidata Gesellschaft fur Datentechnik und Informatik	  <http://www.multidata.de/>	  Date of Release: 2000 (?)	  End of life: -	  URL: <http://www.multidata.de/english/products/hpro.htm>	  IP860:	  VMEBus IP (Industry Pack) carrier board with MPC860	  Manufacturer: MicroSys GmbH, <http://www.microsys.de/>	  Date of Release: ?	  End of life: -	  URL: <http://www.microsys.de/html/ip860.html>	  PCU_E:	  PCU = Peripheral Controller Unit, Extended	  Manufacturer: Siemens AG, ICN (Information and Communication Networks)	  	<http://www.siemens.de/page/1,3771,224315-1-999_2_226207-0,00.html>	  Date of Release: April 2001	  End of life: August 2001	  URL: n. a.config RPXCLASSIC	bool "RPX-Classic"	help	  The RPX-Classic is a single-board computer based on the Motorola	  MPC860.  It features 16MB of DRAM and a variable amount of flash,	  I2C EEPROM, thermal monitoring, a PCMCIA slot, a DIP switch and two	  LEDs.  Variants with Ethernet ports exist.  Say Y here to support it	  directly.config BSEIP	bool "BSE-IP"	help	  Say Y here to support the Bright Star Engineering ipEngine SBC.	  This is a credit-card-sized device featuring a MPC823 processor,	  26MB DRAM, 4MB flash, Ethernet, a 16K-gate FPGA, USB, an LCD/video	  controller, and two RS232 ports.config MPC8XXFADS	bool "FADS"	select FADSconfig MPC86XADS	bool "MPC86XADS"	help	  MPC86x Application Development System by Freescale Semiconductor.	  The MPC86xADS is meant to serve as a platform for s/w and h/w	  development around the MPC86X processor families.	select FADSconfig MPC885ADS	bool "MPC885ADS"	help	  Freescale Semiconductor MPC885 Application Development System (ADS).	  Also known as DUET.	  The MPC885ADS is meant to serve as a platform for s/w and h/w	  development around the MPC885 processor family.config TQM823L	bool "TQM823L"	help	  Say Y here to support the TQM823L, one of an MPC8xx-based family of	  mini SBCs (half credit-card size) from TQ Components first released	  in late 1999.  Technical references are at	  <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>, and	  <http://www.denx.de/PDF/STK8xxLHWM201.pdf>, and an image at	  <http://www.denx.de/embedded-ppc-en.html>.config TQM850L	bool "TQM850L"	help	  Say Y here to support the TQM850L, one of an MPC8xx-based family of	  mini SBCs (half credit-card size) from TQ Components first released	  in late 1999.  Technical references are at	  <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>, and	  <http://www.denx.de/PDF/STK8xxLHWM201.pdf>, and an image at	  <http://www.denx.de/embedded-ppc-en.html>.config TQM855L	bool "TQM855L"	help

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?