]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/m32r/Kconfig
genirq: Convert irq_desc.lock to raw_spinlock
[linux-2.6.git] / arch / m32r / Kconfig
index 42ca8a39798dc6907cf80b21a3f18c0709301c43..3a9319f93e89cdad744622eef5e2bed2aa2b3be7 100644 (file)
@@ -8,15 +8,21 @@ mainmenu "Linux/M32R Kernel Configuration"
 config M32R
        bool
        default y
+       select HAVE_IDE
+       select HAVE_OPROFILE
+       select INIT_ALL_POSSIBLE
+       select HAVE_KERNEL_GZIP
+       select HAVE_KERNEL_BZIP2
+       select HAVE_KERNEL_LZMA
 
 config SBUS
        bool
 
-config UID16
+config GENERIC_ISA_DMA
        bool
-       default n
+       default y
 
-config GENERIC_ISA_DMA
+config ZONE_DMA
        bool
        default y
 
@@ -28,8 +34,26 @@ config GENERIC_IRQ_PROBE
        bool
        default y
 
+config NO_IOPORT
+       def_bool y
+
+config NO_DMA
+       def_bool y
+
+config HZ
+       int
+       default 100
+
+config GENERIC_TIME
+       def_bool y
+
+config ARCH_USES_GETTIMEOFFSET
+       def_bool y
+
 source "init/Kconfig"
 
+source "kernel/Kconfig.freezer"
+
 
 menu "Processor type and features"
 
@@ -51,9 +75,13 @@ config PLAT_MAPPI
 
 config PLAT_USRV
        bool "uServer"
+       select PLAT_HAS_INT1ICU
 
 config PLAT_M32700UT
        bool "M32700UT"
+       select PLAT_HAS_INT0ICU
+       select PLAT_HAS_INT1ICU
+       select PLAT_HAS_INT2ICU
        help
          The M3T-M32700UT is an evaluation board based on uT-Engine
          specification.  This board has an M32700 (Chaos) evaluation chip.
@@ -62,6 +90,9 @@ config PLAT_M32700UT
 
 config PLAT_OPSPUT
        bool "OPSPUT"
+       select PLAT_HAS_INT0ICU
+       select PLAT_HAS_INT1ICU
+       select PLAT_HAS_INT2ICU
        help
          The OPSPUT is an evaluation board based on uT-Engine
          specification.  This board has a OPSP-REP chip.
@@ -81,6 +112,13 @@ config PLAT_MAPPI2
 config PLAT_MAPPI3
        bool "Mappi-III(M3A-2170)"
 
+config PLAT_M32104UT
+       bool "M32104UT"
+       select PLAT_HAS_INT1ICU
+       help
+         The M3T-M32104UT is an reference board based on uT-Engine
+         specification.  This board has a M32104 chip.
+
 endchoice
 
 choice
@@ -93,6 +131,10 @@ config CHIP_M32700
 config CHIP_M32102
        bool "M32102"
 
+config CHIP_M32104
+       bool "M32104"
+       depends on PLAT_M32104UT
+
 config CHIP_VDEC2
        bool "VDEC2"
 
@@ -115,7 +157,7 @@ config TLB_ENTRIES
 
 config ISA_M32R
         bool
-       depends on CHIP_M32102
+       depends on CHIP_M32102 || CHIP_M32104
        default y
 
 config ISA_M32R2
@@ -133,6 +175,18 @@ config ISA_DUAL_ISSUE
        depends on CHIP_M32700 || CHIP_OPSP
        default y
 
+config PLAT_HAS_INT0ICU
+       bool
+       default n
+
+config PLAT_HAS_INT1ICU
+       bool
+       default n
+
+config PLAT_HAS_INT2ICU
+       bool
+       default n
+
 config BUS_CLOCK
        int "Bus Clock [Hz] (integer)"
        default "70000000" if PLAT_MAPPI
@@ -140,6 +194,7 @@ config BUS_CLOCK
        default "50000000" if PLAT_MAPPI3
        default "50000000" if PLAT_M32700UT
        default "50000000" if PLAT_OPSPUT
+       default "54000000" if PLAT_M32104UT
        default "33333333" if PLAT_OAKS32R
        default "20000000" if PLAT_MAPPI2
 
@@ -157,6 +212,7 @@ config MEMORY_START
        default "08000000" if PLAT_USRV
        default "08000000" if PLAT_M32700UT
        default "08000000" if PLAT_OPSPUT
+       default "04000000" if PLAT_M32104UT
        default "01000000" if PLAT_OAKS32R
 
 config MEMORY_SIZE
@@ -166,35 +222,38 @@ config MEMORY_SIZE
        default "02000000" if PLAT_USRV
        default "01000000" if PLAT_M32700UT
        default "01000000" if PLAT_OPSPUT
+       default "01000000" if PLAT_M32104UT
        default "00800000" if PLAT_OAKS32R
 
-config NOHIGHMEM
-       bool
-       default y
-
 config ARCH_DISCONTIGMEM_ENABLE
        bool "Internal RAM Support"
-       depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP
+       depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
        default y
 
 source "mm/Kconfig"
 
 config IRAM_START
        hex "Internal memory start address (hex)"
-       default "00f00000"
-       depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP) && DISCONTIGMEM
+       default "00f00000" if !CHIP_M32104
+       default "00700000" if CHIP_M32104
+       depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
 
 config IRAM_SIZE
        hex "Internal memory size (hex)"
-       depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP) && DISCONTIGMEM
+       depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
        default "00080000" if CHIP_M32700
-       default "00010000" if CHIP_M32102 || CHIP_OPSP
+       default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
        default "00008000" if CHIP_VDEC2
 
 #
 # Define implied options from the CPU selection here
 #
 
+config GENERIC_LOCKBREAK
+       bool
+       default y
+       depends on SMP && PREEMPT
+
 config RWSEM_GENERIC_SPINLOCK
        bool
        depends on M32R
@@ -204,10 +263,30 @@ config RWSEM_XCHGADD_ALGORITHM
        bool
        default n
 
+config ARCH_HAS_ILOG2_U32
+       bool
+       default n
+
+config ARCH_HAS_ILOG2_U64
+       bool
+       default n
+
+config GENERIC_FIND_NEXT_BIT
+       bool
+       default y
+
+config GENERIC_HWEIGHT
+       bool
+       default y
+
 config GENERIC_CALIBRATE_DELAY
        bool
        default y
 
+config SCHED_OMIT_FRAME_POINTER
+        bool
+        default y
+
 config PREEMPT
        bool "Preemptible Kernel"
        help
@@ -220,13 +299,9 @@ config PREEMPT
          Say Y here if you are building a kernel for a desktop, embedded
          or real-time system.  Say N if you are unsure.
 
-config HAVE_DEC_LOCK
-       bool
-       depends on (SMP || PREEMPT)
-       default n
-
 config SMP
        bool "Symmetric multi-processing support"
+       select USE_GENERIC_SMP_HELPERS
        ---help---
          This enables support for systems with more than one CPU. If you have
          a system with only one CPU, like most personal computers, say N. If
@@ -242,8 +317,7 @@ config SMP
          Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
          Management" code will be disabled if you say Y here.
 
-         See also the <file:Documentation/smp.tex>,
-         <file:Documentation/smp.txt> and the SMP-HOWTO available at
+         See also the SMP-HOWTO available at
          <http://www.linuxdoc.org/docs.html#howto>.
 
          If you don't know what to do here, say N.
@@ -269,9 +343,14 @@ config NR_CPUS
 # Common NUMA Features
 config NUMA
        bool "Numa Memory Allocation Support"
-       depends on SMP
+       depends on SMP && BROKEN
        default n
 
+config NODES_SHIFT
+       int
+       default "1"
+       depends on NEED_MULTIPLE_NODES
+
 # turning this on wastes a bunch of space.
 # Summit needs it only when NUMA is on
 config BOOT_IOREMAP
@@ -286,6 +365,7 @@ menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
 
 config PCI
        bool "PCI support"
+       depends on BROKEN
        default n
        help
          Find out whether you have a PCI motherboard. PCI is the name of a
@@ -293,11 +373,6 @@ config PCI
          your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
          VESA. If you have PCI, say Y, otherwise N.
 
-         The PCI-HOWTO, available from
-         <http://www.linuxdoc.org/docs.html#howto>, contains valuable
-         information about which PCI hardware does work under Linux and which
-         doesn't.
-
 choice
        prompt "PCI access mode"
        depends on PCI
@@ -340,11 +415,7 @@ config PCI_DIRECT
 source "drivers/pci/Kconfig"
 
 config ISA
-       bool "ISA support"
-       help
-         Find out whether you have ISA slots on your motherboard.  ISA is the
-         name of a bus system, i.e. the way the CPU talks to the other stuff
-         inside your box.  If you have ISA, say Y, otherwise N.
+       bool
 
 source "drivers/pcmcia/Kconfig"
 
@@ -359,12 +430,12 @@ source "fs/Kconfig.binfmt"
 
 endmenu
 
+source "net/Kconfig"
+
 source "drivers/Kconfig"
 
 source "fs/Kconfig"
 
-source "arch/m32r/oprofile/Kconfig"
-
 source "arch/m32r/Kconfig.debug"
 
 source "security/Kconfig"