1ea0e1a9aSPaul Mundt# 2ea0e1a9aSPaul Mundt# For a description of the syntax of this configuration file, 3ea0e1a9aSPaul Mundt# see Documentation/kbuild/kconfig-language.txt. 4ea0e1a9aSPaul Mundt# 5ea0e1a9aSPaul Mundt 6ea0e1a9aSPaul Mundtmainmenu "Linux/SuperH Kernel Configuration" 7ea0e1a9aSPaul Mundt 8ea0e1a9aSPaul Mundtconfig SUPERH 9ea0e1a9aSPaul Mundt def_bool y 10ea0e1a9aSPaul Mundt select EMBEDDED 119483a578SDavid Brownell select HAVE_CLK 12ec7748b5SSam Ravnborg select HAVE_IDE 1342d4b839SMathieu Desnoyers select HAVE_OPROFILE 149de90ac2SDmitry Baryshkov select HAVE_GENERIC_DMA_COHERENT 1521944781SPaul Mundt select HAVE_IOREMAP_PROT if MMU 16d7b01f78SPaul Mundt select HAVE_ARCH_TRACEHOOK 17ea0e1a9aSPaul Mundt help 18ea0e1a9aSPaul Mundt The SuperH is a RISC processor targeted for use in embedded systems 19ea0e1a9aSPaul Mundt and consumer electronics; it was also used in the Sega Dreamcast 20ea0e1a9aSPaul Mundt gaming console. The SuperH port has a home page at 21ea0e1a9aSPaul Mundt <http://www.linux-sh.org/>. 22ea0e1a9aSPaul Mundt 23ea0e1a9aSPaul Mundtconfig SUPERH32 24ea0e1a9aSPaul Mundt def_bool !SUPERH64 25d39f5450SChris Smith select HAVE_KPROBES 26d39f5450SChris Smith select HAVE_KRETPROBES 27694f94f2SPaul Mundt select HAVE_FUNCTION_TRACER 28fad57febSMatt Fleming select HAVE_FTRACE_MCOUNT_RECORD 29fad57febSMatt Fleming select HAVE_DYNAMIC_FTRACE 30ab6e570bSPaul Mundt select HAVE_ARCH_KGDB 31ea0e1a9aSPaul Mundt 32ea0e1a9aSPaul Mundtconfig SUPERH64 33ea0e1a9aSPaul Mundt def_bool y if CPU_SH5 34ea0e1a9aSPaul Mundt 35f42b7e3dSPaul Mundtconfig ARCH_DEFCONFIG 36f42b7e3dSPaul Mundt string 37f42b7e3dSPaul Mundt default "arch/sh/configs/shx3_defconfig" if SUPERH32 38f42b7e3dSPaul Mundt default "arch/sh/configs/cayman_defconfig" if SUPERH64 39f42b7e3dSPaul Mundt 40ea0e1a9aSPaul Mundtconfig RWSEM_GENERIC_SPINLOCK 41d7ef4fb3SHarvey Harrison def_bool y 42ea0e1a9aSPaul Mundt 43ea0e1a9aSPaul Mundtconfig RWSEM_XCHGADD_ALGORITHM 44ea0e1a9aSPaul Mundt bool 45ea0e1a9aSPaul Mundt 46ea0e1a9aSPaul Mundtconfig GENERIC_BUG 47ea0e1a9aSPaul Mundt def_bool y 48a82d53ecSPaul Mundt depends on BUG && SUPERH32 49ea0e1a9aSPaul Mundt 50ea0e1a9aSPaul Mundtconfig GENERIC_FIND_NEXT_BIT 51d7ef4fb3SHarvey Harrison def_bool y 52ea0e1a9aSPaul Mundt 53ea0e1a9aSPaul Mundtconfig GENERIC_HWEIGHT 54d7ef4fb3SHarvey Harrison def_bool y 55ea0e1a9aSPaul Mundt 56ea0e1a9aSPaul Mundtconfig GENERIC_HARDIRQS 57d7ef4fb3SHarvey Harrison def_bool y 58ea0e1a9aSPaul Mundt 595093c9a4SPaul Mundtconfig GENERIC_HARDIRQS_NO__DO_IRQ 605093c9a4SPaul Mundt def_bool y 615093c9a4SPaul Mundt 62ea0e1a9aSPaul Mundtconfig GENERIC_IRQ_PROBE 63d7ef4fb3SHarvey Harrison def_bool y 64ea0e1a9aSPaul Mundt 652967dab1SMagnus Dammconfig GENERIC_GPIO 662967dab1SMagnus Damm def_bool n 672967dab1SMagnus Damm 68ea0e1a9aSPaul Mundtconfig GENERIC_CALIBRATE_DELAY 69cf204fa7SPaul Mundt bool 70ea0e1a9aSPaul Mundt 71ea0e1a9aSPaul Mundtconfig GENERIC_IOMAP 72ea0e1a9aSPaul Mundt bool 73ea0e1a9aSPaul Mundt 74ea0e1a9aSPaul Mundtconfig GENERIC_TIME 75ea0e1a9aSPaul Mundt def_bool n 76ea0e1a9aSPaul Mundt 77ea0e1a9aSPaul Mundtconfig GENERIC_CLOCKEVENTS 78ea0e1a9aSPaul Mundt def_bool n 79ea0e1a9aSPaul Mundt 808c24594dSPaul Mundtconfig GENERIC_CLOCKEVENTS_BROADCAST 818c24594dSPaul Mundt bool 828c24594dSPaul Mundt 83bdcab87bSPaul Mundtconfig GENERIC_LOCKBREAK 84bdcab87bSPaul Mundt def_bool y 85bdcab87bSPaul Mundt depends on SMP && PREEMPT 86bdcab87bSPaul Mundt 87ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PM 88ea0e1a9aSPaul Mundt bool 89af998a9aSMagnus Damm depends on !SMP 90af998a9aSMagnus Damm 91af998a9aSMagnus Dammconfig ARCH_SUSPEND_POSSIBLE 92af998a9aSMagnus Damm def_bool n 93af998a9aSMagnus Damm 94af998a9aSMagnus Dammconfig ARCH_HIBERNATION_POSSIBLE 95af998a9aSMagnus Damm def_bool n 96ea0e1a9aSPaul Mundt 97ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_APM_EMULATION 98ea0e1a9aSPaul Mundt bool 99af998a9aSMagnus Damm select ARCH_SUSPEND_POSSIBLE 100ea0e1a9aSPaul Mundt 101ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_SMP 102ea0e1a9aSPaul Mundt bool 103ea0e1a9aSPaul Mundt 104ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_NUMA 105ea0e1a9aSPaul Mundt bool 106ea0e1a9aSPaul Mundt 107ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PCI 108ea0e1a9aSPaul Mundt bool 109ea0e1a9aSPaul Mundt 110f5ad881bSPaul Mundtconfig SYS_SUPPORTS_CMT 111f5ad881bSPaul Mundt bool 112f5ad881bSPaul Mundt 113ea0e1a9aSPaul Mundtconfig STACKTRACE_SUPPORT 114d7ef4fb3SHarvey Harrison def_bool y 115ea0e1a9aSPaul Mundt 116ea0e1a9aSPaul Mundtconfig LOCKDEP_SUPPORT 117d7ef4fb3SHarvey Harrison def_bool y 118ea0e1a9aSPaul Mundt 1195a89f1adSPaul Mundtconfig HAVE_LATENCYTOP_SUPPORT 1205a89f1adSPaul Mundt def_bool y 1215a89f1adSPaul Mundt depends on !SMP 1225a89f1adSPaul Mundt 123ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U32 124d7ef4fb3SHarvey Harrison def_bool n 125ea0e1a9aSPaul Mundt 126ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U64 127d7ef4fb3SHarvey Harrison def_bool n 128ea0e1a9aSPaul Mundt 129ea0e1a9aSPaul Mundtconfig ARCH_NO_VIRT_TO_BUS 130ea0e1a9aSPaul Mundt def_bool y 131ea0e1a9aSPaul Mundt 132e7cc9a73SMagnus Dammconfig IO_TRAPPED 133e7cc9a73SMagnus Damm bool 134e7cc9a73SMagnus Damm 135ea0e1a9aSPaul Mundtsource "init/Kconfig" 136ea0e1a9aSPaul Mundt 137dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer" 138dc52ddc0SMatt Helsley 139ea0e1a9aSPaul Mundtmenu "System type" 140ea0e1a9aSPaul Mundt 141ea0e1a9aSPaul Mundt# 142ea0e1a9aSPaul Mundt# Processor families 143ea0e1a9aSPaul Mundt# 144ea0e1a9aSPaul Mundtconfig CPU_SH2 145ea0e1a9aSPaul Mundt bool 146ea0e1a9aSPaul Mundt 147ea0e1a9aSPaul Mundtconfig CPU_SH2A 148ea0e1a9aSPaul Mundt bool 149ea0e1a9aSPaul Mundt select CPU_SH2 150ea0e1a9aSPaul Mundt 151ea0e1a9aSPaul Mundtconfig CPU_SH3 152ea0e1a9aSPaul Mundt bool 153ea0e1a9aSPaul Mundt select CPU_HAS_INTEVT 154ea0e1a9aSPaul Mundt select CPU_HAS_SR_RB 155ea0e1a9aSPaul Mundt 156ea0e1a9aSPaul Mundtconfig CPU_SH4 157ea0e1a9aSPaul Mundt bool 158ea0e1a9aSPaul Mundt select CPU_HAS_INTEVT 159ea0e1a9aSPaul Mundt select CPU_HAS_SR_RB 160ea0e1a9aSPaul Mundt select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2 161ea0e1a9aSPaul Mundt select CPU_HAS_FPU if !CPU_SH4AL_DSP 162ea0e1a9aSPaul Mundt 163ea0e1a9aSPaul Mundtconfig CPU_SH4A 164ea0e1a9aSPaul Mundt bool 165ea0e1a9aSPaul Mundt select CPU_SH4 166ea0e1a9aSPaul Mundt 167ea0e1a9aSPaul Mundtconfig CPU_SH4AL_DSP 168ea0e1a9aSPaul Mundt bool 169ea0e1a9aSPaul Mundt select CPU_SH4A 170ea0e1a9aSPaul Mundt select CPU_HAS_DSP 171ea0e1a9aSPaul Mundt 172ea0e1a9aSPaul Mundtconfig CPU_SH5 173ea0e1a9aSPaul Mundt bool 174ea0e1a9aSPaul Mundt select CPU_HAS_FPU 175ea0e1a9aSPaul Mundt 176ea0e1a9aSPaul Mundtconfig CPU_SHX2 177ea0e1a9aSPaul Mundt bool 178ea0e1a9aSPaul Mundt 179ea0e1a9aSPaul Mundtconfig CPU_SHX3 180ea0e1a9aSPaul Mundt bool 181ea0e1a9aSPaul Mundt 182ea0e1a9aSPaul Mundtchoice 183ea0e1a9aSPaul Mundt prompt "Processor sub-type selection" 184ea0e1a9aSPaul Mundt 185ea0e1a9aSPaul Mundt# 186ea0e1a9aSPaul Mundt# Processor subtypes 187ea0e1a9aSPaul Mundt# 188ea0e1a9aSPaul Mundt 189ea0e1a9aSPaul Mundt# SH-2 Processor Support 190ea0e1a9aSPaul Mundt 191ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7619 192ea0e1a9aSPaul Mundt bool "Support SH7619 processor" 193ea0e1a9aSPaul Mundt select CPU_SH2 194f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 195ea0e1a9aSPaul Mundt 196ea0e1a9aSPaul Mundt# SH-2A Processor Support 197ea0e1a9aSPaul Mundt 1982825999eSPeter Griffinconfig CPU_SUBTYPE_SH7201 1992825999eSPeter Griffin bool "Support SH7201 processor" 2002825999eSPeter Griffin select CPU_SH2A 2012825999eSPeter Griffin select CPU_HAS_FPU 2022825999eSPeter Griffin 2036d01f510SPaul Mundtconfig CPU_SUBTYPE_SH7203 2046d01f510SPaul Mundt bool "Support SH7203 processor" 2056d01f510SPaul Mundt select CPU_SH2A 20674d99a5eSPaul Mundt select CPU_HAS_FPU 207f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 2086d01f510SPaul Mundt 209ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7206 210ea0e1a9aSPaul Mundt bool "Support SH7206 processor" 211ea0e1a9aSPaul Mundt select CPU_SH2A 212f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 213ea0e1a9aSPaul Mundt 214a8f67f4bSPaul Mundtconfig CPU_SUBTYPE_SH7263 215a8f67f4bSPaul Mundt bool "Support SH7263 processor" 216a8f67f4bSPaul Mundt select CPU_SH2A 21774d99a5eSPaul Mundt select CPU_HAS_FPU 218f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 219a8f67f4bSPaul Mundt 2202ad69908SPaul Mundtconfig CPU_SUBTYPE_MXG 2212ad69908SPaul Mundt bool "Support MX-G processor" 2222ad69908SPaul Mundt select CPU_SH2A 2232ad69908SPaul Mundt help 2242ad69908SPaul Mundt Select MX-G if running on an R8A03022BG part. 2252ad69908SPaul Mundt 226ea0e1a9aSPaul Mundt# SH-3 Processor Support 227ea0e1a9aSPaul Mundt 228ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7705 229ea0e1a9aSPaul Mundt bool "Support SH7705 processor" 230ea0e1a9aSPaul Mundt select CPU_SH3 231ea0e1a9aSPaul Mundt 232ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7706 233ea0e1a9aSPaul Mundt bool "Support SH7706 processor" 234ea0e1a9aSPaul Mundt select CPU_SH3 235ea0e1a9aSPaul Mundt help 236ea0e1a9aSPaul Mundt Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU. 237ea0e1a9aSPaul Mundt 238ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7707 239ea0e1a9aSPaul Mundt bool "Support SH7707 processor" 240ea0e1a9aSPaul Mundt select CPU_SH3 241ea0e1a9aSPaul Mundt help 242ea0e1a9aSPaul Mundt Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU. 243ea0e1a9aSPaul Mundt 244ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7708 245ea0e1a9aSPaul Mundt bool "Support SH7708 processor" 246ea0e1a9aSPaul Mundt select CPU_SH3 247ea0e1a9aSPaul Mundt help 248ea0e1a9aSPaul Mundt Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or 249ea0e1a9aSPaul Mundt if you have a 100 Mhz SH-3 HD6417708R CPU. 250ea0e1a9aSPaul Mundt 251ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7709 252ea0e1a9aSPaul Mundt bool "Support SH7709 processor" 253ea0e1a9aSPaul Mundt select CPU_SH3 254ea0e1a9aSPaul Mundt help 255ea0e1a9aSPaul Mundt Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. 256ea0e1a9aSPaul Mundt 257ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7710 258ea0e1a9aSPaul Mundt bool "Support SH7710 processor" 259ea0e1a9aSPaul Mundt select CPU_SH3 260ea0e1a9aSPaul Mundt select CPU_HAS_DSP 261ea0e1a9aSPaul Mundt help 262ea0e1a9aSPaul Mundt Select SH7710 if you have a SH3-DSP SH7710 CPU. 263ea0e1a9aSPaul Mundt 264ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7712 265ea0e1a9aSPaul Mundt bool "Support SH7712 processor" 266ea0e1a9aSPaul Mundt select CPU_SH3 267ea0e1a9aSPaul Mundt select CPU_HAS_DSP 268ea0e1a9aSPaul Mundt help 269ea0e1a9aSPaul Mundt Select SH7712 if you have a SH3-DSP SH7712 CPU. 270ea0e1a9aSPaul Mundt 271ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7720 272ea0e1a9aSPaul Mundt bool "Support SH7720 processor" 273ea0e1a9aSPaul Mundt select CPU_SH3 274ea0e1a9aSPaul Mundt select CPU_HAS_DSP 275ea0e1a9aSPaul Mundt help 276ea0e1a9aSPaul Mundt Select SH7720 if you have a SH3-DSP SH7720 CPU. 277ea0e1a9aSPaul Mundt 27831a49c4bSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7721 27931a49c4bSYoshihiro Shimoda bool "Support SH7721 processor" 28031a49c4bSYoshihiro Shimoda select CPU_SH3 28131a49c4bSYoshihiro Shimoda select CPU_HAS_DSP 28231a49c4bSYoshihiro Shimoda help 28331a49c4bSYoshihiro Shimoda Select SH7721 if you have a SH3-DSP SH7721 CPU. 28431a49c4bSYoshihiro Shimoda 285ea0e1a9aSPaul Mundt# SH-4 Processor Support 286ea0e1a9aSPaul Mundt 287ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750 288ea0e1a9aSPaul Mundt bool "Support SH7750 processor" 289ea0e1a9aSPaul Mundt select CPU_SH4 290ea0e1a9aSPaul Mundt help 291ea0e1a9aSPaul Mundt Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. 292ea0e1a9aSPaul Mundt 293ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7091 294ea0e1a9aSPaul Mundt bool "Support SH7091 processor" 295ea0e1a9aSPaul Mundt select CPU_SH4 296ea0e1a9aSPaul Mundt help 297ea0e1a9aSPaul Mundt Select SH7091 if you have an SH-4 based Sega device (such as 298ea0e1a9aSPaul Mundt the Dreamcast, Naomi, and Naomi 2). 299ea0e1a9aSPaul Mundt 300ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750R 301ea0e1a9aSPaul Mundt bool "Support SH7750R processor" 302ea0e1a9aSPaul Mundt select CPU_SH4 303ea0e1a9aSPaul Mundt 304ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750S 305ea0e1a9aSPaul Mundt bool "Support SH7750S processor" 306ea0e1a9aSPaul Mundt select CPU_SH4 307ea0e1a9aSPaul Mundt 308ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751 309ea0e1a9aSPaul Mundt bool "Support SH7751 processor" 310ea0e1a9aSPaul Mundt select CPU_SH4 311ea0e1a9aSPaul Mundt help 312ea0e1a9aSPaul Mundt Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, 313ea0e1a9aSPaul Mundt or if you have a HD6417751R CPU. 314ea0e1a9aSPaul Mundt 315ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751R 316ea0e1a9aSPaul Mundt bool "Support SH7751R processor" 317ea0e1a9aSPaul Mundt select CPU_SH4 318ea0e1a9aSPaul Mundt 319ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7760 320ea0e1a9aSPaul Mundt bool "Support SH7760 processor" 321ea0e1a9aSPaul Mundt select CPU_SH4 322ea0e1a9aSPaul Mundt 323ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH4_202 324ea0e1a9aSPaul Mundt bool "Support SH4-202 processor" 325ea0e1a9aSPaul Mundt select CPU_SH4 326ea0e1a9aSPaul Mundt 327ea0e1a9aSPaul Mundt# SH-4A Processor Support 328ea0e1a9aSPaul Mundt 329178dd0cdSPaul Mundtconfig CPU_SUBTYPE_SH7723 330178dd0cdSPaul Mundt bool "Support SH7723 processor" 331178dd0cdSPaul Mundt select CPU_SH4A 332178dd0cdSPaul Mundt select CPU_SHX2 333178dd0cdSPaul Mundt select ARCH_SPARSEMEM_ENABLE 334f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 335178dd0cdSPaul Mundt help 336178dd0cdSPaul Mundt Select SH7723 if you have an SH-MobileR2 CPU. 337178dd0cdSPaul Mundt 3387d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763 3397d740a06SYoshihiro Shimoda bool "Support SH7763 processor" 3407d740a06SYoshihiro Shimoda select CPU_SH4A 3417d740a06SYoshihiro Shimoda help 3427d740a06SYoshihiro Shimoda Select SH7763 if you have a SH4A SH7763(R5S77631) CPU. 3437d740a06SYoshihiro Shimoda 344ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7770 345ea0e1a9aSPaul Mundt bool "Support SH7770 processor" 346ea0e1a9aSPaul Mundt select CPU_SH4A 347ea0e1a9aSPaul Mundt 348ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7780 349ea0e1a9aSPaul Mundt bool "Support SH7780 processor" 350ea0e1a9aSPaul Mundt select CPU_SH4A 351ea0e1a9aSPaul Mundt 352ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7785 353ea0e1a9aSPaul Mundt bool "Support SH7785 processor" 354ea0e1a9aSPaul Mundt select CPU_SH4A 355ea0e1a9aSPaul Mundt select CPU_SHX2 356ea0e1a9aSPaul Mundt select ARCH_SPARSEMEM_ENABLE 357ea0e1a9aSPaul Mundt select SYS_SUPPORTS_NUMA 358ea0e1a9aSPaul Mundt 359ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3 360ea0e1a9aSPaul Mundt bool "Support SH-X3 processor" 361ea0e1a9aSPaul Mundt select CPU_SH4A 362ea0e1a9aSPaul Mundt select CPU_SHX3 363ea0e1a9aSPaul Mundt select ARCH_SPARSEMEM_ENABLE 364ea0e1a9aSPaul Mundt select SYS_SUPPORTS_NUMA 365ea0e1a9aSPaul Mundt select SYS_SUPPORTS_SMP 3665840263eSPaul Mundt select GENERIC_CLOCKEVENTS_BROADCAST if SMP 367ea0e1a9aSPaul Mundt 368ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support 369ea0e1a9aSPaul Mundt 370ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343 371ea0e1a9aSPaul Mundt bool "Support SH7343 processor" 372ea0e1a9aSPaul Mundt select CPU_SH4AL_DSP 373f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 374ea0e1a9aSPaul Mundt 375ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722 376ea0e1a9aSPaul Mundt bool "Support SH7722 processor" 377ea0e1a9aSPaul Mundt select CPU_SH4AL_DSP 378ea0e1a9aSPaul Mundt select CPU_SHX2 379ea0e1a9aSPaul Mundt select ARCH_SPARSEMEM_ENABLE 380ea0e1a9aSPaul Mundt select SYS_SUPPORTS_NUMA 381f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 382ea0e1a9aSPaul Mundt 3839109a30eSMagnus Dammconfig CPU_SUBTYPE_SH7366 3849109a30eSMagnus Damm bool "Support SH7366 processor" 3859109a30eSMagnus Damm select CPU_SH4AL_DSP 3869109a30eSMagnus Damm select CPU_SHX2 3879109a30eSMagnus Damm select ARCH_SPARSEMEM_ENABLE 3889109a30eSMagnus Damm select SYS_SUPPORTS_NUMA 389f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 3909109a30eSMagnus Damm 391ea0e1a9aSPaul Mundt# SH-5 Processor Support 392ea0e1a9aSPaul Mundt 393ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_101 394ea0e1a9aSPaul Mundt bool "Support SH5-101 processor" 395ea0e1a9aSPaul Mundt select CPU_SH5 396ea0e1a9aSPaul Mundt 397ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_103 398ea0e1a9aSPaul Mundt bool "Support SH5-103 processor" 3998ef97dd7SPaul Mundt select CPU_SH5 400ea0e1a9aSPaul Mundt 401ea0e1a9aSPaul Mundtendchoice 402ea0e1a9aSPaul Mundt 403ea0e1a9aSPaul Mundtsource "arch/sh/mm/Kconfig" 404939a24a6SPaul Mundt 405ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu" 406ea0e1a9aSPaul Mundt 407939a24a6SPaul Mundtsource "arch/sh/boards/Kconfig" 408ea0e1a9aSPaul Mundt 409ea0e1a9aSPaul Mundtmenu "Timer and clock configuration" 410ea0e1a9aSPaul Mundt 411ea0e1a9aSPaul Mundtconfig SH_TMU 412f5ad881bSPaul Mundt bool "TMU timer support" 413ea0e1a9aSPaul Mundt depends on CPU_SH3 || CPU_SH4 414f5ad881bSPaul Mundt default y 415ea0e1a9aSPaul Mundt select GENERIC_TIME 416ea0e1a9aSPaul Mundt select GENERIC_CLOCKEVENTS 417ea0e1a9aSPaul Mundt help 418ea0e1a9aSPaul Mundt This enables the use of the TMU as the system timer. 419ea0e1a9aSPaul Mundt 420ea0e1a9aSPaul Mundtconfig SH_CMT 421f5ad881bSPaul Mundt bool "CMT timer support" 422508eb2ceSPaul Mundt depends on SYS_SUPPORTS_CMT && CPU_SH2 423f5ad881bSPaul Mundt default y 424ea0e1a9aSPaul Mundt help 425ea0e1a9aSPaul Mundt This enables the use of the CMT as the system timer. 426ea0e1a9aSPaul Mundt 427f5ad881bSPaul Mundt# 428f5ad881bSPaul Mundt# Support for the new-style CMT driver. This will replace SH_CMT 429f5ad881bSPaul Mundt# once its other dependencies are merged. 430f5ad881bSPaul Mundt# 431f5ad881bSPaul Mundtconfig SH_TIMER_CMT 432f5ad881bSPaul Mundt bool "CMT clockevents driver" 433f5ad881bSPaul Mundt depends on SYS_SUPPORTS_CMT && !SH_CMT 434f5ad881bSPaul Mundt select GENERIC_CLOCKEVENTS 435f5ad881bSPaul Mundt 436ea0e1a9aSPaul Mundtconfig SH_MTU2 437f5ad881bSPaul Mundt bool "MTU2 timer support" 438ea0e1a9aSPaul Mundt depends on CPU_SH2A 439f5ad881bSPaul Mundt default y 440ea0e1a9aSPaul Mundt help 441ea0e1a9aSPaul Mundt This enables the use of the MTU2 as the system timer. 442ea0e1a9aSPaul Mundt 443ea0e1a9aSPaul Mundtconfig SH_TIMER_IRQ 444ea0e1a9aSPaul Mundt int 4457d740a06SYoshihiro Shimoda default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \ 4467d740a06SYoshihiro Shimoda CPU_SUBTYPE_SH7763 447ea0e1a9aSPaul Mundt default "86" if CPU_SUBTYPE_SH7619 448ea0e1a9aSPaul Mundt default "140" if CPU_SUBTYPE_SH7206 449d63f3a58SPaul Mundt default "142" if CPU_SUBTYPE_SH7203 && SH_CMT 450d63f3a58SPaul Mundt default "153" if CPU_SUBTYPE_SH7203 && SH_MTU2 4512ad69908SPaul Mundt default "238" if CPU_SUBTYPE_MXG 452ea0e1a9aSPaul Mundt default "16" 453ea0e1a9aSPaul Mundt 454ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ 455ea0e1a9aSPaul Mundt int "Peripheral clock frequency (in Hz)" 456ea0e1a9aSPaul Mundt default "27000000" if CPU_SUBTYPE_SH7343 457ea0e1a9aSPaul Mundt default "31250000" if CPU_SUBTYPE_SH7619 458ea0e1a9aSPaul Mundt default "32000000" if CPU_SUBTYPE_SH7722 459178dd0cdSPaul Mundt default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \ 460ea0e1a9aSPaul Mundt CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ 461a8f67f4bSPaul Mundt CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \ 4622ad69908SPaul Mundt CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG 463ea0e1a9aSPaul Mundt default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R 464ea0e1a9aSPaul Mundt default "66000000" if CPU_SUBTYPE_SH4_202 465ea0e1a9aSPaul Mundt default "50000000" 466ea0e1a9aSPaul Mundt help 467ea0e1a9aSPaul Mundt This option is used to specify the peripheral clock frequency. 468ea0e1a9aSPaul Mundt This is necessary for determining the reference clock value on 469ea0e1a9aSPaul Mundt platforms lacking an RTC. 470ea0e1a9aSPaul Mundt 471ea0e1a9aSPaul Mundtconfig SH_CLK_MD 472ea0e1a9aSPaul Mundt int "CPU Mode Pin Setting" 4736d01f510SPaul Mundt depends on CPU_SH2 474ea0e1a9aSPaul Mundt default 6 if CPU_SUBTYPE_SH7206 475ea0e1a9aSPaul Mundt default 5 if CPU_SUBTYPE_SH7619 476ea0e1a9aSPaul Mundt default 0 477ea0e1a9aSPaul Mundt help 478ea0e1a9aSPaul Mundt MD2 - MD0 pin setting. 479ea0e1a9aSPaul Mundt 480ea0e1a9aSPaul Mundtsource "kernel/time/Kconfig" 481ea0e1a9aSPaul Mundt 482ea0e1a9aSPaul Mundtendmenu 483ea0e1a9aSPaul Mundt 484ea0e1a9aSPaul Mundtmenu "CPU Frequency scaling" 485ea0e1a9aSPaul Mundt 486ea0e1a9aSPaul Mundtsource "drivers/cpufreq/Kconfig" 487ea0e1a9aSPaul Mundt 488ea0e1a9aSPaul Mundtconfig SH_CPU_FREQ 489ea0e1a9aSPaul Mundt tristate "SuperH CPU Frequency driver" 490ea0e1a9aSPaul Mundt depends on CPU_FREQ 491ea0e1a9aSPaul Mundt select CPU_FREQ_TABLE 492ea0e1a9aSPaul Mundt help 4938a655053SPaul Mundt This adds the cpufreq driver for SuperH. Any CPU that supports 4948a655053SPaul Mundt clock rate rounding through the clock framework can use this 4958a655053SPaul Mundt driver. While it will make the kernel slightly larger, this is 4968a655053SPaul Mundt harmless for CPUs that don't support rate rounding. The driver 4978a655053SPaul Mundt will also generate a notice in the boot log before disabling 4988a655053SPaul Mundt itself if the CPU in question is not capable of rate rounding. 499ea0e1a9aSPaul Mundt 500ea0e1a9aSPaul Mundt For details, take a look at <file:Documentation/cpu-freq>. 501ea0e1a9aSPaul Mundt 502ea0e1a9aSPaul Mundt If unsure, say N. 503ea0e1a9aSPaul Mundt 504ea0e1a9aSPaul Mundtendmenu 505ea0e1a9aSPaul Mundt 506ea0e1a9aSPaul Mundtsource "arch/sh/drivers/Kconfig" 507ea0e1a9aSPaul Mundt 508ea0e1a9aSPaul Mundtendmenu 509ea0e1a9aSPaul Mundt 510ea0e1a9aSPaul Mundtmenu "Kernel features" 511ea0e1a9aSPaul Mundt 512ea0e1a9aSPaul Mundtsource kernel/Kconfig.hz 513ea0e1a9aSPaul Mundt 514ea0e1a9aSPaul Mundtconfig KEXEC 515ea0e1a9aSPaul Mundt bool "kexec system call (EXPERIMENTAL)" 516640f7487SPaul Mundt depends on SUPERH32 && EXPERIMENTAL 517ea0e1a9aSPaul Mundt help 518ea0e1a9aSPaul Mundt kexec is a system call that implements the ability to shutdown your 519ea0e1a9aSPaul Mundt current kernel, and to start another kernel. It is like a reboot 520ea0e1a9aSPaul Mundt but it is independent of the system firmware. And like a reboot 521ea0e1a9aSPaul Mundt you can start any kernel with it, not just Linux. 522ea0e1a9aSPaul Mundt 523ea0e1a9aSPaul Mundt The name comes from the similarity to the exec system call. 524ea0e1a9aSPaul Mundt 525ea0e1a9aSPaul Mundt It is an ongoing process to be certain the hardware in a machine 526ea0e1a9aSPaul Mundt is properly shutdown, so do not be surprised if this code does not 527ea0e1a9aSPaul Mundt initially work for you. It may help to enable device hotplugging 528ea0e1a9aSPaul Mundt support. As of this writing the exact hardware interface is 529ea0e1a9aSPaul Mundt strongly in flux, so no good recommendation can be made. 530ea0e1a9aSPaul Mundt 531ea0e1a9aSPaul Mundtconfig CRASH_DUMP 532ea0e1a9aSPaul Mundt bool "kernel crash dumps (EXPERIMENTAL)" 533640f7487SPaul Mundt depends on SUPERH32 && EXPERIMENTAL 534ea0e1a9aSPaul Mundt help 535ea0e1a9aSPaul Mundt Generate crash dump after being started by kexec. 536ea0e1a9aSPaul Mundt This should be normally only set in special crash dump kernels 537ea0e1a9aSPaul Mundt which are loaded in the main kernel with kexec-tools into 538ea0e1a9aSPaul Mundt a specially reserved region and then later executed after 539ea0e1a9aSPaul Mundt a crash by kdump/kexec. The crash dump kernel must be compiled 540ea0e1a9aSPaul Mundt to a memory address not used by the main kernel using 541ea0e1a9aSPaul Mundt MEMORY_START. 542ea0e1a9aSPaul Mundt 543ea0e1a9aSPaul Mundt For more details see Documentation/kdump/kdump.txt 544ea0e1a9aSPaul Mundt 545c4637d47SPaul Mundtconfig SECCOMP 546c4637d47SPaul Mundt bool "Enable seccomp to safely compute untrusted bytecode" 547c4637d47SPaul Mundt depends on PROC_FS 548c4637d47SPaul Mundt help 549c4637d47SPaul Mundt This kernel feature is useful for number crunching applications 550c4637d47SPaul Mundt that may need to compute untrusted bytecode during their 551c4637d47SPaul Mundt execution. By using pipes or other transports made available to 552c4637d47SPaul Mundt the process as file descriptors supporting the read/write 553c4637d47SPaul Mundt syscalls, it's possible to isolate those applications in 554c4637d47SPaul Mundt their own address space using seccomp. Once seccomp is 555c4637d47SPaul Mundt enabled via prctl, it cannot be disabled and the task is only 556c4637d47SPaul Mundt allowed to execute a few safe syscalls defined by each seccomp 557c4637d47SPaul Mundt mode. 558c4637d47SPaul Mundt 559c4637d47SPaul Mundt If unsure, say N. 560c4637d47SPaul Mundt 561ea0e1a9aSPaul Mundtconfig SMP 562ea0e1a9aSPaul Mundt bool "Symmetric multi-processing support" 563ea0e1a9aSPaul Mundt depends on SYS_SUPPORTS_SMP 564490f5de5SJens Axboe select USE_GENERIC_SMP_HELPERS 565ea0e1a9aSPaul Mundt ---help--- 566ea0e1a9aSPaul Mundt This enables support for systems with more than one CPU. If you have 567ea0e1a9aSPaul Mundt a system with only one CPU, like most personal computers, say N. If 568ea0e1a9aSPaul Mundt you have a system with more than one CPU, say Y. 569ea0e1a9aSPaul Mundt 570ea0e1a9aSPaul Mundt If you say N here, the kernel will run on single and multiprocessor 571ea0e1a9aSPaul Mundt machines, but will use only one CPU of a multiprocessor machine. If 572ea0e1a9aSPaul Mundt you say Y here, the kernel will run on many, but not all, 573ea0e1a9aSPaul Mundt singleprocessor machines. On a singleprocessor machine, the kernel 574ea0e1a9aSPaul Mundt will run faster if you say N here. 575ea0e1a9aSPaul Mundt 576ea0e1a9aSPaul Mundt People using multiprocessor machines who say Y here should also say 577ea0e1a9aSPaul Mundt Y to "Enhanced Real Time Clock Support", below. 578ea0e1a9aSPaul Mundt 57903502faaSAdrian Bunk See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO 58003502faaSAdrian Bunk available at <http://www.tldp.org/docs.html#howto>. 581ea0e1a9aSPaul Mundt 582ea0e1a9aSPaul Mundt If you don't know what to do here, say N. 583ea0e1a9aSPaul Mundt 584ea0e1a9aSPaul Mundtconfig NR_CPUS 585ea0e1a9aSPaul Mundt int "Maximum number of CPUs (2-32)" 586ea0e1a9aSPaul Mundt range 2 32 587ea0e1a9aSPaul Mundt depends on SMP 588ea0e1a9aSPaul Mundt default "4" if CPU_SHX3 589ea0e1a9aSPaul Mundt default "2" 590ea0e1a9aSPaul Mundt help 591ea0e1a9aSPaul Mundt This allows you to specify the maximum number of CPUs which this 592ea0e1a9aSPaul Mundt kernel will support. The maximum supported value is 32 and the 593ea0e1a9aSPaul Mundt minimum value which makes sense is 2. 594ea0e1a9aSPaul Mundt 595ea0e1a9aSPaul Mundt This is purely to save memory - each supported CPU adds 596ea0e1a9aSPaul Mundt approximately eight kilobytes to the kernel image. 597ea0e1a9aSPaul Mundt 598ea0e1a9aSPaul Mundtsource "kernel/Kconfig.preempt" 599ea0e1a9aSPaul Mundt 600ea0e1a9aSPaul Mundtconfig GUSA 601ea0e1a9aSPaul Mundt def_bool y 6021efe4ce3SStuart Menefy depends on !SMP && SUPERH32 603ea0e1a9aSPaul Mundt help 604ea0e1a9aSPaul Mundt This enables support for gUSA (general UserSpace Atomicity). 605ea0e1a9aSPaul Mundt This is the default implementation for both UP and non-ll/sc 606ea0e1a9aSPaul Mundt CPUs, and is used by the libc, amongst others. 607ea0e1a9aSPaul Mundt 608ea0e1a9aSPaul Mundt For additional information, design information can be found 609ea0e1a9aSPaul Mundt in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>. 610ea0e1a9aSPaul Mundt 611ea0e1a9aSPaul Mundt This should only be disabled for special cases where alternate 612ea0e1a9aSPaul Mundt atomicity implementations exist. 613ea0e1a9aSPaul Mundt 6141efe4ce3SStuart Menefyconfig GUSA_RB 6151efe4ce3SStuart Menefy bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)" 6161efe4ce3SStuart Menefy depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A) 6171efe4ce3SStuart Menefy help 6181efe4ce3SStuart Menefy Enabling this option will allow the kernel to implement some 6191efe4ce3SStuart Menefy atomic operations using a software implemention of load-locked/ 6201efe4ce3SStuart Menefy store-conditional (LLSC). On machines which do not have hardware 6211efe4ce3SStuart Menefy LLSC, this should be more efficient than the other alternative of 6221efe4ce3SStuart Menefy disabling insterrupts around the atomic sequence. 6231efe4ce3SStuart Menefy 624ea0e1a9aSPaul Mundtendmenu 625ea0e1a9aSPaul Mundt 626ea0e1a9aSPaul Mundtmenu "Boot options" 627ea0e1a9aSPaul Mundt 628ea0e1a9aSPaul Mundtconfig ZERO_PAGE_OFFSET 629ea0e1a9aSPaul Mundt hex "Zero page offset" 630f5f826c6SAdrian Bunk default "0x00004000" if SH_SH03 631ea0e1a9aSPaul Mundt default "0x00010000" if PAGE_SIZE_64KB 632ea0e1a9aSPaul Mundt default "0x00002000" if PAGE_SIZE_8KB 633ea0e1a9aSPaul Mundt default "0x00001000" 634ea0e1a9aSPaul Mundt help 635ea0e1a9aSPaul Mundt This sets the default offset of zero page. 636ea0e1a9aSPaul Mundt 637ea0e1a9aSPaul Mundtconfig BOOT_LINK_OFFSET 638ea0e1a9aSPaul Mundt hex "Link address offset for booting" 639ea0e1a9aSPaul Mundt default "0x00800000" 640ea0e1a9aSPaul Mundt help 641ea0e1a9aSPaul Mundt This option allows you to set the link address offset of the zImage. 642ea0e1a9aSPaul Mundt This can be useful if you are on a board which has a small amount of 643ea0e1a9aSPaul Mundt memory. 644ea0e1a9aSPaul Mundt 645ea0e1a9aSPaul Mundtconfig UBC_WAKEUP 646ea0e1a9aSPaul Mundt bool "Wakeup UBC on startup" 647ea0e1a9aSPaul Mundt depends on CPU_SH4 && !CPU_SH4A 648ea0e1a9aSPaul Mundt help 649ea0e1a9aSPaul Mundt Selecting this option will wakeup the User Break Controller (UBC) on 650ea0e1a9aSPaul Mundt startup. Although the UBC is left in an awake state when the processor 651ea0e1a9aSPaul Mundt comes up, some boot loaders misbehave by putting the UBC to sleep in a 652ea0e1a9aSPaul Mundt power saving state, which causes issues with things like ptrace(). 653ea0e1a9aSPaul Mundt 654ea0e1a9aSPaul Mundt If unsure, say N. 655ea0e1a9aSPaul Mundt 656ea0e1a9aSPaul Mundtconfig CMDLINE_BOOL 657ea0e1a9aSPaul Mundt bool "Default bootloader kernel arguments" 658ea0e1a9aSPaul Mundt 659ea0e1a9aSPaul Mundtconfig CMDLINE 660ea0e1a9aSPaul Mundt string "Initial kernel command string" 661ea0e1a9aSPaul Mundt depends on CMDLINE_BOOL 662ea0e1a9aSPaul Mundt default "console=ttySC1,115200" 663ea0e1a9aSPaul Mundt 664ea0e1a9aSPaul Mundtendmenu 665ea0e1a9aSPaul Mundt 666ea0e1a9aSPaul Mundtmenu "Bus options" 667ea0e1a9aSPaul Mundt 668ea0e1a9aSPaul Mundtconfig SUPERHYWAY 669ea0e1a9aSPaul Mundt tristate "SuperHyway Bus support" 670ea0e1a9aSPaul Mundt depends on CPU_SUBTYPE_SH4_202 671ea0e1a9aSPaul Mundt 672ea0e1a9aSPaul Mundtconfig MAPLE 673ea0e1a9aSPaul Mundt bool "Maple Bus support" 674ea0e1a9aSPaul Mundt depends on SH_DREAMCAST 675ea0e1a9aSPaul Mundt help 676ea0e1a9aSPaul Mundt The Maple Bus is SEGA's serial communication bus for peripherals 677ea0e1a9aSPaul Mundt on the Dreamcast. Without this bus support you won't be able to 678ea0e1a9aSPaul Mundt get your Dreamcast keyboard etc to work, so most users 679ea0e1a9aSPaul Mundt probably want to say 'Y' here, unless you are only using the 680ea0e1a9aSPaul Mundt Dreamcast with a serial line terminal or a remote network 681ea0e1a9aSPaul Mundt connection. 682ea0e1a9aSPaul Mundt 683ea0e1a9aSPaul Mundtsource "arch/sh/drivers/pci/Kconfig" 684ea0e1a9aSPaul Mundt 685e16038abSPaul Mundtsource "drivers/pci/pcie/Kconfig" 686e16038abSPaul Mundt 687ea0e1a9aSPaul Mundtsource "drivers/pci/Kconfig" 688ea0e1a9aSPaul Mundt 689ea0e1a9aSPaul Mundtsource "drivers/pcmcia/Kconfig" 690ea0e1a9aSPaul Mundt 691ea0e1a9aSPaul Mundtsource "drivers/pci/hotplug/Kconfig" 692ea0e1a9aSPaul Mundt 693ea0e1a9aSPaul Mundtendmenu 694ea0e1a9aSPaul Mundt 695ea0e1a9aSPaul Mundtmenu "Executable file formats" 696ea0e1a9aSPaul Mundt 697ea0e1a9aSPaul Mundtsource "fs/Kconfig.binfmt" 698ea0e1a9aSPaul Mundt 699ea0e1a9aSPaul Mundtendmenu 700ea0e1a9aSPaul Mundt 701ea0e1a9aSPaul Mundtmenu "Power management options (EXPERIMENTAL)" 702af998a9aSMagnus Dammdepends on EXPERIMENTAL 703f4cb5700SJohannes Berg 704c6f17cb2SMagnus Dammsource "kernel/power/Kconfig" 705c6f17cb2SMagnus Damm 706c6f17cb2SMagnus Dammsource "drivers/cpuidle/Kconfig" 707ea0e1a9aSPaul Mundt 708ea0e1a9aSPaul Mundtendmenu 709ea0e1a9aSPaul Mundt 710ea0e1a9aSPaul Mundtsource "net/Kconfig" 711ea0e1a9aSPaul Mundt 712ea0e1a9aSPaul Mundtsource "drivers/Kconfig" 713ea0e1a9aSPaul Mundt 714ea0e1a9aSPaul Mundtsource "fs/Kconfig" 715ea0e1a9aSPaul Mundt 716ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.debug" 717ea0e1a9aSPaul Mundt 718ea0e1a9aSPaul Mundtsource "security/Kconfig" 719ea0e1a9aSPaul Mundt 720ea0e1a9aSPaul Mundtsource "crypto/Kconfig" 721ea0e1a9aSPaul Mundt 722ea0e1a9aSPaul Mundtsource "lib/Kconfig" 723