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 13c601a51aSMatt Fleming select HAVE_LMB 1442d4b839SMathieu Desnoyers select HAVE_OPROFILE 159de90ac2SDmitry Baryshkov select HAVE_GENERIC_DMA_COHERENT 1621944781SPaul Mundt select HAVE_IOREMAP_PROT if MMU 17d7b01f78SPaul Mundt select HAVE_ARCH_TRACEHOOK 18f802d969SPaul Mundt select HAVE_DMA_API_DEBUG 1973c926beSPaul Mundt select HAVE_DMA_ATTRS 20cdd6c482SIngo Molnar select HAVE_PERF_EVENTS 2172f0c137SPaul Mundt select PERF_USE_VMALLOC 22df8ce259SPaul Mundt select HAVE_KERNEL_GZIP 2307e88e1bSPaul Mundt select HAVE_KERNEL_BZIP2 2407e88e1bSPaul Mundt select HAVE_KERNEL_LZMA 25c7b16efbSPaul Mundt select HAVE_KERNEL_LZO 26a74f7e04SPaul Mundt select HAVE_SYSCALL_TRACEPOINTS 276eac1af0SPaul Mundt select RTC_LIB 28f01789c6SPaul Mundt select GENERIC_ATOMIC64 29ea0e1a9aSPaul Mundt help 30ea0e1a9aSPaul Mundt The SuperH is a RISC processor targeted for use in embedded systems 31ea0e1a9aSPaul Mundt and consumer electronics; it was also used in the Sega Dreamcast 32ea0e1a9aSPaul Mundt gaming console. The SuperH port has a home page at 33ea0e1a9aSPaul Mundt <http://www.linux-sh.org/>. 34ea0e1a9aSPaul Mundt 35ea0e1a9aSPaul Mundtconfig SUPERH32 363cc000b5SPaul Mundt def_bool ARCH = "sh" 37d39f5450SChris Smith select HAVE_KPROBES 38d39f5450SChris Smith select HAVE_KRETPROBES 39694f94f2SPaul Mundt select HAVE_FUNCTION_TRACER 40fad57febSMatt Fleming select HAVE_FTRACE_MCOUNT_RECORD 41fad57febSMatt Fleming select HAVE_DYNAMIC_FTRACE 42c1340c05SMatt Fleming select HAVE_FUNCTION_TRACE_MCOUNT_TEST 43e4b053d9SPaul Mundt select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE 44327933f5SMatt Fleming select HAVE_FUNCTION_GRAPH_TRACER 45ab6e570bSPaul Mundt select HAVE_ARCH_KGDB 466fbfe8d7SPaul Mundt select HAVE_HW_BREAKPOINT 476c0ee6a4SPaul Mundt select PERF_EVENTS if HAVE_HW_BREAKPOINT 488dafc346SPaul Mundt select ARCH_HIBERNATION_POSSIBLE if MMU 49ea0e1a9aSPaul Mundt 50ea0e1a9aSPaul Mundtconfig SUPERH64 513cc000b5SPaul Mundt def_bool ARCH = "sh64" 52ea0e1a9aSPaul Mundt 53f42b7e3dSPaul Mundtconfig ARCH_DEFCONFIG 54f42b7e3dSPaul Mundt string 55f42b7e3dSPaul Mundt default "arch/sh/configs/shx3_defconfig" if SUPERH32 56f42b7e3dSPaul Mundt default "arch/sh/configs/cayman_defconfig" if SUPERH64 57f42b7e3dSPaul Mundt 58ea0e1a9aSPaul Mundtconfig RWSEM_GENERIC_SPINLOCK 59d7ef4fb3SHarvey Harrison def_bool y 60ea0e1a9aSPaul Mundt 61ea0e1a9aSPaul Mundtconfig RWSEM_XCHGADD_ALGORITHM 62ea0e1a9aSPaul Mundt bool 63ea0e1a9aSPaul Mundt 64ea0e1a9aSPaul Mundtconfig GENERIC_BUG 65ea0e1a9aSPaul Mundt def_bool y 66a82d53ecSPaul Mundt depends on BUG && SUPERH32 67ea0e1a9aSPaul Mundt 683767f3f1SPaul Mundtconfig GENERIC_CSUM 693767f3f1SPaul Mundt def_bool y 703767f3f1SPaul Mundt depends on SUPERH64 713767f3f1SPaul Mundt 72ea0e1a9aSPaul Mundtconfig GENERIC_FIND_NEXT_BIT 73d7ef4fb3SHarvey Harrison def_bool y 74ea0e1a9aSPaul Mundt 75ea0e1a9aSPaul Mundtconfig GENERIC_HWEIGHT 76d7ef4fb3SHarvey Harrison def_bool y 77ea0e1a9aSPaul Mundt 78ea0e1a9aSPaul Mundtconfig GENERIC_HARDIRQS 79d7ef4fb3SHarvey Harrison def_bool y 80ea0e1a9aSPaul Mundt 815093c9a4SPaul Mundtconfig GENERIC_HARDIRQS_NO__DO_IRQ 825093c9a4SPaul Mundt def_bool y 835093c9a4SPaul Mundt 84ea0e1a9aSPaul Mundtconfig GENERIC_IRQ_PROBE 85d7ef4fb3SHarvey Harrison def_bool y 86ea0e1a9aSPaul Mundt 872eb2a436SPaul Mundtconfig IRQ_PER_CPU 882eb2a436SPaul Mundt def_bool y 892eb2a436SPaul Mundt 902967dab1SMagnus Dammconfig GENERIC_GPIO 912967dab1SMagnus Damm def_bool n 922967dab1SMagnus Damm 93ea0e1a9aSPaul Mundtconfig GENERIC_CALIBRATE_DELAY 94cf204fa7SPaul Mundt bool 95ea0e1a9aSPaul Mundt 96ea0e1a9aSPaul Mundtconfig GENERIC_IOMAP 97ea0e1a9aSPaul Mundt bool 98ea0e1a9aSPaul Mundt 99ea0e1a9aSPaul Mundtconfig GENERIC_TIME 10075634311Sjohn stultz def_bool y 101ea0e1a9aSPaul Mundt 102ea0e1a9aSPaul Mundtconfig GENERIC_CLOCKEVENTS 103938edae1SPaul Mundt def_bool y 104ea0e1a9aSPaul Mundt 1058c24594dSPaul Mundtconfig GENERIC_CLOCKEVENTS_BROADCAST 1068c24594dSPaul Mundt bool 1078c24594dSPaul Mundt 1086d134b9eSPaul Mundtconfig GENERIC_CMOS_UPDATE 1096d134b9eSPaul Mundt def_bool y 1106d134b9eSPaul Mundt depends on SH_SH03 || SH_DREAMCAST 1116d134b9eSPaul Mundt 112bdcab87bSPaul Mundtconfig GENERIC_LOCKBREAK 113bdcab87bSPaul Mundt def_bool y 114bdcab87bSPaul Mundt depends on SMP && PREEMPT 115bdcab87bSPaul Mundt 116ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PM 117ea0e1a9aSPaul Mundt bool 118af998a9aSMagnus Damm depends on !SMP 119af998a9aSMagnus Damm 120af998a9aSMagnus Dammconfig ARCH_SUSPEND_POSSIBLE 121af998a9aSMagnus Damm def_bool n 122af998a9aSMagnus Damm 123af998a9aSMagnus Dammconfig ARCH_HIBERNATION_POSSIBLE 124af998a9aSMagnus Damm def_bool n 125ea0e1a9aSPaul Mundt 126ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_APM_EMULATION 127ea0e1a9aSPaul Mundt bool 128af998a9aSMagnus Damm select ARCH_SUSPEND_POSSIBLE 129ea0e1a9aSPaul Mundt 130ffb4a73dSPaul Mundtconfig SYS_SUPPORTS_HUGETLBFS 131ffb4a73dSPaul Mundt bool 132ffb4a73dSPaul Mundt 133ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_SMP 134ea0e1a9aSPaul Mundt bool 135ea0e1a9aSPaul Mundt 136ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_NUMA 137ea0e1a9aSPaul Mundt bool 138ea0e1a9aSPaul Mundt 139ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_PCI 140ea0e1a9aSPaul Mundt bool 141ea0e1a9aSPaul Mundt 142f5ad881bSPaul Mundtconfig SYS_SUPPORTS_CMT 143f5ad881bSPaul Mundt bool 144f5ad881bSPaul Mundt 145d5ed4c2eSMagnus Dammconfig SYS_SUPPORTS_MTU2 146d5ed4c2eSMagnus Damm bool 147d5ed4c2eSMagnus Damm 1489570ef20SMagnus Dammconfig SYS_SUPPORTS_TMU 1499570ef20SMagnus Damm bool 1509570ef20SMagnus Damm 151ea0e1a9aSPaul Mundtconfig STACKTRACE_SUPPORT 152d7ef4fb3SHarvey Harrison def_bool y 153ea0e1a9aSPaul Mundt 154ea0e1a9aSPaul Mundtconfig LOCKDEP_SUPPORT 155d7ef4fb3SHarvey Harrison def_bool y 156ea0e1a9aSPaul Mundt 1575a89f1adSPaul Mundtconfig HAVE_LATENCYTOP_SUPPORT 1585a89f1adSPaul Mundt def_bool y 1595a89f1adSPaul Mundt depends on !SMP 1605a89f1adSPaul Mundt 161ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U32 162d7ef4fb3SHarvey Harrison def_bool n 163ea0e1a9aSPaul Mundt 164ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U64 165d7ef4fb3SHarvey Harrison def_bool n 166ea0e1a9aSPaul Mundt 167ea0e1a9aSPaul Mundtconfig ARCH_NO_VIRT_TO_BUS 168ea0e1a9aSPaul Mundt def_bool y 169ea0e1a9aSPaul Mundt 170e869a90eSPaul Mundtconfig ARCH_HAS_DEFAULT_IDLE 171e869a90eSPaul Mundt def_bool y 172e869a90eSPaul Mundt 1732e046b94SPaul Mundtconfig ARCH_HAS_CPU_IDLE_WAIT 1742e046b94SPaul Mundt def_bool y 1752e046b94SPaul Mundt 176e7cc9a73SMagnus Dammconfig IO_TRAPPED 177e7cc9a73SMagnus Damm bool 178e7cc9a73SMagnus Damm 17901be5d63SPaul Mundtconfig DMA_COHERENT 18001be5d63SPaul Mundt bool 18101be5d63SPaul Mundt 18201be5d63SPaul Mundtconfig DMA_NONCOHERENT 18301be5d63SPaul Mundt def_bool !DMA_COHERENT 18401be5d63SPaul Mundt 185ea0e1a9aSPaul Mundtsource "init/Kconfig" 186ea0e1a9aSPaul Mundt 187dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer" 188dc52ddc0SMatt Helsley 189ea0e1a9aSPaul Mundtmenu "System type" 190ea0e1a9aSPaul Mundt 191ea0e1a9aSPaul Mundt# 192ea0e1a9aSPaul Mundt# Processor families 193ea0e1a9aSPaul Mundt# 194ea0e1a9aSPaul Mundtconfig CPU_SH2 195ea0e1a9aSPaul Mundt bool 196ea0e1a9aSPaul Mundt 197ea0e1a9aSPaul Mundtconfig CPU_SH2A 198ea0e1a9aSPaul Mundt bool 199ea0e1a9aSPaul Mundt select CPU_SH2 200ea0e1a9aSPaul Mundt 201ea0e1a9aSPaul Mundtconfig CPU_SH3 202ea0e1a9aSPaul Mundt bool 203ea0e1a9aSPaul Mundt select CPU_HAS_INTEVT 204ea0e1a9aSPaul Mundt select CPU_HAS_SR_RB 2054fa48e17SPaul Mundt select SYS_SUPPORTS_TMU 206ea0e1a9aSPaul Mundt 207ea0e1a9aSPaul Mundtconfig CPU_SH4 208ea0e1a9aSPaul Mundt bool 209ea0e1a9aSPaul Mundt select CPU_HAS_INTEVT 210ea0e1a9aSPaul Mundt select CPU_HAS_SR_RB 211ea0e1a9aSPaul Mundt select CPU_HAS_FPU if !CPU_SH4AL_DSP 2124fa48e17SPaul Mundt select SYS_SUPPORTS_TMU 213ffb4a73dSPaul Mundt select SYS_SUPPORTS_HUGETLBFS if MMU 214ea0e1a9aSPaul Mundt 215ea0e1a9aSPaul Mundtconfig CPU_SH4A 216ea0e1a9aSPaul Mundt bool 217ea0e1a9aSPaul Mundt select CPU_SH4 218ea0e1a9aSPaul Mundt 219ea0e1a9aSPaul Mundtconfig CPU_SH4AL_DSP 220ea0e1a9aSPaul Mundt bool 221ea0e1a9aSPaul Mundt select CPU_SH4A 222ea0e1a9aSPaul Mundt select CPU_HAS_DSP 223ea0e1a9aSPaul Mundt 224ea0e1a9aSPaul Mundtconfig CPU_SH5 225ea0e1a9aSPaul Mundt bool 226ea0e1a9aSPaul Mundt select CPU_HAS_FPU 227add47067SPaul Mundt select SYS_SUPPORTS_TMU 228ffb4a73dSPaul Mundt select SYS_SUPPORTS_HUGETLBFS if MMU 229ea0e1a9aSPaul Mundt 230ea0e1a9aSPaul Mundtconfig CPU_SHX2 231ea0e1a9aSPaul Mundt bool 232ea0e1a9aSPaul Mundt 233ea0e1a9aSPaul Mundtconfig CPU_SHX3 234ea0e1a9aSPaul Mundt bool 23501be5d63SPaul Mundt select DMA_COHERENT 236ea0e1a9aSPaul Mundt 237dc65a977SPaul Mundtconfig ARCH_SHMOBILE 238dc65a977SPaul Mundt bool 23977594912SMagnus Damm select ARCH_SUSPEND_POSSIBLE 240ac2c596bSMagnus Damm select PM 241ac2c596bSMagnus Damm select PM_RUNTIME 242dc65a977SPaul Mundt 2433cc000b5SPaul Mundtif SUPERH32 2443cc000b5SPaul Mundt 245ea0e1a9aSPaul Mundtchoice 246ea0e1a9aSPaul Mundt prompt "Processor sub-type selection" 247ea0e1a9aSPaul Mundt 248ea0e1a9aSPaul Mundt# 249ea0e1a9aSPaul Mundt# Processor subtypes 250ea0e1a9aSPaul Mundt# 251ea0e1a9aSPaul Mundt 252ea0e1a9aSPaul Mundt# SH-2 Processor Support 253ea0e1a9aSPaul Mundt 254ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7619 255ea0e1a9aSPaul Mundt bool "Support SH7619 processor" 256ea0e1a9aSPaul Mundt select CPU_SH2 257f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 258ea0e1a9aSPaul Mundt 259ea0e1a9aSPaul Mundt# SH-2A Processor Support 260ea0e1a9aSPaul Mundt 2612825999eSPeter Griffinconfig CPU_SUBTYPE_SH7201 2622825999eSPeter Griffin bool "Support SH7201 processor" 2632825999eSPeter Griffin select CPU_SH2A 2642825999eSPeter Griffin select CPU_HAS_FPU 265da107c6eSMagnus Damm select SYS_SUPPORTS_MTU2 2662825999eSPeter Griffin 2676d01f510SPaul Mundtconfig CPU_SUBTYPE_SH7203 2686d01f510SPaul Mundt bool "Support SH7203 processor" 2696d01f510SPaul Mundt select CPU_SH2A 27074d99a5eSPaul Mundt select CPU_HAS_FPU 271f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 272da107c6eSMagnus Damm select SYS_SUPPORTS_MTU2 2736d01f510SPaul Mundt 274ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7206 275ea0e1a9aSPaul Mundt bool "Support SH7206 processor" 276ea0e1a9aSPaul Mundt select CPU_SH2A 277f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 278da107c6eSMagnus Damm select SYS_SUPPORTS_MTU2 279ea0e1a9aSPaul Mundt 280a8f67f4bSPaul Mundtconfig CPU_SUBTYPE_SH7263 281a8f67f4bSPaul Mundt bool "Support SH7263 processor" 282a8f67f4bSPaul Mundt select CPU_SH2A 28374d99a5eSPaul Mundt select CPU_HAS_FPU 284f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 285da107c6eSMagnus Damm select SYS_SUPPORTS_MTU2 286a8f67f4bSPaul Mundt 2872ad69908SPaul Mundtconfig CPU_SUBTYPE_MXG 2882ad69908SPaul Mundt bool "Support MX-G processor" 2892ad69908SPaul Mundt select CPU_SH2A 290da107c6eSMagnus Damm select SYS_SUPPORTS_MTU2 2912ad69908SPaul Mundt help 2922ad69908SPaul Mundt Select MX-G if running on an R8A03022BG part. 2932ad69908SPaul Mundt 294ea0e1a9aSPaul Mundt# SH-3 Processor Support 295ea0e1a9aSPaul Mundt 296ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7705 297ea0e1a9aSPaul Mundt bool "Support SH7705 processor" 298ea0e1a9aSPaul Mundt select CPU_SH3 299ea0e1a9aSPaul Mundt 300ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7706 301ea0e1a9aSPaul Mundt bool "Support SH7706 processor" 302ea0e1a9aSPaul Mundt select CPU_SH3 303ea0e1a9aSPaul Mundt help 304ea0e1a9aSPaul Mundt Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU. 305ea0e1a9aSPaul Mundt 306ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7707 307ea0e1a9aSPaul Mundt bool "Support SH7707 processor" 308ea0e1a9aSPaul Mundt select CPU_SH3 309ea0e1a9aSPaul Mundt help 310ea0e1a9aSPaul Mundt Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU. 311ea0e1a9aSPaul Mundt 312ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7708 313ea0e1a9aSPaul Mundt bool "Support SH7708 processor" 314ea0e1a9aSPaul Mundt select CPU_SH3 315ea0e1a9aSPaul Mundt help 316ea0e1a9aSPaul Mundt Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or 317ea0e1a9aSPaul Mundt if you have a 100 Mhz SH-3 HD6417708R CPU. 318ea0e1a9aSPaul Mundt 319ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7709 320ea0e1a9aSPaul Mundt bool "Support SH7709 processor" 321ea0e1a9aSPaul Mundt select CPU_SH3 322ea0e1a9aSPaul Mundt help 323ea0e1a9aSPaul Mundt Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. 324ea0e1a9aSPaul Mundt 325ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7710 326ea0e1a9aSPaul Mundt bool "Support SH7710 processor" 327ea0e1a9aSPaul Mundt select CPU_SH3 328ea0e1a9aSPaul Mundt select CPU_HAS_DSP 329ea0e1a9aSPaul Mundt help 330ea0e1a9aSPaul Mundt Select SH7710 if you have a SH3-DSP SH7710 CPU. 331ea0e1a9aSPaul Mundt 332ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7712 333ea0e1a9aSPaul Mundt bool "Support SH7712 processor" 334ea0e1a9aSPaul Mundt select CPU_SH3 335ea0e1a9aSPaul Mundt select CPU_HAS_DSP 336ea0e1a9aSPaul Mundt help 337ea0e1a9aSPaul Mundt Select SH7712 if you have a SH3-DSP SH7712 CPU. 338ea0e1a9aSPaul Mundt 339ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7720 340ea0e1a9aSPaul Mundt bool "Support SH7720 processor" 341ea0e1a9aSPaul Mundt select CPU_SH3 342ea0e1a9aSPaul Mundt select CPU_HAS_DSP 3432b23a882SMagnus Damm select SYS_SUPPORTS_CMT 344ea0e1a9aSPaul Mundt help 345ea0e1a9aSPaul Mundt Select SH7720 if you have a SH3-DSP SH7720 CPU. 346ea0e1a9aSPaul Mundt 34731a49c4bSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7721 34831a49c4bSYoshihiro Shimoda bool "Support SH7721 processor" 34931a49c4bSYoshihiro Shimoda select CPU_SH3 35031a49c4bSYoshihiro Shimoda select CPU_HAS_DSP 3512b23a882SMagnus Damm select SYS_SUPPORTS_CMT 35231a49c4bSYoshihiro Shimoda help 35331a49c4bSYoshihiro Shimoda Select SH7721 if you have a SH3-DSP SH7721 CPU. 35431a49c4bSYoshihiro Shimoda 355ea0e1a9aSPaul Mundt# SH-4 Processor Support 356ea0e1a9aSPaul Mundt 357ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750 358ea0e1a9aSPaul Mundt bool "Support SH7750 processor" 359ea0e1a9aSPaul Mundt select CPU_SH4 360ea0e1a9aSPaul Mundt help 361ea0e1a9aSPaul Mundt Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. 362ea0e1a9aSPaul Mundt 363ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7091 364ea0e1a9aSPaul Mundt bool "Support SH7091 processor" 365ea0e1a9aSPaul Mundt select CPU_SH4 366ea0e1a9aSPaul Mundt help 367ea0e1a9aSPaul Mundt Select SH7091 if you have an SH-4 based Sega device (such as 368ea0e1a9aSPaul Mundt the Dreamcast, Naomi, and Naomi 2). 369ea0e1a9aSPaul Mundt 370ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750R 371ea0e1a9aSPaul Mundt bool "Support SH7750R processor" 372ea0e1a9aSPaul Mundt select CPU_SH4 373ea0e1a9aSPaul Mundt 374ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750S 375ea0e1a9aSPaul Mundt bool "Support SH7750S processor" 376ea0e1a9aSPaul Mundt select CPU_SH4 377ea0e1a9aSPaul Mundt 378ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751 379ea0e1a9aSPaul Mundt bool "Support SH7751 processor" 380ea0e1a9aSPaul Mundt select CPU_SH4 381ea0e1a9aSPaul Mundt help 382ea0e1a9aSPaul Mundt Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, 383ea0e1a9aSPaul Mundt or if you have a HD6417751R CPU. 384ea0e1a9aSPaul Mundt 385ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751R 386ea0e1a9aSPaul Mundt bool "Support SH7751R processor" 387ea0e1a9aSPaul Mundt select CPU_SH4 388ea0e1a9aSPaul Mundt 389ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7760 390ea0e1a9aSPaul Mundt bool "Support SH7760 processor" 391ea0e1a9aSPaul Mundt select CPU_SH4 392ea0e1a9aSPaul Mundt 393ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH4_202 394ea0e1a9aSPaul Mundt bool "Support SH4-202 processor" 395ea0e1a9aSPaul Mundt select CPU_SH4 396ea0e1a9aSPaul Mundt 397ea0e1a9aSPaul Mundt# SH-4A Processor Support 398ea0e1a9aSPaul Mundt 399178dd0cdSPaul Mundtconfig CPU_SUBTYPE_SH7723 400178dd0cdSPaul Mundt bool "Support SH7723 processor" 401178dd0cdSPaul Mundt select CPU_SH4A 402178dd0cdSPaul Mundt select CPU_SHX2 403dc65a977SPaul Mundt select ARCH_SHMOBILE 404178dd0cdSPaul Mundt select ARCH_SPARSEMEM_ENABLE 405f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 406178dd0cdSPaul Mundt help 407178dd0cdSPaul Mundt Select SH7723 if you have an SH-MobileR2 CPU. 408178dd0cdSPaul Mundt 4090207a2efSKuninori Morimotoconfig CPU_SUBTYPE_SH7724 4100207a2efSKuninori Morimoto bool "Support SH7724 processor" 4110207a2efSKuninori Morimoto select CPU_SH4A 4120207a2efSKuninori Morimoto select CPU_SHX2 41359fe700dSPaul Mundt select ARCH_SHMOBILE 4140207a2efSKuninori Morimoto select ARCH_SPARSEMEM_ENABLE 4150207a2efSKuninori Morimoto select SYS_SUPPORTS_CMT 4160207a2efSKuninori Morimoto help 4170207a2efSKuninori Morimoto Select SH7724 if you have an SH-MobileR2R CPU. 4180207a2efSKuninori Morimoto 419c01f0f1aSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7757 420c01f0f1aSYoshihiro Shimoda bool "Support SH7757 processor" 421c01f0f1aSYoshihiro Shimoda select CPU_SH4A 422c01f0f1aSYoshihiro Shimoda select CPU_SHX2 423c01f0f1aSYoshihiro Shimoda help 424c01f0f1aSYoshihiro Shimoda Select SH7757 if you have a SH4A SH7757 CPU. 425c01f0f1aSYoshihiro Shimoda 4267d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763 4277d740a06SYoshihiro Shimoda bool "Support SH7763 processor" 4287d740a06SYoshihiro Shimoda select CPU_SH4A 4297d740a06SYoshihiro Shimoda help 4307d740a06SYoshihiro Shimoda Select SH7763 if you have a SH4A SH7763(R5S77631) CPU. 4317d740a06SYoshihiro Shimoda 432ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7770 433ea0e1a9aSPaul Mundt bool "Support SH7770 processor" 434ea0e1a9aSPaul Mundt select CPU_SH4A 435ea0e1a9aSPaul Mundt 436ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7780 437ea0e1a9aSPaul Mundt bool "Support SH7780 processor" 438ea0e1a9aSPaul Mundt select CPU_SH4A 439ea0e1a9aSPaul Mundt 440ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7785 441ea0e1a9aSPaul Mundt bool "Support SH7785 processor" 442ea0e1a9aSPaul Mundt select CPU_SH4A 443ea0e1a9aSPaul Mundt select CPU_SHX2 444ea0e1a9aSPaul Mundt select ARCH_SPARSEMEM_ENABLE 445ea0e1a9aSPaul Mundt select SYS_SUPPORTS_NUMA 446ea0e1a9aSPaul Mundt 44755ba99ebSKuninori Morimotoconfig CPU_SUBTYPE_SH7786 44855ba99ebSKuninori Morimoto bool "Support SH7786 processor" 44955ba99ebSKuninori Morimoto select CPU_SH4A 45037042fbdSPaul Mundt select CPU_SHX3 4518263a67eSPaul Mundt select CPU_HAS_PTEAEX 45255ba99ebSKuninori Morimoto select ARCH_SPARSEMEM_ENABLE 45355ba99ebSKuninori Morimoto select SYS_SUPPORTS_NUMA 4542eb2a436SPaul Mundt select SYS_SUPPORTS_SMP 4552eb2a436SPaul Mundt select GENERIC_CLOCKEVENTS_BROADCAST if SMP 45655ba99ebSKuninori Morimoto 457ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3 458ea0e1a9aSPaul Mundt bool "Support SH-X3 processor" 459ea0e1a9aSPaul Mundt select CPU_SH4A 460ea0e1a9aSPaul Mundt select CPU_SHX3 461ea0e1a9aSPaul Mundt select ARCH_SPARSEMEM_ENABLE 462ea0e1a9aSPaul Mundt select SYS_SUPPORTS_NUMA 463ea0e1a9aSPaul Mundt select SYS_SUPPORTS_SMP 4645840263eSPaul Mundt select GENERIC_CLOCKEVENTS_BROADCAST if SMP 465ea0e1a9aSPaul Mundt 466ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support 467ea0e1a9aSPaul Mundt 468ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343 469ea0e1a9aSPaul Mundt bool "Support SH7343 processor" 470ea0e1a9aSPaul Mundt select CPU_SH4AL_DSP 471dc65a977SPaul Mundt select ARCH_SHMOBILE 472f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 473ea0e1a9aSPaul Mundt 474ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722 475ea0e1a9aSPaul Mundt bool "Support SH7722 processor" 476ea0e1a9aSPaul Mundt select CPU_SH4AL_DSP 477ea0e1a9aSPaul Mundt select CPU_SHX2 478dc65a977SPaul Mundt select ARCH_SHMOBILE 479ea0e1a9aSPaul Mundt select ARCH_SPARSEMEM_ENABLE 480ea0e1a9aSPaul Mundt select SYS_SUPPORTS_NUMA 481f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 482ea0e1a9aSPaul Mundt 4839109a30eSMagnus Dammconfig CPU_SUBTYPE_SH7366 4849109a30eSMagnus Damm bool "Support SH7366 processor" 4859109a30eSMagnus Damm select CPU_SH4AL_DSP 4869109a30eSMagnus Damm select CPU_SHX2 487dc65a977SPaul Mundt select ARCH_SHMOBILE 4889109a30eSMagnus Damm select ARCH_SPARSEMEM_ENABLE 4899109a30eSMagnus Damm select SYS_SUPPORTS_NUMA 490f5ad881bSPaul Mundt select SYS_SUPPORTS_CMT 4919109a30eSMagnus Damm 4923cc000b5SPaul Mundtendchoice 4933cc000b5SPaul Mundt 4943cc000b5SPaul Mundtendif 4953cc000b5SPaul Mundt 4963cc000b5SPaul Mundtif SUPERH64 4973cc000b5SPaul Mundt 4983cc000b5SPaul Mundtchoice 4993cc000b5SPaul Mundt prompt "Processor sub-type selection" 5003cc000b5SPaul Mundt 501ea0e1a9aSPaul Mundt# SH-5 Processor Support 502ea0e1a9aSPaul Mundt 503ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_101 504ea0e1a9aSPaul Mundt bool "Support SH5-101 processor" 505ea0e1a9aSPaul Mundt select CPU_SH5 506ea0e1a9aSPaul Mundt 507ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH5_103 508ea0e1a9aSPaul Mundt bool "Support SH5-103 processor" 5098ef97dd7SPaul Mundt select CPU_SH5 510ea0e1a9aSPaul Mundt 511ea0e1a9aSPaul Mundtendchoice 512ea0e1a9aSPaul Mundt 5133cc000b5SPaul Mundtendif 5143cc000b5SPaul Mundt 515ea0e1a9aSPaul Mundtsource "arch/sh/mm/Kconfig" 516939a24a6SPaul Mundt 517ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu" 518ea0e1a9aSPaul Mundt 519939a24a6SPaul Mundtsource "arch/sh/boards/Kconfig" 520ea0e1a9aSPaul Mundt 521ea0e1a9aSPaul Mundtmenu "Timer and clock configuration" 522ea0e1a9aSPaul Mundt 5239570ef20SMagnus Dammconfig SH_TIMER_TMU 5249570ef20SMagnus Damm bool "TMU timer driver" 525f19900b2SMagnus Damm depends on SYS_SUPPORTS_TMU 5269570ef20SMagnus Damm default y 5279570ef20SMagnus Damm help 5289570ef20SMagnus Damm This enables the build of the TMU timer driver. 5299570ef20SMagnus Damm 530f5ad881bSPaul Mundtconfig SH_TIMER_CMT 531f425752fSMagnus Damm bool "CMT timer driver" 532f425752fSMagnus Damm depends on SYS_SUPPORTS_CMT 533f425752fSMagnus Damm default y 534f425752fSMagnus Damm help 535f425752fSMagnus Damm This enables build of the CMT timer driver. 536f5ad881bSPaul Mundt 537d5ed4c2eSMagnus Dammconfig SH_TIMER_MTU2 538d5ed4c2eSMagnus Damm bool "MTU2 timer driver" 5393280c886SMagnus Damm depends on SYS_SUPPORTS_MTU2 540d5ed4c2eSMagnus Damm default y 541d5ed4c2eSMagnus Damm help 542d5ed4c2eSMagnus Damm This enables build of the MTU2 timer driver. 543d5ed4c2eSMagnus Damm 544ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ 545ea0e1a9aSPaul Mundt int "Peripheral clock frequency (in Hz)" 5468152a74bSPaul Mundt depends on SH_CLK_CPG_LEGACY 547ea0e1a9aSPaul Mundt default "31250000" if CPU_SUBTYPE_SH7619 5488152a74bSPaul Mundt default "33333333" if CPU_SUBTYPE_SH7770 || \ 5498152a74bSPaul Mundt CPU_SUBTYPE_SH7760 || \ 5508152a74bSPaul Mundt CPU_SUBTYPE_SH7705 || \ 5518152a74bSPaul Mundt CPU_SUBTYPE_SH7203 || \ 5528152a74bSPaul Mundt CPU_SUBTYPE_SH7206 || \ 5538152a74bSPaul Mundt CPU_SUBTYPE_SH7263 || \ 5548152a74bSPaul Mundt CPU_SUBTYPE_MXG || \ 5558152a74bSPaul Mundt CPU_SUBTYPE_SH7786 556ea0e1a9aSPaul Mundt default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R 557ea0e1a9aSPaul Mundt default "66000000" if CPU_SUBTYPE_SH4_202 558ea0e1a9aSPaul Mundt default "50000000" 559ea0e1a9aSPaul Mundt help 560ea0e1a9aSPaul Mundt This option is used to specify the peripheral clock frequency. 561ea0e1a9aSPaul Mundt This is necessary for determining the reference clock value on 562ea0e1a9aSPaul Mundt platforms lacking an RTC. 563ea0e1a9aSPaul Mundt 56436aa1e32SPaul Mundtconfig SH_CLK_CPG 56536aa1e32SPaul Mundt def_bool y 56636aa1e32SPaul Mundt 567253b0887SPaul Mundtconfig SH_CLK_CPG_LEGACY 56836aa1e32SPaul Mundt depends on SH_CLK_CPG 56946e9371cSMagnus Damm def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE 570253b0887SPaul Mundt 571ea0e1a9aSPaul Mundtconfig SH_CLK_MD 572ea0e1a9aSPaul Mundt int "CPU Mode Pin Setting" 5736d01f510SPaul Mundt depends on CPU_SH2 574ea0e1a9aSPaul Mundt default 6 if CPU_SUBTYPE_SH7206 575ea0e1a9aSPaul Mundt default 5 if CPU_SUBTYPE_SH7619 576ea0e1a9aSPaul Mundt default 0 577ea0e1a9aSPaul Mundt help 578ea0e1a9aSPaul Mundt MD2 - MD0 pin setting. 579ea0e1a9aSPaul Mundt 580ea0e1a9aSPaul Mundtsource "kernel/time/Kconfig" 581ea0e1a9aSPaul Mundt 582ea0e1a9aSPaul Mundtendmenu 583ea0e1a9aSPaul Mundt 584ea0e1a9aSPaul Mundtmenu "CPU Frequency scaling" 585ea0e1a9aSPaul Mundt 586ea0e1a9aSPaul Mundtsource "drivers/cpufreq/Kconfig" 587ea0e1a9aSPaul Mundt 588ea0e1a9aSPaul Mundtconfig SH_CPU_FREQ 589ea0e1a9aSPaul Mundt tristate "SuperH CPU Frequency driver" 590ea0e1a9aSPaul Mundt depends on CPU_FREQ 591ea0e1a9aSPaul Mundt select CPU_FREQ_TABLE 592ea0e1a9aSPaul Mundt help 5938a655053SPaul Mundt This adds the cpufreq driver for SuperH. Any CPU that supports 5948a655053SPaul Mundt clock rate rounding through the clock framework can use this 5958a655053SPaul Mundt driver. While it will make the kernel slightly larger, this is 5968a655053SPaul Mundt harmless for CPUs that don't support rate rounding. The driver 5978a655053SPaul Mundt will also generate a notice in the boot log before disabling 5988a655053SPaul Mundt itself if the CPU in question is not capable of rate rounding. 599ea0e1a9aSPaul Mundt 600ea0e1a9aSPaul Mundt For details, take a look at <file:Documentation/cpu-freq>. 601ea0e1a9aSPaul Mundt 602ea0e1a9aSPaul Mundt If unsure, say N. 603ea0e1a9aSPaul Mundt 604ea0e1a9aSPaul Mundtendmenu 605ea0e1a9aSPaul Mundt 606ea0e1a9aSPaul Mundtsource "arch/sh/drivers/Kconfig" 607ea0e1a9aSPaul Mundt 608ea0e1a9aSPaul Mundtendmenu 609ea0e1a9aSPaul Mundt 610ea0e1a9aSPaul Mundtmenu "Kernel features" 611ea0e1a9aSPaul Mundt 612ea0e1a9aSPaul Mundtsource kernel/Kconfig.hz 613ea0e1a9aSPaul Mundt 614ea0e1a9aSPaul Mundtconfig KEXEC 615ea0e1a9aSPaul Mundt bool "kexec system call (EXPERIMENTAL)" 616f36b59d1SNobuhiro Iwamatsu depends on SUPERH32 && EXPERIMENTAL && MMU 617ea0e1a9aSPaul Mundt help 618ea0e1a9aSPaul Mundt kexec is a system call that implements the ability to shutdown your 619ea0e1a9aSPaul Mundt current kernel, and to start another kernel. It is like a reboot 620ea0e1a9aSPaul Mundt but it is independent of the system firmware. And like a reboot 621ea0e1a9aSPaul Mundt you can start any kernel with it, not just Linux. 622ea0e1a9aSPaul Mundt 623ea0e1a9aSPaul Mundt The name comes from the similarity to the exec system call. 624ea0e1a9aSPaul Mundt 625ea0e1a9aSPaul Mundt It is an ongoing process to be certain the hardware in a machine 626ea0e1a9aSPaul Mundt is properly shutdown, so do not be surprised if this code does not 627ea0e1a9aSPaul Mundt initially work for you. It may help to enable device hotplugging 628ea0e1a9aSPaul Mundt support. As of this writing the exact hardware interface is 629ea0e1a9aSPaul Mundt strongly in flux, so no good recommendation can be made. 630ea0e1a9aSPaul Mundt 631ea0e1a9aSPaul Mundtconfig CRASH_DUMP 632ea0e1a9aSPaul Mundt bool "kernel crash dumps (EXPERIMENTAL)" 633640f7487SPaul Mundt depends on SUPERH32 && EXPERIMENTAL 634ea0e1a9aSPaul Mundt help 635ea0e1a9aSPaul Mundt Generate crash dump after being started by kexec. 636ea0e1a9aSPaul Mundt This should be normally only set in special crash dump kernels 637ea0e1a9aSPaul Mundt which are loaded in the main kernel with kexec-tools into 638ea0e1a9aSPaul Mundt a specially reserved region and then later executed after 639ea0e1a9aSPaul Mundt a crash by kdump/kexec. The crash dump kernel must be compiled 640ea0e1a9aSPaul Mundt to a memory address not used by the main kernel using 641ea0e1a9aSPaul Mundt MEMORY_START. 642ea0e1a9aSPaul Mundt 643ea0e1a9aSPaul Mundt For more details see Documentation/kdump/kdump.txt 644ea0e1a9aSPaul Mundt 645b7cf6ddcSMagnus Dammconfig KEXEC_JUMP 646b7cf6ddcSMagnus Damm bool "kexec jump (EXPERIMENTAL)" 647b7cf6ddcSMagnus Damm depends on SUPERH32 && KEXEC && HIBERNATION && EXPERIMENTAL 648b7cf6ddcSMagnus Damm help 649b7cf6ddcSMagnus Damm Jump between original kernel and kexeced kernel and invoke 650b7cf6ddcSMagnus Damm code via KEXEC 651b7cf6ddcSMagnus Damm 652c4637d47SPaul Mundtconfig SECCOMP 653c4637d47SPaul Mundt bool "Enable seccomp to safely compute untrusted bytecode" 654c4637d47SPaul Mundt depends on PROC_FS 655c4637d47SPaul Mundt help 656c4637d47SPaul Mundt This kernel feature is useful for number crunching applications 657c4637d47SPaul Mundt that may need to compute untrusted bytecode during their 658c4637d47SPaul Mundt execution. By using pipes or other transports made available to 659c4637d47SPaul Mundt the process as file descriptors supporting the read/write 660c4637d47SPaul Mundt syscalls, it's possible to isolate those applications in 661c4637d47SPaul Mundt their own address space using seccomp. Once seccomp is 662c4637d47SPaul Mundt enabled via prctl, it cannot be disabled and the task is only 663c4637d47SPaul Mundt allowed to execute a few safe syscalls defined by each seccomp 664c4637d47SPaul Mundt mode. 665c4637d47SPaul Mundt 666c4637d47SPaul Mundt If unsure, say N. 667c4637d47SPaul Mundt 668ea0e1a9aSPaul Mundtconfig SMP 669ea0e1a9aSPaul Mundt bool "Symmetric multi-processing support" 670ea0e1a9aSPaul Mundt depends on SYS_SUPPORTS_SMP 671490f5de5SJens Axboe select USE_GENERIC_SMP_HELPERS 672ea0e1a9aSPaul Mundt ---help--- 673ea0e1a9aSPaul Mundt This enables support for systems with more than one CPU. If you have 674ea0e1a9aSPaul Mundt a system with only one CPU, like most personal computers, say N. If 675ea0e1a9aSPaul Mundt you have a system with more than one CPU, say Y. 676ea0e1a9aSPaul Mundt 677ea0e1a9aSPaul Mundt If you say N here, the kernel will run on single and multiprocessor 678ea0e1a9aSPaul Mundt machines, but will use only one CPU of a multiprocessor machine. If 679ea0e1a9aSPaul Mundt you say Y here, the kernel will run on many, but not all, 680ea0e1a9aSPaul Mundt singleprocessor machines. On a singleprocessor machine, the kernel 681ea0e1a9aSPaul Mundt will run faster if you say N here. 682ea0e1a9aSPaul Mundt 683ea0e1a9aSPaul Mundt People using multiprocessor machines who say Y here should also say 684ea0e1a9aSPaul Mundt Y to "Enhanced Real Time Clock Support", below. 685ea0e1a9aSPaul Mundt 68603502faaSAdrian Bunk See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO 68703502faaSAdrian Bunk available at <http://www.tldp.org/docs.html#howto>. 688ea0e1a9aSPaul Mundt 689ea0e1a9aSPaul Mundt If you don't know what to do here, say N. 690ea0e1a9aSPaul Mundt 691ea0e1a9aSPaul Mundtconfig NR_CPUS 692ea0e1a9aSPaul Mundt int "Maximum number of CPUs (2-32)" 693ea0e1a9aSPaul Mundt range 2 32 694ea0e1a9aSPaul Mundt depends on SMP 6952eb2a436SPaul Mundt default "4" if CPU_SUBTYPE_SHX3 696ea0e1a9aSPaul Mundt default "2" 697ea0e1a9aSPaul Mundt help 698ea0e1a9aSPaul Mundt This allows you to specify the maximum number of CPUs which this 699ea0e1a9aSPaul Mundt kernel will support. The maximum supported value is 32 and the 700ea0e1a9aSPaul Mundt minimum value which makes sense is 2. 701ea0e1a9aSPaul Mundt 702ea0e1a9aSPaul Mundt This is purely to save memory - each supported CPU adds 703ea0e1a9aSPaul Mundt approximately eight kilobytes to the kernel image. 704ea0e1a9aSPaul Mundt 705ea0e1a9aSPaul Mundtsource "kernel/Kconfig.preempt" 706ea0e1a9aSPaul Mundt 707ea0e1a9aSPaul Mundtconfig GUSA 708ea0e1a9aSPaul Mundt def_bool y 7091efe4ce3SStuart Menefy depends on !SMP && SUPERH32 710ea0e1a9aSPaul Mundt help 711ea0e1a9aSPaul Mundt This enables support for gUSA (general UserSpace Atomicity). 712ea0e1a9aSPaul Mundt This is the default implementation for both UP and non-ll/sc 713ea0e1a9aSPaul Mundt CPUs, and is used by the libc, amongst others. 714ea0e1a9aSPaul Mundt 715ea0e1a9aSPaul Mundt For additional information, design information can be found 716ea0e1a9aSPaul Mundt in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>. 717ea0e1a9aSPaul Mundt 718ea0e1a9aSPaul Mundt This should only be disabled for special cases where alternate 719ea0e1a9aSPaul Mundt atomicity implementations exist. 720ea0e1a9aSPaul Mundt 7211efe4ce3SStuart Menefyconfig GUSA_RB 7221efe4ce3SStuart Menefy bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)" 7231efe4ce3SStuart Menefy depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A) 7241efe4ce3SStuart Menefy help 7251efe4ce3SStuart Menefy Enabling this option will allow the kernel to implement some 726692105b8SMatt LaPlante atomic operations using a software implementation of load-locked/ 7271efe4ce3SStuart Menefy store-conditional (LLSC). On machines which do not have hardware 7281efe4ce3SStuart Menefy LLSC, this should be more efficient than the other alternative of 729692105b8SMatt LaPlante disabling interrupts around the atomic sequence. 7301efe4ce3SStuart Menefy 73154ff328bSPaul Mundtconfig SPARSE_IRQ 732ee2760eaSPaul Mundt def_bool y 733ee2760eaSPaul Mundt depends on SUPERH32 && !SH_DREAMCAST && !SH_HIGHLANDER && \ 734ee2760eaSPaul Mundt !SH_RTS7751R2D && !HD64461 && !SH_7724_SOLUTION_ENGINE 73554ff328bSPaul Mundt help 73654ff328bSPaul Mundt This enables support for sparse irqs. This is useful in general 73754ff328bSPaul Mundt as most CPUs have a fairly sparse array of IRQ vectors, which 73854ff328bSPaul Mundt the irq_desc then maps directly on to. Systems with a high 73954ff328bSPaul Mundt number of off-chip IRQs will want to treat this as 74054ff328bSPaul Mundt experimental until they have been independently verified. 74154ff328bSPaul Mundt 74254ff328bSPaul Mundt If you don't know what to do here, say N. 74354ff328bSPaul Mundt 744ea0e1a9aSPaul Mundtendmenu 745ea0e1a9aSPaul Mundt 746ea0e1a9aSPaul Mundtmenu "Boot options" 747ea0e1a9aSPaul Mundt 748ea0e1a9aSPaul Mundtconfig ZERO_PAGE_OFFSET 749b412a49aSPaul Mundt hex 750b412a49aSPaul Mundt default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \ 751b412a49aSPaul Mundt SH_7751_SOLUTION_ENGINE 752b412a49aSPaul Mundt default "0x00004000" if PAGE_SIZE_16KB || SH_SH03 753ea0e1a9aSPaul Mundt default "0x00002000" if PAGE_SIZE_8KB 754ea0e1a9aSPaul Mundt default "0x00001000" 755ea0e1a9aSPaul Mundt help 756ea0e1a9aSPaul Mundt This sets the default offset of zero page. 757ea0e1a9aSPaul Mundt 758ea0e1a9aSPaul Mundtconfig BOOT_LINK_OFFSET 759b412a49aSPaul Mundt hex 760b412a49aSPaul Mundt default "0x00210000" if SH_SHMIN 761a2e76c80SPaul Mundt default "0x00400000" if SH_CAYMAN 762b412a49aSPaul Mundt default "0x00810000" if SH_7780_SOLUTION_ENGINE 763b412a49aSPaul Mundt default "0x009e0000" if SH_TITAN 764b412a49aSPaul Mundt default "0x01800000" if SH_SDK7780 765b412a49aSPaul Mundt default "0x02000000" if SH_EDOSK7760 766ea0e1a9aSPaul Mundt default "0x00800000" 767ea0e1a9aSPaul Mundt help 768ea0e1a9aSPaul Mundt This option allows you to set the link address offset of the zImage. 769ea0e1a9aSPaul Mundt This can be useful if you are on a board which has a small amount of 770ea0e1a9aSPaul Mundt memory. 771ea0e1a9aSPaul Mundt 772b412a49aSPaul Mundtconfig ENTRY_OFFSET 773b412a49aSPaul Mundt hex 774b412a49aSPaul Mundt default "0x00001000" if PAGE_SIZE_4KB 775b412a49aSPaul Mundt default "0x00002000" if PAGE_SIZE_8KB 776b412a49aSPaul Mundt default "0x00004000" if PAGE_SIZE_16KB 777b412a49aSPaul Mundt default "0x00010000" if PAGE_SIZE_64KB 778b412a49aSPaul Mundt default "0x00000000" 779b412a49aSPaul Mundt 780d724a9c9SPawel Mollchoice 781d724a9c9SPawel Moll prompt "Kernel command line" 782d724a9c9SPawel Moll optional 783d724a9c9SPawel Moll default CMDLINE_OVERWRITE 784d724a9c9SPawel Moll help 785d724a9c9SPawel Moll Setting this option allows the kernel command line arguments 786d724a9c9SPawel Moll to be set. 787d724a9c9SPawel Moll 788d724a9c9SPawel Mollconfig CMDLINE_OVERWRITE 789d724a9c9SPawel Moll bool "Overwrite bootloader kernel arguments" 790d724a9c9SPawel Moll help 791d724a9c9SPawel Moll Given string will overwrite any arguments passed in by 792d724a9c9SPawel Moll a bootloader. 793d724a9c9SPawel Moll 794d724a9c9SPawel Mollconfig CMDLINE_EXTEND 795d724a9c9SPawel Moll bool "Extend bootloader kernel arguments" 796d724a9c9SPawel Moll help 797d724a9c9SPawel Moll Given string will be concatenated with arguments passed in 798d724a9c9SPawel Moll by a bootloader. 799d724a9c9SPawel Moll 800d724a9c9SPawel Mollendchoice 801ea0e1a9aSPaul Mundt 802ea0e1a9aSPaul Mundtconfig CMDLINE 803d724a9c9SPawel Moll string "Kernel command line arguments string" 804d724a9c9SPawel Moll depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND 805ea0e1a9aSPaul Mundt default "console=ttySC1,115200" 806ea0e1a9aSPaul Mundt 807ea0e1a9aSPaul Mundtendmenu 808ea0e1a9aSPaul Mundt 809ea0e1a9aSPaul Mundtmenu "Bus options" 810ea0e1a9aSPaul Mundt 811ea0e1a9aSPaul Mundtconfig SUPERHYWAY 812ea0e1a9aSPaul Mundt tristate "SuperHyway Bus support" 813ea0e1a9aSPaul Mundt depends on CPU_SUBTYPE_SH4_202 814ea0e1a9aSPaul Mundt 815ea0e1a9aSPaul Mundtconfig MAPLE 816ea0e1a9aSPaul Mundt bool "Maple Bus support" 817ea0e1a9aSPaul Mundt depends on SH_DREAMCAST 818ea0e1a9aSPaul Mundt help 819ea0e1a9aSPaul Mundt The Maple Bus is SEGA's serial communication bus for peripherals 820ea0e1a9aSPaul Mundt on the Dreamcast. Without this bus support you won't be able to 821ea0e1a9aSPaul Mundt get your Dreamcast keyboard etc to work, so most users 822ea0e1a9aSPaul Mundt probably want to say 'Y' here, unless you are only using the 823ea0e1a9aSPaul Mundt Dreamcast with a serial line terminal or a remote network 824ea0e1a9aSPaul Mundt connection. 825ea0e1a9aSPaul Mundt 8267693465dSPaul Mundtconfig PCI 8277693465dSPaul Mundt bool "PCI support" 8287693465dSPaul Mundt depends on SYS_SUPPORTS_PCI 8297693465dSPaul Mundt help 8307693465dSPaul Mundt Find out whether you have a PCI motherboard. PCI is the name of a 8317693465dSPaul Mundt bus system, i.e. the way the CPU talks to the other stuff inside 8327693465dSPaul Mundt your box. If you have PCI, say Y, otherwise N. 833ea0e1a9aSPaul Mundt 834e16038abSPaul Mundtsource "drivers/pci/pcie/Kconfig" 835e16038abSPaul Mundt 836ea0e1a9aSPaul Mundtsource "drivers/pci/Kconfig" 837ea0e1a9aSPaul Mundt 838ea0e1a9aSPaul Mundtsource "drivers/pcmcia/Kconfig" 839ea0e1a9aSPaul Mundt 840ea0e1a9aSPaul Mundtsource "drivers/pci/hotplug/Kconfig" 841ea0e1a9aSPaul Mundt 842ea0e1a9aSPaul Mundtendmenu 843ea0e1a9aSPaul Mundt 844ea0e1a9aSPaul Mundtmenu "Executable file formats" 845ea0e1a9aSPaul Mundt 846ea0e1a9aSPaul Mundtsource "fs/Kconfig.binfmt" 847ea0e1a9aSPaul Mundt 848ea0e1a9aSPaul Mundtendmenu 849ea0e1a9aSPaul Mundt 850ea0e1a9aSPaul Mundtmenu "Power management options (EXPERIMENTAL)" 851af998a9aSMagnus Dammdepends on EXPERIMENTAL 852f4cb5700SJohannes Berg 853c6f17cb2SMagnus Dammsource "kernel/power/Kconfig" 854c6f17cb2SMagnus Damm 855c6f17cb2SMagnus Dammsource "drivers/cpuidle/Kconfig" 856ea0e1a9aSPaul Mundt 857ea0e1a9aSPaul Mundtendmenu 858ea0e1a9aSPaul Mundt 859ea0e1a9aSPaul Mundtsource "net/Kconfig" 860ea0e1a9aSPaul Mundt 861ea0e1a9aSPaul Mundtsource "drivers/Kconfig" 862ea0e1a9aSPaul Mundt 863ea0e1a9aSPaul Mundtsource "fs/Kconfig" 864ea0e1a9aSPaul Mundt 865ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.debug" 866ea0e1a9aSPaul Mundt 867ea0e1a9aSPaul Mundtsource "security/Kconfig" 868ea0e1a9aSPaul Mundt 869ea0e1a9aSPaul Mundtsource "crypto/Kconfig" 870ea0e1a9aSPaul Mundt 871ea0e1a9aSPaul Mundtsource "lib/Kconfig" 872