vserver 1.9.5.x5
[linux-2.6.git] / arch / sh / Kconfig
index 2140eb0..c65cb16 100644 (file)
@@ -25,6 +25,10 @@ config RWSEM_GENERIC_SPINLOCK
 config RWSEM_XCHGADD_ALGORITHM
        bool
 
+config GENERIC_CALIBRATE_DELAY
+       bool
+       default y
+
 source "init/Kconfig"
 
 menu "System type"
@@ -37,19 +41,25 @@ config SH_SOLUTION_ENGINE
        bool "SolutionEngine"
        help
          Select SolutionEngine if configuring for a Hitachi SH7709
-         or SH7750 evalutation board.
+         or SH7750 evaluation board.
 
 config SH_7751_SOLUTION_ENGINE
        bool "SolutionEngine7751"
        help
          Select 7751 SolutionEngine if configuring for a Hitachi SH7751
-         evalutation board.
+         evaluation board.
 
 config SH_7300_SOLUTION_ENGINE
        bool "SolutionEngine7300"
        help
          Select 7300 SolutionEngine if configuring for a Hitachi SH7300(SH-Mobile V)
-         evalutation board.
+         evaluation board.
+
+config SH_73180_SOLUTION_ENGINE
+       bool "SolutionEngine73180"
+       help
+         Select 73180 SolutionEngine if configuring for a Hitachi SH73180(SH-Mobile 3)
+         evaluation board.
 
 config SH_7751_SYSTEMH
        bool "SystemH7751R"
@@ -137,6 +147,16 @@ config SH_ADX
 config SH_MPC1211
        bool "MPC1211"
 
+config SH_SH03
+       bool "SH03"
+       help
+         CTP/PCI-SH03 is a CPU module computer that produced
+         by Interface Corporation.
+         It is compact and excellent in durability.
+         It will play an active part in your factory or laboratory
+         as a FA computer.
+         More information at <http://www.interface.co.jp>
+
 config SH_SECUREEDGE5410
        bool "SecureEdge5410"
        help
@@ -156,6 +176,15 @@ config SH_RTS7751R2D
          Select RTS7751R2D if configuring for a Renesas Technology
          Sales SH-Graphics board.
 
+config SH_EDOSK7705
+       bool "EDOSK7705"
+
+config SH_SH4202_MICRODEV
+       bool "SH4-202 MicroDev"
+       help
+         Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
+         with an SH4-202 CPU.
+
 config SH_UNKNOWN
        bool "BareCPU"
        help
@@ -194,7 +223,7 @@ endchoice
 
 choice
        prompt "Processor subtype"
-       
+
 config CPU_SUBTYPE_SH7604
        bool "SH7604"
        depends on CPU_SH2
@@ -245,6 +274,10 @@ config CPU_SUBTYPE_SH7760
        bool "SH7760"
        depends on CPU_SH4
 
+config CPU_SUBTYPE_SH73180
+       bool "SH73180"
+       depends on CPU_SH4
+
 config CPU_SUBTYPE_ST40STB1
        bool "ST40STB1 / ST40RA"
        depends on CPU_SH4
@@ -258,8 +291,17 @@ config CPU_SUBTYPE_ST40GX1
        help
          Select ST40GX1 if you have a ST40GX1 CPU.
 
+config CPU_SUBTYPE_SH4_202
+       bool "SH4-202"
+       depends on CPU_SH4
+
 endchoice
 
+config SH7705_CACHE_32KB
+    bool "Enable 32KB cache size for SH7705"
+    depends on CPU_SUBTYPE_SH7705
+    default y
+
 config MMU
         bool "Support for memory management hardware"
        depends on !CPU_SH2
@@ -296,12 +338,12 @@ config CMDLINE
 # Platform-specific memory start and size definitions
 config MEMORY_START
        hex "Physical memory start address" if !MEMORY_SET || MEMORY_OVERRIDE
-       default "0x08000000" if !MEMORY_SET || MEMORY_OVERRIDE || !MEMORY_OVERRIDE && SH_ADX || SH_MPC1211 || SH_SECUREEDGE5410
-       default "0x0c000000" if !MEMORY_OVERRIDE && (SH_DREAMCAST || SH_HP600 || SH_BIGSUR || SH_SH2000 || SH_7751_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_HS7751RVOIP || SH_RTS7751R2D)
+       default "0x08000000" if !MEMORY_SET || MEMORY_OVERRIDE || !MEMORY_OVERRIDE && SH_ADX || SH_MPC1211 || SH_SH03 || SH_SECUREEDGE5410 || SH_SH4202_MICRODEV
+       default "0x0c000000" if !MEMORY_OVERRIDE && (SH_DREAMCAST || SH_HP600 || SH_BIGSUR || SH_SH2000 || SH_73180_SOLUTION_ENGINE || SH_7300_SOLUTION_ENGINE || SH_7751_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_HS7751RVOIP || SH_RTS7751R2D || SH_EDOSK7705)
        ---help---
          Computers built with Hitachi SuperH processors always
          map the ROM starting at address zero.  But the processor
-         does not specify the range that RAM takes.  
+         does not specify the range that RAM takes.
 
          The physical memory (RAM) start address will be automatically
          set to 08000000, unless you selected one of the following
@@ -315,10 +357,10 @@ config MEMORY_START
 config MEMORY_SIZE
        hex "Physical memory size" if !MEMORY_SET || MEMORY_OVERRIDE
        default "0x00400000" if !MEMORY_SET || MEMORY_OVERRIDE || !MEMORY_OVERRIDE && SH_ADX || !MEMORY_OVERRIDE && (SH_HP600 || SH_BIGSUR || SH_SH2000)
-       default "0x01000000" if !MEMORY_OVERRIDE && SH_DREAMCAST || SH_SECUREEDGE5410
-       default "0x04000000" if !MEMORY_OVERRIDE && (SH_7751_SOLUTION_ENGINE || SH_HS7751RVOIP || SH_RTS7751R2D)
-       default "0x02000000" if !MEMORY_OVERRIDE && SH_SOLUTION_ENGINE
-       default "0x08000000" if SH_MPC1211
+       default "0x01000000" if !MEMORY_OVERRIDE && SH_DREAMCAST || SH_SECUREEDGE5410 || SH_EDOSK7705
+        default "0x02000000" if !MEMORY_OVERRIDE && (SH_73180_SOLUTION_ENGINE || SH_SOLUTION_ENGINE)
+        default "0x04000000" if !MEMORY_OVERRIDE && (SH_7300_SOLUTION_ENGINE || SH_7751_SOLUTION_ENGINE || SH_HS7751RVOIP || SH_RTS7751R2D || SH_SH4202_MICRODEV)
+       default "0x08000000" if SH_MPC1211 || SH_SH03
        help
          This sets the default memory size assumed by your SH kernel. It can
          be overridden as normal by the 'mem=' argument on the kernel command
@@ -328,7 +370,7 @@ config MEMORY_SIZE
 
 config MEMORY_SET
        bool
-       depends on !MEMORY_OVERRIDE && (SH_MPC1211 || SH_ADX || SH_DREAMCAST || SH_HP600 || SH_BIGSUR || SH_SH2000 || SH_7751_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_SECUREEDGE5410 || SH_HS7751RVOIP || SH_RTS7751R2D)
+       depends on !MEMORY_OVERRIDE && (SH_MPC1211 || SH_SH03 || SH_ADX || SH_DREAMCAST || SH_HP600 || SH_BIGSUR || SH_SH2000 || SH_7751_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_SECUREEDGE5410 || SH_HS7751RVOIP || SH_RTS7751R2D || SH_SH4202_MICRODEV || SH_EDOSK7705)
        default y
        help
          This is an option about which you will never be asked a question.
@@ -339,11 +381,11 @@ config MEMORY_SET
 # If none of the above have set memory start/size, ask the user.
 config MEMORY_OVERRIDE
        bool "Override default load address and memory size"
-       
+
 # XXX: break these out into the board-specific configs below
 config CF_ENABLER
        bool "Compact Flash Enabler support"
-       depends on SH_ADX || SH_SOLUTION_ENGINE || SH_UNKNOWN || SH_CAT68701
+       depends on SH_ADX || SH_SOLUTION_ENGINE || SH_UNKNOWN || SH_CAT68701 || SH_SH03
        ---help---
          Compact Flash is a small, removable mass storage device introduced
          in 1994 originally as a PCMCIA device.  If you say `Y' here, you
@@ -387,7 +429,7 @@ config CF_BASE_ADDR
 # The SH7750 RTC module is disabled in the Dreamcast
 config SH_RTC
        bool
-       depends on !SH_DREAMCAST && !SH_SATURN && !SH_7300_SOLUTION_ENGINE
+       depends on !SH_DREAMCAST && !SH_SATURN && !SH_7300_SOLUTION_ENGINE && !SH_73180_SOLUTION_ENGINE
        default y
        help
          Selecting this option will allow the Linux kernel to emulate
@@ -395,6 +437,16 @@ config SH_RTC
 
          If unsure, say N.
 
+config SH_FPU
+       bool "FPU support"
+       depends on !CPU_SH3
+       default y
+       help
+         Selecting this option will enable support for SH processors that
+         have FPU units (ie, SH77xx).
+
+         This option must be set in order to enable the FPU.
+
 config SH_DSP
        bool "DSP support"
        depends on !CPU_SH4
@@ -438,8 +490,8 @@ config DISCONTIGMEM
 
 config ZERO_PAGE_OFFSET
        hex "Zero page offset"
-       default "0x00001000" if !SH_MPC1211
-       default "0x00004000" if SH_MPC1211
+       default "0x00001000" if !(SH_MPC1211 || SH_SH03)
+       default "0x00004000" if SH_MPC1211 || SH_SH03
        help
          This sets the default offset of zero page.
 
@@ -522,7 +574,7 @@ config SH_STORE_QUEUES
        help
          Selecting this option will enable an in-kernel API for manipulating
          the store queues integrated in the SH-4 processors.
-       
+
 config SMP
        bool "Symmetric multi-processing support"
        ---help---
@@ -572,7 +624,7 @@ config RTS7751R2D_REV11
 
 config SH_PCLK_CALC
        bool
-       default n if CPU_SUBTYPE_SH7300
+       default n if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH73180
        default y
        help
          This option will cause the PCLK value to be probed at run-time. It
@@ -581,9 +633,11 @@ config SH_PCLK_CALC
 
 config SH_PCLK_FREQ
        int "Peripheral clock frequency (in Hz)"
-       default "49876504" if CPU_SUBTYPE_SH7750
-       default "60013568" if CPU_SUBTYPE_SH7751
+       default "50000000" if CPU_SUBTYPE_SH7750
+       default "60000000" if CPU_SUBTYPE_SH7751
        default "33333333" if CPU_SUBTYPE_SH7300
+       default "27000000" if CPU_SUBTYPE_SH73180
+       default "66000000" if CPU_SUBTYPE_SH4_202
        default "1193182"
        help
          This option is used to specify the peripheral clock frequency. This
@@ -595,16 +649,6 @@ config SH_PCLK_FREQ
 
 menu "CPU Frequency scaling"
 
-config CPU_FREQ
-       bool "CPU Frequency scaling"
-       help
-         CPU clock scaling allows you to change the clock speed of the
-         running CPU on the fly.
-
-         For details, take a look at <file:Documentation/cpu-freq>.
-
-         If unsure, say N.
-
 source "drivers/cpufreq/Kconfig"
 
 config CPU_FREQ_TABLE
@@ -636,7 +680,7 @@ source "arch/sh/cchips/Kconfig"
 
 config HEARTBEAT
        bool "Heartbeat LED"
-       depends on SH_MPC1211 || SH_CAT68701 || SH_STB1_HARP || SH_STB1_OVERDRIVE || SH_BIGSUR || SH_7751_SOLUTION_ENGINE || SH_7300_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_RTS7751R2D
+       depends on SH_MPC1211 || SH_SH03 || SH_CAT68701 || SH_STB1_HARP || SH_STB1_OVERDRIVE || SH_BIGSUR || SH_7751_SOLUTION_ENGINE || SH_7300_SOLUTION_ENGINE || SH_73180_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_RTS7751R2D || SH_SH4202_MICRODEV
        help
          Use the power-on LED on your machine as a load meter.  The exact
          behavior is platform-dependent, but normally the flash frequency is
@@ -662,7 +706,7 @@ menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
 # PCMCIA outright. -- PFM.
 config ISA
        bool
-       default y if PCMCIA
+       default y if PCMCIA || SMC91X
        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
@@ -730,7 +774,7 @@ config EMBEDDED_RAMDISK_IMAGE
        default "ramdisk.gz"
        help
          This is the filename of the ramdisk image to be built into the
-         kernel.  Relative pathnames are relative to arch/mips/ramdisk/.
+         kernel.  Relative pathnames are relative to arch/sh/ramdisk/.
          The ramdisk image is not part of the kernel distribution; you must
          provide one yourself.
 
@@ -742,157 +786,7 @@ source "fs/Kconfig"
 
 source "arch/sh/oprofile/Kconfig"
 
-menu "Kernel hacking"
-
-config MAGIC_SYSRQ
-       bool "Magic SysRq key"
-       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"
-       help
-         Say Y here and build SMP to catch missing spinlock initialization
-         and certain other kinds of spinlock errors commonly made.  This is
-         best used in conjunction with the NMI watchdog so that spinlock
-         deadlocks are also debuggable.
-
-config DEBUG_INFO
-        bool "Compile the kernel with debug info"
-        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 gdb to debug the kernel.
-          If you don't debug the kernel, you can say N.
-
-config SH_STANDARD_BIOS
-       bool "Use LinuxSH standard BIOS"
-       help
-         Say Y here if your target has the gdb-sh-stub
-         package from www.m17n.org (or any conforming standard LinuxSH BIOS)
-         in FLASH or EPROM.  The kernel will use standard BIOS calls during
-         boot for various housekeeping tasks (including calls to read and
-         write characters to a system console, get a MAC address from an
-         on-board Ethernet interface, and shut down the hardware).  Note this
-         does not work with machines with an existing operating system in
-         mask ROM and no flash (WindowsCE machines fall in this category).
-         If unsure, say N.
-
-config EARLY_SCIF_CONSOLE
-       bool "Use early SCIF console"
-       depends on CPU_SH4
-
-config EARLY_PRINTK
-       bool "Early printk support"
-       depends on SH_STANDARD_BIOS || EARLY_SCIF_CONSOLE
-       help
-         Say Y here to redirect kernel printk messages to the serial port
-         used by the SH-IPL bootloader, starting very early in the boot
-         process and ending when the kernel's serial console is initialised.
-         This option is only useful porting the kernel to a new machine,
-         when the kernel may crash or hang before the serial console is
-         initialised. If unsure, say N.
-
-config KGDB
-       bool "Include KGDB kernel debugger"
-       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.
-
-menu "KGDB configuration options"
-       depends on KGDB
-
-config MORE_COMPILE_OPTIONS
-       bool "Add any additional compile options"
-       help
-         If you want to add additional CFLAGS to the kernel build, enable this
-         option and then enter what you would like to add in the next question.
-         Note however that -g is already appended with the selection of KGDB.
-
-config COMPILE_OPTIONS
-       string "Additional compile arguments"
-       depends on MORE_COMPILE_OPTIONS
-
-config KGDB_NMI
-       bool "Enter KGDB on NMI"
-       default n
-
-config KGDB_THREAD
-       bool "Include KGDB thread support"
-       default y
-
-config SH_KGDB_CONSOLE
-       bool "Console messages through GDB"
-       default n
-
-config KGDB_SYSRQ
-       bool "Allow SysRq 'G' to enter KGDB"
-       default y
-
-config KGDB_KERNEL_ASSERTS
-       bool "Include KGDB kernel assertions"
-       default n
-
-comment "Serial port setup"
-
-config KGDB_DEFPORT
-       int "Port number (ttySCn)"
-       default "1"
-
-config KGDB_DEFBAUD
-       int "Baud rate"
-       default "115200"
-
-choice
-       prompt "Parity"
-       depends on KGDB
-       default KGDB_DEFPARITY_N
-
-config KGDB_DEFPARITY_N
-       bool "None"
-
-config KGDB_DEFPARITY_E
-       bool "Even"
-
-config KGDB_DEFPARITY_O
-       bool "Odd"
-
-endchoice
-
-choice
-       prompt "Data bits"
-       depends on KGDB
-       default KGDB_DEFBITS_8
-
-config KGDB_DEFBITS_8
-       bool "8"
-
-config KGDB_DEFBITS_7
-       bool "7"
-
-endchoice
-
-endmenu
-
-config FRAME_POINTER
-       bool "Compile the kernel with frame pointers"
-       default y if KGDB
-       help
-         If you say Y here the resulting kernel image will be slightly larger
-         and slower, but it will give very useful debugging information.
-         If you don't debug the kernel, you can say N, but we may not be able
-         to solve problems without frame pointers.
-
-endmenu
+source "arch/sh/Kconfig.debug"
 
 source "kernel/vserver/Kconfig"
 
@@ -901,4 +795,3 @@ source "security/Kconfig"
 source "crypto/Kconfig"
 
 source "lib/Kconfig"
-