vserver 1.9.5.x5
[linux-2.6.git] / arch / sh / Kconfig
index 8efb8e0..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,13 +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)
+         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"
@@ -131,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
@@ -138,6 +164,27 @@ config SH_SECUREEDGE5410
          This includes both the OEM SecureEdge products as well as the
          SME product line.
 
+config SH_HS7751RVOIP
+       bool "HS7751RVOIP"
+       help
+         Select HS7751RVOIP if configuring for a Renesas Technology
+         Sales VoIP board.
+
+config SH_RTS7751R2D
+       bool "RTS7751R2D"
+       help
+         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
@@ -176,7 +223,7 @@ endchoice
 
 choice
        prompt "Processor subtype"
-       
+
 config CPU_SUBTYPE_SH7604
        bool "SH7604"
        depends on CPU_SH2
@@ -186,7 +233,11 @@ config CPU_SUBTYPE_SH7604
 config CPU_SUBTYPE_SH7300
        bool "SH7300"
        depends on CPU_SH3
-         
+
+config CPU_SUBTYPE_SH7705
+       bool "SH7705"
+       depends on CPU_SH3
+
 config CPU_SUBTYPE_SH7707
        bool "SH7707"
        depends on CPU_SH3
@@ -223,14 +274,34 @@ 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"
+       bool "ST40STB1 / ST40RA"
+       depends on CPU_SH4
+       help
+         Select ST40STB1 if you have a ST40RA CPU.
+         This was previously called the ST40STB1, hence the option name.
+
+config CPU_SUBTYPE_ST40GX1
+       bool "ST40GX1"
+       depends on CPU_SH4
+       help
+         Select ST40GX1 if you have a ST40GX1 CPU.
+
+config CPU_SUBTYPE_SH4_202
+       bool "SH4-202"
        depends on CPU_SH4
-       help
-         Select ST40STB1 if you have a ST40STB1 CPU.
 
 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
@@ -267,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)
+       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
@@ -286,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
-       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
@@ -299,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)
+       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.
@@ -310,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
@@ -358,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
+       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
@@ -366,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
@@ -377,11 +458,26 @@ config SH_DSP
 
          This option must be set in order to enable the DSP.
 
+config SH_ADC
+       bool "ADC support"
+       depends on CPU_SH3
+       default y
+       help
+         Selecting this option will allow the Linux kernel to use SH3 on-chip
+         ADC module.
+
+         If unsure, say N.
+
 config SH_HP600
        bool
        depends on SH_HP620 || SH_HP680 || SH_HP690
        default y
 
+config CPU_SUBTYPE_ST40
+       bool
+       depends on CPU_SUBTYPE_ST40STB1 || CPU_SUBTYPE_ST40GX1
+       default y
+
 config DISCONTIGMEM
        bool
        depends on SH_HP690
@@ -394,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.
 
@@ -478,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---
@@ -514,10 +610,34 @@ config NR_CPUS
          This is purely to save memory - each supported CPU adds
          approximately eight kilobytes to the kernel image.
 
+config HS7751RVOIP_CODEC
+       bool "Support VoIP Codec section"
+       depends on SH_HS7751RVOIP
+       help
+         Selecting this option will support CODEC section.
+
+config RTS7751R2D_REV11
+       bool "RTS7751R2D Rev. 1.1 board support"
+       depends on SH_RTS7751R2D
+       help
+         Selecting this option will support version rev. 1.1.
+
+config SH_PCLK_CALC
+       bool
+       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
+         will display a notification if the probed value has greater than a
+         1% variance of the hardcoded CONFIG_SH_PCLK_FREQ.
+
 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
@@ -529,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
@@ -570,12 +680,18 @@ 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_SOLUTION_ENGINE
+       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
          a hyperbolic function of the 5-minute load average.
 
+config RTC_9701JE
+       tristate "EPSON RTC-9701JE support"
+       depends on SH_RTS7751R2D
+       help
+         Selecting this option will support EPSON RTC-9701JE.
+
 endmenu
 
 
@@ -590,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
@@ -646,155 +762,36 @@ source "fs/Kconfig.binfmt"
 
 endmenu
 
-source "drivers/Kconfig"
-
-source "fs/Kconfig"
+menu "SH initrd options"
+       depends on BLK_DEV_INITRD
 
-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 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 EMBEDDED_RAMDISK
+       bool "Embed root filesystem ramdisk into the kernel"
 
-config SH_EARLY_PRINTK
-       bool "Early printk support"
-       depends on SH_STANDARD_BIOS
+config EMBEDDED_RAMDISK_IMAGE
+       string "Filename of gziped ramdisk image"
+       depends on EMBEDDED_RAMDISK
+       default "ramdisk.gz"
        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
+         This is the filename of the ramdisk image to be built into the
+         kernel.  Relative pathnames are relative to arch/sh/ramdisk/.
+         The ramdisk image is not part of the kernel distribution; you must
+         provide one yourself.
 
-choice
-       prompt "Data bits"
-       depends on KGDB
-       default KGDB_DEFBITS_8
-
-config KGDB_DEFBITS_8
-       bool "8"
+endmenu
 
-config KGDB_DEFBITS_7
-       bool "7"
+source "drivers/Kconfig"
 
-endchoice
+source "fs/Kconfig"
 
-endmenu
+source "arch/sh/oprofile/Kconfig"
 
-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.
+source "arch/sh/Kconfig.debug"
 
-endmenu
+source "kernel/vserver/Kconfig"
 
 source "security/Kconfig"
 
 source "crypto/Kconfig"
 
 source "lib/Kconfig"
-