vserver 1.9.5.x5
[linux-2.6.git] / arch / ppc / Kconfig
index 1635a6f..5e916b3 100644 (file)
@@ -11,6 +11,10 @@ config MMU
 config UID16
        bool
 
+config GENERIC_HARDIRQS
+       bool
+       default y
+
 config RWSEM_GENERIC_SPINLOCK
        bool
 
@@ -18,6 +22,10 @@ config RWSEM_XCHGADD_ALGORITHM
        bool
        default y
 
+config GENERIC_CALIBRATE_DELAY
+       bool
+       default y
+
 config HAVE_DEC_LOCK
        bool
        default y
@@ -44,18 +52,18 @@ choice
        default 6xx
 
 config 6xx
-       bool "6xx/7xx/74xx/8260"
+       bool "6xx/7xx/74xx/52xx/8260"
        help
          There are four types of PowerPC chips supported.  The more common
          types (601, 603, 604, 740, 750, 7400), the Motorola embedded
-         versions (821, 823, 850, 855, 860, 8260), the IBM embedded versions
-         (403 and 405) and the high end 64 bit Power processors (POWER 3,
-         POWER4, and IBM 970 also known as G5)
+         versions (821, 823, 850, 855, 860, 52xx, 8260), the IBM embedded
+         versions (403 and 405) and the high end 64 bit Power processors
+         (POWER 3, POWER4, and IBM 970 also known as G5)
          Unless you are building a kernel for one of the embedded processor
          systems, 64 bit IBM RS/6000 or an Apple G5, choose 6xx.
          Note that the kernel runs in 32-bit mode even on 64-bit chips.
-         Also note that because the 82xx family has a 603e core, specific
-         support for that chipset is asked later on.
+         Also note that because the 52xx & 82xx family has a 603e core,
+         specific support for that chipset is asked later on.
 
 config 40x
        bool "40x"
@@ -70,15 +78,34 @@ config POWER4
        bool "POWER4 and 970 (G5)"
 
 config 8xx
+       depends on BROKEN
        bool "8xx"
 
+config E500
+       bool "e500"
+
 endchoice
 
+config BOOKE
+       bool
+       depends on E500
+       default y
+
+config FSL_BOOKE
+       bool
+       depends on E500
+       default y
+
 config PTE_64BIT
        bool
        depends on 44x
        default y
 
+config PHYS_64BIT
+       bool
+       depends on 44x
+       default y
+
 config ALTIVEC
        bool "AltiVec Support"
        depends on 6xx || POWER4
@@ -96,6 +123,21 @@ config ALTIVEC
 
          If in doubt, say Y here.
 
+config SPE
+       bool "SPE Support"
+       depends on 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 usefully if you have a processor that supports
+         SPE (e500, otherwise known as 85xx series), but does not have any
+         affect 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
@@ -142,7 +184,7 @@ config TAU_AVERAGE
 
 config MATH_EMULATION
        bool "Math emulation"
-       depends on 4xx || 8xx
+       depends on 4xx || 8xx || E500
        ---help---
          Some PowerPC chips designed for embedded applications do not have
          a floating-point unit and therefore do not implement the
@@ -156,18 +198,6 @@ config MATH_EMULATION
          here.  Saying Y here will not hurt performance (on any machine) but
          will increase the size of the kernel.
 
-config CPU_FREQ
-       bool "CPU Frequency scaling"
-       help
-         Clock scaling allows you to change the clock speed of CPUs on the
-         fly. This is a nice method to save battery power on notebooks,
-         because the lower the clock speed, the less power the CPU consumes.
-
-         For more information, take a look at linux/Documentation/cpu-freq or
-         at <http://www.brodo.de/cpufreq/>
-
-         If in doubt, say N.
-
 source "drivers/cpufreq/Kconfig"
 
 config CPU_FREQ_PMAC
@@ -198,6 +228,7 @@ config PPC601_SYNC_FIX
          If in doubt, say Y here.
 
 source arch/ppc/platforms/4xx/Kconfig
+source arch/ppc/platforms/85xx/Kconfig
 
 config PPC64BRIDGE
        bool
@@ -295,7 +326,7 @@ config RPXLITE
 
          HERMES:
          Hermes-Pro ISDN/LAN router with integrated 8 x hub
-         Manufacturer: Multidata Gesellschaft fΓΌr Datentechnik und Informatik
+         Manufacturer: Multidata Gesellschaft fur Datentechnik und Informatik
          <http://www.multidata.de/>
          Date of Release: 2000 (?)
          End of life: -
@@ -478,21 +509,41 @@ config APUS
          More information is available at:
          <http://linux-apus.sourceforge.net/>.
 
+config KATANA
+       bool "Artesyn-Katana"
+       help
+         Select KATANA if configuring an Artesyn KATANA 750i or 3750
+         cPCI board.
+
 config WILLOW
        bool "Cogent-Willow"
 
+config CPCI690
+       bool "Force-CPCI690"
+       help
+         Select CPCI690 if configuring a Force CPCI690 cPCI board.
+
 config PCORE
        bool "Force-PowerCore"
 
 config POWERPMC250
        bool "Force-PowerPMC250"
 
-config EV64260
-       bool "Galileo-EV-64260-BP"
+config CHESTNUT
+       bool "IBM 750FX Eval board or 750GX Eval board"
+       help
+         Select CHESTNUT if configuring an IBM 750FX Eval Board or a
+         IBM 750GX Eval board.
 
 config SPRUCE
        bool "IBM-Spruce"
 
+config EV64260
+       bool "Marvell-EV64260BP"
+       help
+         Select EV64260 if configuring a Marvell (formerly Galileo)
+         EV64260BP Evaluation platform.
+
 config LOPEC
        bool "Motorola-LoPEC"
 
@@ -554,7 +605,7 @@ config SBC82xx
 config SBS8260
        bool "SBS8260"
 
-config RPX6
+config RPX8260
        bool "RPXSUPER"
 
 config TQM8260
@@ -569,8 +620,31 @@ config TQM8260
          End of Life: not yet :-)
          URL: <http://www.denx.de/PDF/TQM82xx_SPEC_Rev005.pdf>
 
+config ADS8272
+       bool "ADS8272"
+
+config PQ2FADS
+       bool "Freescale-PQ2FADS"
+       help
+         Select PQ2FADS if you wish to configure for a Freescale
+         PQ2FADS board (-VR or -ZU).
+
+config LITE5200
+       bool "Freescale LITE5200 / (IceCube)"
+       select PPC_MPC52xx
+       help
+         Support for the LITE5200 dev board for the MPC5200 from Freescale.
+         This is for the LITE5200 version 2.0 board. Don't know if it changes
+         much but it's only been tested on this board version. I think this
+         board is also known as IceCube.
+
 endchoice
 
+config PQ2ADS
+       bool
+       depends on ADS8272
+       default y
+
 config TQM8xxL
        bool
        depends on 8xx && (TQM823L || TQM850L || FPS850L || TQM855L || TQM860L || SM850)
@@ -581,15 +655,36 @@ config EMBEDDEDBOOT
        depends on 8xx || 8260
        default y
 
+config PPC_MPC52xx
+       bool
+
 config 8260
-       bool "MPC8260 CPM Support" if WILLOW
+       bool "CPM2 Support" if WILLOW
+       depends on 6xx
+       default y if TQM8260 || RPX8260 || EST8260 || SBS8260 || SBC82xx || PQ2FADS
+       help
+         The MPC8260 is a typical embedded CPU made by Motorola.  Selecting
+         this option means that you wish to build a kernel for a machine with
+         an 8260 class CPU.
+
+config 8272
+       bool
        depends on 6xx
-       default y if TQM8260 || RPXSUPER || EST8260 || SBS8260 || SBC82xx
+       default y if ADS8272
+       select 8260
+       help
+         The MPC8272 CPM has a different internal dpram setup than other CPM2
+         devices
+
+config CPM2
+       bool
+       depends on 8260 || MPC8560 || MPC8555
+       default y
        help
-         The MPC8260 CPM (Communications Processor Module) is a typical
-         embedded CPU made by Motorola.  Selecting this option means that
-         you wish to build a kernel for a machine with specifically an 8260
-         for a CPU.
+         The CPM2 (Communications Processor Module) is a coprocessor on
+         embedded CPUs made by Motorola.  Selecting this option means that
+         you wish to build a kernel for a machine with a CPM2 coprocessor
+         on it (826x, 827x, 8560).
 
 config PPC_CHRP
        bool
@@ -618,7 +713,9 @@ config PPC_OF
 
 config PPC_GEN550
        bool
-       depends on SANDPOINT || MCPN765 || SPRUCE || PPLUS || PCORE || PRPMC750 || K2 || PRPMC800
+       depends on SANDPOINT || MCPN765 || SPRUCE || PPLUS || PCORE || \
+               PRPMC750 || K2 || PRPMC800 || LOPEC || \
+               (EV64260 && !SERIAL_MPSC) || CHESTNUT
        default y
 
 config FORCE
@@ -628,9 +725,53 @@ config FORCE
 
 config GT64260
        bool
-       depends on EV64260
+       depends on EV64260 || CPCI690
        default y
 
+config MV64360
+       bool
+       depends on KATANA
+       default y
+
+config MV64360
+       bool
+       depends on CHESTNUT
+       default y
+
+config MV64X60
+       bool
+       depends on (GT64260 || MV64360)
+       default y
+
+menu "Set bridge options"
+       depends on MV64X60
+
+config NOT_COHERENT_CACHE
+       bool "Turn off Cache Coherency"
+       default n
+       help
+         Some 64x60 bridges lock up when trying to enforce cache coherency.
+         When this option is selected, cache coherency will be turned off.
+         Note that this can cause other problems (e.g., stale data being
+         speculatively loaded via a cached mapping).  Use at your own risk.
+
+config MV64X60_BASE
+       hex "Set bridge base used by firmware"
+       default "0xf1000000"
+       help
+         A firmware can leave the base address of the bridge's registers at
+         a non-standard location.  If so, set this value to reflect the
+         address of that non-standard location.
+
+config MV64X60_NEW_BASE
+       hex "Set bridge base used by kernel"
+       default "0xf1000000"
+       help
+         If the current base address of the bridge's registers is not where
+         you want it, set this value to the address that you want it moved to.
+
+endmenu
+
 config NONMONARCH_SUPPORT
        bool "Enable Non-Monarch Support"
        depends on PRPMC800
@@ -650,6 +791,16 @@ config MPC10X_BRIDGE
        depends on PCORE || POWERPMC250 || LOPEC || SANDPOINT
        default y
 
+config FSL_OCP
+       bool
+       depends on MPC10X_BRIDGE || PPC_MPC52xx
+       default y
+
+config MPC10X_OPENPIC
+       bool
+       depends on POWERPMC250 || LOPEC || SANDPOINT
+       default y
+
 config MPC10X_STORE_GATHERING
        bool "Enable MPC10x store gathering"
        depends on MPC10X_BRIDGE
@@ -672,17 +823,7 @@ config SPRUCE_BAUD_33M
 
 config PC_KEYBOARD
        bool "PC PS/2 style Keyboard"
-       depends on 4xx || 8260
-
-config SERIAL_CONSOLE
-       bool
-       depends on 8xx || 8260
-       default y
-
-config SERIAL_CONSOLE_BAUD
-       int
-       depends on EV64260
-       default "115200"
+       depends on 4xx || CPM2
 
 config PPCBUG_NVRAM
        bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
@@ -734,10 +875,6 @@ config PREEMPT
 config HIGHMEM
        bool "High memory support"
 
-config KERNEL_ELF
-       bool
-       default y
-
 source "fs/Kconfig.binfmt"
 
 config PROC_DEVICETREE
@@ -748,39 +885,6 @@ config PROC_DEVICETREE
          an image of the device tree that the kernel copies from Open
          Firmware. If unsure, say Y here.
 
-config PPC_RTAS
-       bool "Support for RTAS (RunTime Abstraction Services) in /proc"
-       depends on PPC_OF && PROC_FS
-       ---help---
-         When you use this option, you will be able to use RTAS from
-         userspace.
-
-         RTAS stands for RunTime Abstraction Services and should
-         provide a portable way to access and set system information. This is
-         commonly used on RS/6000 (pSeries) computers.
-
-         You can access RTAS via the special proc file system entry rtas.
-         Don't confuse this rtas entry with the one in /proc/device-tree/rtas
-         which is readonly.
-
-         If you don't know if you can use RTAS look into
-         /proc/device-tree/rtas. If there are some entries, it is very likely
-         that you will be able to use RTAS.
-
-         You can do cool things with rtas. To print out information about
-         various sensors in the system, just do a
-
-         $ cat /proc/rtas/sensors
-
-         or if you power off your machine at night but want it running when
-         you enter your office at 7:45 am, do a
-
-         # date -d 'tomorrow 7:30' +%s > /proc/rtas/poweron
-
-         and shutdown.
-
-         If unsure, say Y.
-
 config PREP_RESIDUAL
        bool "Support for PReP Residual Data"
        depends on PPC_PREP
@@ -788,10 +892,11 @@ config PREP_RESIDUAL
          Some PReP systems have residual data passed to the kernel by the
          firmware.  This allows detection of memory size, devices present and
          other useful pieces of information.  Sometimes this information is
-         not present or incorrect.
+         not present or incorrect, in which case it could lead to the machine 
+         behaving incorrectly.  If this happens, either disable PREP_RESIDUAL
+         or pass the 'noresidual' option to the kernel.
 
-         Unless you expect to boot on a PReP system, there is no need to
-         select Y.
+         If you are running a PReP system, say Y here, otherwise say N.
 
 config PROC_PREPRESIDUAL
        bool "Support for reading of PReP Residual Data in /proc"
@@ -957,7 +1062,7 @@ config ISA
 
 config GENERIC_ISA_DMA
        bool
-       depends on POWER3 || POWER4 || 6xx && !8260
+       depends on POWER3 || POWER4 || 6xx && !CPM2
        default y
 
 config EISA
@@ -974,10 +1079,10 @@ config MCA
        bool
 
 config PCI
-       bool "PCI support" if 40x || 8260
-       default y if !40x && !8260 && !8xx && !APUS
-       default PCI_PERMEDIA if !4xx && !8260 && !8xx && APUS
-       default PCI_QSPAN if !4xx && !8260 && 8xx
+       bool "PCI support" if 40x || CPM2 || 85xx
+       default y if !40x && !CPM2 && !8xx && !APUS && !85xx
+       default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
+       default PCI_QSPAN if !4xx && !CPM2 && 8xx
        help
          Find out whether your system includes a PCI bus. PCI is the name of
          a bus system, i.e. the way the CPU talks to the other stuff inside
@@ -990,11 +1095,39 @@ config PCI_DOMAINS
 
 config PCI_QSPAN
        bool "QSpan PCI"
-       depends on !4xx && !8260 && 8xx
+       depends on !4xx && !CPM2 && 8xx
        help
          Say Y here if you have a system based on a Motorola 8xx-series
          embedded processor with a QSPAN PCI interface, otherwise say N.
 
+config PCI_8260
+       bool
+       depends on PCI && 8260 && !8272
+       default y
+
+config 8260_PCI9
+       bool "  Enable workaround for MPC826x erratum PCI 9"
+       depends on PCI_8260
+       default y
+
+choice
+       prompt "  IDMA channel for PCI 9 workaround"
+       depends on 8260_PCI9
+
+config 8260_PCI9_IDMA1
+       bool "IDMA1"
+
+config 8260_PCI9_IDMA2
+       bool "IDMA2"
+
+config 8260_PCI9_IDMA3
+       bool "IDMA3"
+
+config 8260_PCI9_IDMA4
+       bool "IDMA4"
+
+endchoice
+
 config PCI_PERMEDIA
        bool "PCI for Permedia2"
        depends on !4xx && !8xx && APUS
@@ -1154,129 +1287,9 @@ endmenu
 
 source "lib/Kconfig"
 
+source "arch/ppc/oprofile/Kconfig"
 
-menu "Kernel hacking"
-
-config DEBUG_KERNEL
-       bool "Kernel debugging"
-
-config DEBUG_SLAB
-       bool "Debug memory allocations"
-       depends on DEBUG_KERNEL
-
-config MAGIC_SYSRQ
-       bool "Magic SysRq key"
-       depends on DEBUG_KERNEL
-       help
-         If you say Y here, you will have some control over the system even
-         if the system crashes for example during kernel debugging (e.g., you
-         will be able to flush the buffer cache to disk, reboot the system
-         immediately or dump some status information). This is accomplished
-         by pressing various keys while holding SysRq (Alt+PrintScreen). It
-         also works on a serial console (on PC hardware at least), if you
-         send a BREAK and then within 5 seconds a command keypress. The
-         keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
-         unless you really know what this hack does.
-
-config DEBUG_SPINLOCK
-       bool "Spinlock debugging"
-       depends on DEBUG_KERNEL
-       help
-         Say Y here and to CONFIG_SMP to include code to check for missing
-         spinlock initialization and some other common spinlock errors.
-
-config DEBUG_HIGHMEM
-       bool "Highmem debugging"
-       depends on DEBUG_KERNEL && HIGHMEM
-       help
-         This options enables additional error checking for high memory
-         systems.  Disable for production systems.
-
-config DEBUG_SPINLOCK_SLEEP
-       bool "Sleep-inside-spinlock checking"
-       depends on DEBUG_KERNEL
-       help
-         If you say Y here, various routines which may sleep will become very
-         noisy if they are called with a spinlock held.
-
-config KGDB
-       bool "Include kgdb kernel debugger"
-       depends on DEBUG_KERNEL
-       select DEBUG_INFO
-       help
-         Include in-kernel hooks for kgdb, the Linux kernel source level
-         debugger.  See <http://kgdb.sourceforge.net/> for more information.
-         Unless you are intending to debug the kernel, say N here.
-
-choice
-       prompt "Serial Port"
-       depends on KGDB
-       default KGDB_TTYS1
-
-config KGDB_TTYS0
-       bool "ttyS0"
-
-config KGDB_TTYS1
-       bool "ttyS1"
-
-config KGDB_TTYS2
-       bool "ttyS2"
-
-config KGDB_TTYS3
-       bool "ttyS3"
-
-endchoice
-
-config KGDB_CONSOLE
-       bool "Enable serial console thru kgdb port"
-       depends on KGDB && 8xx || 8260
-       help
-         If you enable this, all serial console messages will be sent
-         over the gdb stub.
-         If unsure, say N.
-
-config XMON
-       bool "Include xmon kernel debugger"
-       depends on DEBUG_KERNEL
-       help
-         Include in-kernel hooks for the xmon kernel monitor/debugger.
-         Unless you are intending to debug the kernel, say N here.
-
-config BDI_SWITCH
-       bool "Include BDI-2000 user context switcher"
-       depends on DEBUG_KERNEL
-       help
-         Include in-kernel support for the Abatron BDI2000 debugger.
-         Unless you are intending to debug the kernel with one of these
-         machines, say N here.
-
-config DEBUG_INFO
-       bool "Compile the kernel with debug info"
-       depends on DEBUG_KERNEL
-       help
-          If you say Y here the resulting kernel image will include
-         debugging info resulting in a larger kernel image.
-         Say Y here only if you plan to use some sort of debugger to
-         debug the kernel.
-         If you don't debug the kernel, you can say N.
-
-config BOOTX_TEXT
-       bool "Support for early boot text console (BootX or OpenFirmware only)"
-       depends PPC_OF
-       help
-         Say Y here to see progress messages from the boot firmware in text
-         mode. Requires either BootX or Open Firmware.
-
-config SERIAL_TEXT_DEBUG
-       bool "Support for early boot texts over serial port"
-       depends on 4xx || GT64260 || LOPEC || PPLUS || PRPMC800 || PPC_GEN550
-
-config PPC_OCP
-       bool
-       depends on IBM_OCP
-       default y
-
-endmenu
+source "arch/ppc/Kconfig.debug"
 
 source "kernel/vserver/Kconfig"