[POWERPC] mpc52xx: clean up Kconfig
[safe/jmp/linux-2.6] / arch / powerpc / platforms / Kconfig
index 102a44e..4286664 100644 (file)
@@ -2,7 +2,7 @@ menu "Platform support"
 
 choice
        prompt "Machine type"
-       depends on PPC64 || CLASSIC32
+       depends on PPC64 || 6xx
        default PPC_MULTIPLATFORM
 
 config PPC_MULTIPLATFORM
@@ -12,19 +12,32 @@ config PPC_MULTIPLATFORM
          RS/6000 machine, an Apple machine, or a PReP, CHRP,
          Maple or Cell-based machine.
 
-config EMBEDDED6xx
-       bool "Embedded 6xx/7xx/7xxx-based board"
-       depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
-
-config APUS
-       bool "Amiga-APUS"
-       depends on PPC32 && BROKEN
+config PPC_82xx
+       bool "Freescale 82xx"
+       depends on 6xx
+       select WANT_DEVICE_TREE
+
+config PPC_83xx
+       bool "Freescale 83xx"
+       depends on 6xx
+       select FSL_SOC
+       select 83xx
+       select IPIC
+       select WANT_DEVICE_TREE
+
+config PPC_86xx
+       bool "Freescale 86xx"
+       depends on 6xx
+       select FSL_SOC
+       select ALTIVEC
        help
-         Select APUS if configuring for a PowerUP Amiga.
-         More information is available at:
-         <http://linux-apus.sourceforge.net/>.
+         The Freescale E600 SoCs have 74xx cores.
 endchoice
 
+config CLASSIC32
+       def_bool y
+       depends on 6xx && PPC_MULTIPLATFORM
+
 source "arch/powerpc/platforms/pseries/Kconfig"
 source "arch/powerpc/platforms/iseries/Kconfig"
 source "arch/powerpc/platforms/chrp/Kconfig"
@@ -42,7 +55,8 @@ source "arch/powerpc/platforms/83xx/Kconfig"
 source "arch/powerpc/platforms/85xx/Kconfig"
 source "arch/powerpc/platforms/86xx/Kconfig"
 source "arch/powerpc/platforms/embedded6xx/Kconfig"
-#source "arch/powerpc/platforms/4xx/Kconfig
+source "arch/powerpc/platforms/44x/Kconfig"
+source "arch/powerpc/platforms/40x/Kconfig"
 
 config PPC_NATIVE
        bool
@@ -67,6 +81,10 @@ config XICS
        bool
        default y
 
+config IPIC
+       bool
+       default n
+
 config MPIC
        bool
        default n
@@ -104,10 +122,10 @@ config RTAS_FLASH
 
 config PPC_PMI
        tristate "Support for PMI"
-       depends PPC_IBM_CELL_BLADE
+       depends on PPC_IBM_CELL_BLADE
        help
          PMI (Platform Management Interrupt) is a way to
-         communicate with the BMC (Baseboard Mangement Controller).
+         communicate with the BMC (Baseboard Management Controller).
          It is used in some IBM Cell blades.
        default m
 
@@ -120,6 +138,16 @@ config MPIC_U3_HT_IRQS
        depends on PPC_MAPLE
        default y
 
+config MPIC_BROKEN_REGREAD
+       bool
+       depends on MPIC
+       help
+         This option enables a MPIC driver workaround for some chips
+         that have a bug that causes some interrupt source information
+         to not read back properly. It is safe to use on other chips as
+         well, but enabling it uses about 8KB of memory to keep copies
+         of the register contents in software.
+
 config IBMVIO
        depends on PPC_PSERIES || PPC_ISERIES
        bool
@@ -148,14 +176,14 @@ config GENERIC_IOMAP
        bool
        default n
 
-menu "CPU Frequency support"
-       depends on PPC64 || CLASSIC32
-
 source "drivers/cpufreq/Kconfig"
 
+menu "CPU Frequency drivers"
+       depends on CPU_FREQ
+
 config CPU_FREQ_PMAC
        bool "Support for Apple PowerBooks"
-       depends on CPU_FREQ && ADB_PMU && PPC32
+       depends on ADB_PMU && PPC32
        select CPU_FREQ_TABLE
        help
          This adds support for frequency switching on Apple PowerBooks,
@@ -164,7 +192,7 @@ config CPU_FREQ_PMAC
 
 config CPU_FREQ_PMAC64
        bool "Support for some Apple G5s"
-       depends on CPU_FREQ && PPC64
+       depends on PPC_PMAC && PPC64
        select CPU_FREQ_TABLE
        help
          This adds support for frequency switching on Apple iMac G5,
@@ -172,7 +200,7 @@ config CPU_FREQ_PMAC64
 
 config PPC_PASEMI_CPUFREQ
        bool "Support for PA Semi PWRficient"
-       depends on CPU_FREQ && PPC_PASEMI
+       depends on PPC_PASEMI
        default y
        select CPU_FREQ_TABLE
        help
@@ -241,6 +269,8 @@ config TAU_AVERAGE
 
 config QUICC_ENGINE
        bool
+       select PPC_LIB_RHEAP
+       select CRC32
        help
          The QUICC Engine (QE) is a new generation of communications
          coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
@@ -250,10 +280,53 @@ config QUICC_ENGINE
 config CPM2
        bool
        default n
+       select CPM
+       select PPC_LIB_RHEAP
        help
          The CPM2 (Communications Processor Module) is a coprocessor on
          embedded CPUs made by Freescale.  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_CPM_NEW_BINDING
+       bool
+       depends on CPM1 || CPM2
+       help
+         Select this if your board has been converted to use the new
+         device tree bindings for CPM, and no longer needs the
+         ioport callbacks or the platform device glue code.
+
+         The fs_enet and cpm_uart drivers will be built as
+         of_platform devices.
+
+config AXON_RAM
+       tristate "Axon DDR2 memory device driver"
+       depends on PPC_IBM_CELL_BLADE
+       default m
+       help
+         It registers one block device per Axon's DDR2 memory bank found
+         on a system. Block devices are called axonram?, their major and
+         minor numbers are available in /proc/devices, /proc/partitions or
+         in /sys/block/axonram?/dev.
+
+config FSL_ULI1575
+       bool
+       default n
+       select GENERIC_ISA_DMA
+       help
+         Supports for the ULI1575 PCIe south bridge that exists on some
+         Freescale reference boards. The boards all use the ULI in pretty
+         much the same way.
+
+config CPM
+       bool
+
+config OF_RTC
+       bool
+       help
+         Uses information from the OF or flattened device tree to instatiate
+         platform devices for direct mapped RTC chips like the DS1742 or DS1743.
+
+source "arch/powerpc/sysdev/bestcomm/Kconfig"
+
 endmenu