vserver 1.9.3
[linux-2.6.git] / arch / sh / Kconfig
index 8efb8e0..65e0fa1 100644 (file)
@@ -45,6 +45,12 @@ config SH_7751_SOLUTION_ENGINE
          Select 7751 SolutionEngine if configuring for a Hitachi SH7751
          evalutation board.
 
          Select 7751 SolutionEngine if configuring for a Hitachi SH7751
          evalutation board.
 
+config SH_7300_SOLUTION_ENGINE
+       bool "SolutionEngine7300"
+       help
+         Select 7300 SolutionEngine if configuring for a Hitachi SH7300(SH-Mobile V)
+         evalutation board.
+
 config SH_7751_SYSTEMH
        bool "SystemH7751R"
        help
 config SH_7751_SYSTEMH
        bool "SystemH7751R"
        help
@@ -138,6 +144,18 @@ config SH_SECUREEDGE5410
          This includes both the OEM SecureEdge products as well as the
          SME product line.
 
          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_UNKNOWN
        bool "BareCPU"
        help
 config SH_UNKNOWN
        bool "BareCPU"
        help
@@ -176,7 +194,7 @@ endchoice
 
 choice
        prompt "Processor subtype"
 
 choice
        prompt "Processor subtype"
-       
+
 config CPU_SUBTYPE_SH7604
        bool "SH7604"
        depends on CPU_SH2
 config CPU_SUBTYPE_SH7604
        bool "SH7604"
        depends on CPU_SH2
@@ -186,7 +204,11 @@ config CPU_SUBTYPE_SH7604
 config CPU_SUBTYPE_SH7300
        bool "SH7300"
        depends on CPU_SH3
 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
 config CPU_SUBTYPE_SH7707
        bool "SH7707"
        depends on CPU_SH3
@@ -224,10 +246,17 @@ config CPU_SUBTYPE_SH7760
        depends on CPU_SH4
 
 config CPU_SUBTYPE_ST40STB1
        depends on CPU_SH4
 
 config CPU_SUBTYPE_ST40STB1
-       bool "ST40STB1"
-       depends on CPU_SH4
-       help
-         Select ST40STB1 if you have a ST40STB1 CPU.
+       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.
 
 endchoice
 
 
 endchoice
 
@@ -268,11 +297,11 @@ config CMDLINE
 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
 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 "0x0c000000" if !MEMORY_OVERRIDE && (SH_DREAMCAST || SH_HP600 || SH_BIGSUR || SH_SH2000 || SH_7751_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_HS7751RVOIP || SH_RTS7751R2D)
        ---help---
          Computers built with Hitachi SuperH processors always
          map the ROM starting at address zero.  But the processor
        ---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
 
          The physical memory (RAM) start address will be automatically
          set to 08000000, unless you selected one of the following
@@ -287,7 +316,7 @@ 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
        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 "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
        help
        default "0x02000000" if !MEMORY_OVERRIDE && SH_SOLUTION_ENGINE
        default "0x08000000" if SH_MPC1211
        help
@@ -299,7 +328,7 @@ config MEMORY_SIZE
 
 config MEMORY_SET
        bool
 
 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_ADX || SH_DREAMCAST || SH_HP600 || SH_BIGSUR || SH_SH2000 || SH_7751_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_SECUREEDGE5410 || SH_HS7751RVOIP || SH_RTS7751R2D)
        default y
        help
          This is an option about which you will never be asked a question.
        default y
        help
          This is an option about which you will never be asked a question.
@@ -310,7 +339,7 @@ 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"
 # 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"
 # XXX: break these out into the board-specific configs below
 config CF_ENABLER
        bool "Compact Flash Enabler support"
@@ -358,7 +387,7 @@ config CF_BASE_ADDR
 # The SH7750 RTC module is disabled in the Dreamcast
 config SH_RTC
        bool
 # 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
        default y
        help
          Selecting this option will allow the Linux kernel to emulate
        default y
        help
          Selecting this option will allow the Linux kernel to emulate
@@ -377,11 +406,26 @@ config SH_DSP
 
          This option must be set in order to enable the 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 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
 config DISCONTIGMEM
        bool
        depends on SH_HP690
@@ -478,7 +522,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.
        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---
 config SMP
        bool "Symmetric multi-processing support"
        ---help---
@@ -514,10 +558,32 @@ config NR_CPUS
          This is purely to save memory - each supported CPU adds
          approximately eight kilobytes to the kernel image.
 
          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
+       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
 config SH_PCLK_FREQ
        int "Peripheral clock frequency (in Hz)"
        default "49876504" if CPU_SUBTYPE_SH7750
        default "60013568" if CPU_SUBTYPE_SH7751
+       default "33333333" if CPU_SUBTYPE_SH7300
        default "1193182"
        help
          This option is used to specify the peripheral clock frequency. This
        default "1193182"
        help
          This option is used to specify the peripheral clock frequency. This
@@ -570,12 +636,18 @@ source "arch/sh/cchips/Kconfig"
 
 config HEARTBEAT
        bool "Heartbeat LED"
 
 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_CAT68701 || SH_STB1_HARP || SH_STB1_OVERDRIVE || SH_BIGSUR || SH_7751_SOLUTION_ENGINE || SH_7300_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_RTS7751R2D
        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.
 
        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
 
 
 endmenu
 
 
@@ -639,162 +711,42 @@ source "drivers/pci/hotplug/Kconfig"
 
 endmenu
 
 
 endmenu
 
-
 menu "Executable file formats"
 
 source "fs/Kconfig.binfmt"
 
 endmenu
 
 menu "Executable file formats"
 
 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"
+config EMBEDDED_RAMDISK
+       bool "Embed root filesystem ramdisk into the kernel"
 
 
-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 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
        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"
+         This is the filename of the ramdisk image to be built into the
+         kernel.  Relative pathnames are relative to arch/mips/ramdisk/.
+         The ramdisk image is not part of the kernel distribution; you must
+         provide one yourself.
 
 
-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"
+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"
 
 source "security/Kconfig"
 
 source "crypto/Kconfig"
 
 source "lib/Kconfig"
-