📄 kconfig
字号:
## For a description of the syntax of this configuration file,# see Documentation/kbuild/kconfig-language.txt.#mainmenu "Linux/SuperH Kernel Configuration"config SUPERH bool default y help The SuperH is a RISC processor targeted for use in embedded systems and consumer electronics; it was also used in the Sega Dreamcast gaming console. The SuperH port has a home page at <http://www.linux-sh.org/>.config UID16 bool default yconfig RWSEM_GENERIC_SPINLOCK bool default yconfig RWSEM_XCHGADD_ALGORITHM boolsource "init/Kconfig"menu "System type"choice prompt "SuperH system type" default SH_UNKNOWNconfig SH_SOLUTION_ENGINE bool "SolutionEngine" help Select SolutionEngine if configuring for a Hitachi SH7709 or SH7750 evalutation board.config SH_7751_SOLUTION_ENGINE bool "SolutionEngine7751" help 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 Select SystemH if you are configuring for a Renesas SystemH 7751R evaluation board.config SH_STB1_HARP bool "STB1_Harp"config SH_STB1_OVERDRIVE bool "STB1_Overdrive"config SH_HP620 bool "HP620" help Select HP620 if configuring for a HP jornada HP620. More information (hardware only) at <http://www.hp.com/jornada/>.config SH_HP680 bool "HP680" help Select HP680 if configuring for a HP Jornada HP680. More information (hardware only) at <http://www.hp.com/jornada/products/680/>.config SH_HP690 bool "HP690" help Select HP690 if configuring for a HP Jornada HP690. More information (hardware only) at <http://www.hp.com/jornada/products/680/>.config SH_CQREEK bool "CqREEK" help Select CqREEK if configuring for a CqREEK SH7708 or SH7750. More information at <http://sources.redhat.com/ecos/hardware.html#SuperH>.config SH_DMIDA bool "DMIDA" help Select DMIDA if configuring for a DataMyte 4000 Industrial Digital Assistant. More information at <http://www.dmida.com/>.config SH_EC3104 bool "EC3104" help Select EC3104 if configuring for a system with an Eclipse International EC3104 chip, e.g. the Harris AD2000.config SH_SATURN bool "Saturn" help Select Saturn if configuring for a SEGA Saturn.config SH_DREAMCAST bool "Dreamcast" help Select Dreamcast if configuring for a SEGA Dreamcast. More information at <http://www.m17n.org/linux-sh/dreamcast/>. There is a Dreamcast project is at <http://linuxdc.sourceforge.net/>.config SH_CAT68701 bool "CAT68701"config SH_BIGSUR bool "BigSur"config SH_SH2000 bool "SH2000" help SH-2000 is a single-board computer based around SH7709A chip intended for embedded applications. It has an Ethernet interface (CS8900A), direct connected Compact Flash socket, three serial ports and PC-104 bus. More information at <http://sh2000.sh-linux.org>.config SH_ADX bool "ADX"config SH_MPC1211 bool "MPC1211"config SH_SECUREEDGE5410 bool "SecureEdge5410" help Select SecureEdge5410 if configuring for a SnapGear SH board. 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 "Bare CPU" aka "unknown" means an SH-based system which is not one of the specific ones mentioned above, which means you need to enter all sorts of stuff like CONFIG_MEMORY_START because the config system doesn't already know what it is. You get a machine vector without any platform-specific code in it, so things like the RTC may not work. This option is for the early stages of porting to a new machine.endchoicechoice prompt "Processor family" default CPU_SH4 help This option determines the CPU family to compile for. Supported targets are SH-2, SH-3, and SH-4. These options are independent of CPU functionality. As such, SH-DSP users will still want to select their respective processor family in addition to the DSP support option.config CPU_SH2 bool "SH-2" select SH_WRITETHROUGHconfig CPU_SH3 bool "SH-3"config CPU_SH4 bool "SH-4"endchoicechoice prompt "Processor subtype"config CPU_SUBTYPE_SH7604 bool "SH7604" depends on CPU_SH2 help Select SH7604 if you have SH7604config CPU_SUBTYPE_SH7300 bool "SH7300" depends on CPU_SH3config CPU_SUBTYPE_SH7705 bool "SH7705" depends on CPU_SH3config CPU_SUBTYPE_SH7707 bool "SH7707" depends on CPU_SH3 help Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.config CPU_SUBTYPE_SH7708 bool "SH7708" depends on CPU_SH3 help Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or if you have a 100 Mhz SH-3 HD6417708R CPU.config CPU_SUBTYPE_SH7709 bool "SH7709" depends on CPU_SH3 help Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.config CPU_SUBTYPE_SH7750 bool "SH7750" depends on CPU_SH4 help Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.config CPU_SUBTYPE_SH7751 bool "SH7751/SH7751R" depends on CPU_SH4 help Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, or if you have a HD6417751R CPU.config CPU_SUBTYPE_SH7760 bool "SH7760" depends on CPU_SH4config CPU_SUBTYPE_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.endchoiceconfig MMU bool "Support for memory management hardware" depends on !CPU_SH2 default y help Early SH processors (such as the SH7604) lack an MMU. In order to boot on these systems, this option must not be set. On other systems (such as the SH-3 and 4) where an MMU exists, turning this off will boot the kernel on these machines with the MMU implicitly switched off.choice prompt "HugeTLB page size" depends on HUGETLB_PAGE && CPU_SH4 && MMU default HUGETLB_PAGE_SIZE_64Kconfig HUGETLB_PAGE_SIZE_64K bool "64K"config HUGETLB_PAGE_SIZE_1MB bool "1MB"endchoiceconfig CMDLINE_BOOL bool "Default bootloader kernel arguments"config CMDLINE string "Initial kernel command string" depends on CMDLINE_BOOL default "console=ttySC1,115200"# Platform-specific memory start and size definitionsconfig 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) ---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. The physical memory (RAM) start address will be automatically set to 08000000, unless you selected one of the following processor types: SolutionEngine, Overdrive, HP620, HP680, HP690, in which case the start address will be set to 0c000000. Tweak this only when porting to a new machine which is not already known by the config system. Changing it from the known correct value on any of the known systems will only lead to disaster.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 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 line. If unsure, consult your board specifications or just leave it as 0x00400000 which was the default value before this became configurable.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) default y help This is an option about which you will never be asked a question. Therefore, I conclude that you do not exist - go away. There is a grue here.# 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 belowconfig CF_ENABLER bool "Compact Flash Enabler support" depends on SH_ADX || SH_SOLUTION_ENGINE || SH_UNKNOWN || SH_CAT68701 ---help--- Compact Flash is a small, removable mass storage device introduced in 1994 originally as a PCMCIA device. If you say `Y' here, you compile in support for Compact Flash devices directly connected to a SuperH processor. A Compact Flash FAQ is available at <http://www.compactflash.org/faqs/faq.htm>. If your board has "Directly Connected" CompactFlash at area 5 or 6, you may want to enable this option. Then, you can use CF as primary IDE drive (only tested for SanDisk). If in doubt, select 'N'.choice prompt "Compact Flash Connection Area" depends on CF_ENABLER default CF_AREA6config CF_AREA5 bool "Area5" help If your board has "Directly Connected" CompactFlash, You should select the area where your CF is connected to. - "Area5" if CompactFlash is connected to Area 5 (0x14000000) - "Area6" if it is connected to Area 6 (0x18000000) "Area6" will work for most boards. For ADX, select "Area5".config CF_AREA6
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -