1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2ea0e1a9aSPaul Mundtconfig SUPERH 3ea0e1a9aSPaul Mundt def_bool y 4582dc536SChristoph Hellwig select ARCH_32BIT_OFF_T 591024b3cSAnshuman Khandual select ARCH_ENABLE_MEMORY_HOTPLUG if SPARSEMEM && MMU 691024b3cSAnshuman Khandual select ARCH_ENABLE_MEMORY_HOTREMOVE if SPARSEMEM && MMU 7df013ffbSHuang Ying select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) 8582dc536SChristoph Hellwig select ARCH_HAS_BINFMT_FLAT if !MMU 901eb454eSThomas Gleixner select ARCH_HAS_CPU_FINALIZE_INIT 102792d84eSKees Cook select ARCH_HAS_CURRENT_STACK_POINTER 11582dc536SChristoph Hellwig select ARCH_HAS_GIGANTIC_PAGE 12957e3facSRiku Voipio select ARCH_HAS_GCOV_PROFILE_ALL 13582dc536SChristoph Hellwig select ARCH_HAS_PTE_SPECIAL 14582dc536SChristoph Hellwig select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST 15582dc536SChristoph Hellwig select ARCH_HIBERNATION_POSSIBLE if MMU 16582dc536SChristoph Hellwig select ARCH_MIGHT_HAVE_PC_PARPORT 17c1d7e01dSWill Deacon select ARCH_WANT_IPC_PARSE_VERSION 18582dc536SChristoph Hellwig select CPU_NO_EFFICIENT_FFS 19582dc536SChristoph Hellwig select DMA_DECLARE_COHERENT 20f01789c6SPaul Mundt select GENERIC_ATOMIC64 218cf200d8SAnna-Maria Gleixner select GENERIC_CMOS_UPDATE if SH_SH03 || SH_DREAMCAST 22582dc536SChristoph Hellwig select GENERIC_IDLE_POLL_SETUP 23582dc536SChristoph Hellwig select GENERIC_IRQ_SHOW 248bc6666fSGeert Uytterhoeven select GENERIC_LIB_ASHLDI3 258bc6666fSGeert Uytterhoeven select GENERIC_LIB_ASHRDI3 268bc6666fSGeert Uytterhoeven select GENERIC_LIB_LSHRDI3 27eb01d42aSChristoph Hellwig select GENERIC_PCI_IOMAP if PCI 28b46ed370SRich Felker select GENERIC_SCHED_CLOCK 29582dc536SChristoph Hellwig select GENERIC_SMP_IDLE_THREAD 306ca297d4SPeter Zijlstra select GUP_GET_PXX_LOW_HIGH if X2TLB 31fcbfe812SNiklas Schnelle select HAS_IOPORT if HAS_IOPORT_MAP 32582dc536SChristoph Hellwig select GENERIC_IOREMAP if MMU 33582dc536SChristoph Hellwig select HAVE_ARCH_AUDITSYSCALL 340bb605c2SMichael Karcher select HAVE_ARCH_KGDB 35582dc536SChristoph Hellwig select HAVE_ARCH_SECCOMP_FILTER 36582dc536SChristoph Hellwig select HAVE_ARCH_TRACEHOOK 37582dc536SChristoph Hellwig select HAVE_DEBUG_BUGVERBOSE 38582dc536SChristoph Hellwig select HAVE_DEBUG_KMEMLEAK 39582dc536SChristoph Hellwig select HAVE_DYNAMIC_FTRACE 40582dc536SChristoph Hellwig select HAVE_FAST_GUP if MMU 41582dc536SChristoph Hellwig select HAVE_FUNCTION_GRAPH_TRACER 42582dc536SChristoph Hellwig select HAVE_FUNCTION_TRACER 43582dc536SChristoph Hellwig select HAVE_FTRACE_MCOUNT_RECORD 44582dc536SChristoph Hellwig select HAVE_HW_BREAKPOINT 45582dc536SChristoph Hellwig select HAVE_IOREMAP_PROT if MMU && !X2TLB 46582dc536SChristoph Hellwig select HAVE_KERNEL_BZIP2 47582dc536SChristoph Hellwig select HAVE_KERNEL_GZIP 48582dc536SChristoph Hellwig select HAVE_KERNEL_LZMA 49582dc536SChristoph Hellwig select HAVE_KERNEL_LZO 50d39f5450SChris Smith select HAVE_KERNEL_XZ 51d39f5450SChris Smith select HAVE_KPROBES 520102752eSFrederic Weisbecker select HAVE_KRETPROBES 53582dc536SChristoph Hellwig select HAVE_MIXED_BREAKPOINTS_REGS 54582dc536SChristoph Hellwig select HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER 55582dc536SChristoph Hellwig select HAVE_NMI 56582dc536SChristoph Hellwig select HAVE_PATA_PLATFORM 57582dc536SChristoph Hellwig select HAVE_PERF_EVENTS 58582dc536SChristoph Hellwig select HAVE_REGS_AND_STACK_ACCESS_API 59cd1a41ceSThomas Gleixner select HAVE_UID16 60d148eac0SMasahiro Yamada select HAVE_SOFTIRQ_ON_OWN_STACK if IRQSTACKS 61582dc536SChristoph Hellwig select HAVE_STACKPROTECTOR 62582dc536SChristoph Hellwig select HAVE_SYSCALL_TRACEPOINTS 63a050ba1eSLinus Torvalds select IRQ_FORCED_THREADING 64582dc536SChristoph Hellwig select LOCK_MM_AND_FIND_VMA 65582dc536SChristoph Hellwig select MODULES_USE_ELF_RELA 66cd57d07bSChristoph Hellwig select NEED_SG_DMA_LENGTH 67582dc536SChristoph Hellwig select NO_DMA if !MMU && !DMA_COHERENT 68582dc536SChristoph Hellwig select NO_GENERIC_PCI_IOPORT_MAP if PCI 69582dc536SChristoph Hellwig select OLD_SIGACTION 70582dc536SChristoph Hellwig select OLD_SIGSUSPEND 71582dc536SChristoph Hellwig select PCI_DOMAINS if PCI 72582dc536SChristoph Hellwig select PERF_EVENTS 73582dc536SChristoph Hellwig select PERF_USE_VMALLOC 74582dc536SChristoph Hellwig select RTC_LIB 754aae683fSMasahiro Yamada select SPARSE_IRQ 7637744feeSArnd Bergmann select TRACE_IRQFLAGS_SUPPORT 7737744feeSArnd Bergmann help 7837744feeSArnd Bergmann The SuperH is a RISC processor targeted for use in embedded systems 7937744feeSArnd Bergmann and consumer electronics; it was also used in the Sega Dreamcast 8037744feeSArnd Bergmann gaming console. The SuperH port has a home page at 81ea0e1a9aSPaul Mundt <http://www.linux-sh.org/>. 82ea0e1a9aSPaul Mundt 83ea0e1a9aSPaul Mundtconfig GENERIC_BUG 8437744feeSArnd Bergmann def_bool y 853767f3f1SPaul Mundt depends on BUG 86ea0e1a9aSPaul Mundt 87d7ef4fb3SHarvey Harrisonconfig GENERIC_HWEIGHT 88ea0e1a9aSPaul Mundt def_bool y 89ea0e1a9aSPaul Mundt 90cf204fa7SPaul Mundtconfig GENERIC_CALIBRATE_DELAY 91ea0e1a9aSPaul Mundt bool 92bdcab87bSPaul Mundt 93bdcab87bSPaul Mundtconfig GENERIC_LOCKBREAK 947be60ccbSThomas Gleixner def_bool y 95bdcab87bSPaul Mundt depends on SMP && PREEMPTION 96af998a9aSMagnus Damm 97af998a9aSMagnus Dammconfig ARCH_SUSPEND_POSSIBLE 98af998a9aSMagnus Damm def_bool n 99af998a9aSMagnus Damm 100af998a9aSMagnus Dammconfig ARCH_HIBERNATION_POSSIBLE 101ea0e1a9aSPaul Mundt def_bool n 102ea0e1a9aSPaul Mundt 103ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_APM_EMULATION 104af998a9aSMagnus Damm bool 105ea0e1a9aSPaul Mundt select ARCH_SUSPEND_POSSIBLE 106ea0e1a9aSPaul Mundt 107ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_SMP 108ea0e1a9aSPaul Mundt bool 109ea0e1a9aSPaul Mundt 110ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_NUMA 111ea0e1a9aSPaul Mundt bool 112ea0e1a9aSPaul Mundt 113d7ef4fb3SHarvey Harrisonconfig STACKTRACE_SUPPORT 114ea0e1a9aSPaul Mundt def_bool y 115ea0e1a9aSPaul Mundt 116d7ef4fb3SHarvey Harrisonconfig LOCKDEP_SUPPORT 117ea0e1a9aSPaul Mundt def_bool y 118ea0e1a9aSPaul Mundt 119d7ef4fb3SHarvey Harrisonconfig ARCH_HAS_ILOG2_U32 120ea0e1a9aSPaul Mundt def_bool n 121ea0e1a9aSPaul Mundt 122d7ef4fb3SHarvey Harrisonconfig ARCH_HAS_ILOG2_U64 123ea0e1a9aSPaul Mundt def_bool n 124ce816fa8SUwe Kleine-König 12537b7a978SPaul Mundtconfig NO_IOPORT_MAP 1268a8e5462SGeert Uytterhoeven def_bool !PCI 1278a8e5462SGeert Uytterhoeven depends on !SH_SH4202_MICRODEV && !SH_SHMIN && !SH_HP6XX && \ 12886e4dd5aSPaul Mundt !SH_SOLUTION_ENGINE 129e7cc9a73SMagnus Damm 130e7cc9a73SMagnus Dammconfig IO_TRAPPED 131e7cc9a73SMagnus Damm bool 132b7e68d68SPaul Mundt 133b7e68d68SPaul Mundtconfig SWAP_IO_SPACE 134b7e68d68SPaul Mundt bool 13501be5d63SPaul Mundt 13601be5d63SPaul Mundtconfig DMA_COHERENT 13701be5d63SPaul Mundt bool 13801be5d63SPaul Mundt 139cd57d07bSChristoph Hellwigconfig DMA_NONCOHERENT 1406dfdf673SChristoph Hellwig def_bool !NO_DMA && !DMA_COHERENT 1416fa1d28eSChristoph Hellwig select ARCH_HAS_DMA_PREP_COHERENT 1426dfdf673SChristoph Hellwig select ARCH_HAS_SYNC_DMA_FOR_DEVICE 14301be5d63SPaul Mundt select DMA_DIRECT_REMAP 14469543d63SKirill A. Shutemov 14569543d63SKirill A. Shutemovconfig PGTABLE_LEVELS 14669543d63SKirill A. Shutemov default 3 if X2TLB 14769543d63SKirill A. Shutemov default 2 148ea0e1a9aSPaul Mundt 149ea0e1a9aSPaul Mundtmenu "System type" 150ea0e1a9aSPaul Mundt 151ea0e1a9aSPaul Mundt# 152ea0e1a9aSPaul Mundt# Processor families 153ea0e1a9aSPaul Mundt# 154ea0e1a9aSPaul Mundtconfig CPU_SH2 155049d2804SGeert Uytterhoeven bool 156ea0e1a9aSPaul Mundt select SH_INTC 157ea0e1a9aSPaul Mundt 158ea0e1a9aSPaul Mundtconfig CPU_SH2A 159ea0e1a9aSPaul Mundt bool 160e2fcf74fSPaul Mundt select CPU_SH2 161ea0e1a9aSPaul Mundt select UNCACHED_MAPPING 1625a846abaSRich Felker 1635a846abaSRich Felkerconfig CPU_J2 1645a846abaSRich Felker bool 1655a846abaSRich Felker select CPU_SH2 1665a846abaSRich Felker select OF 1675a846abaSRich Felker select OF_EARLY_FLATTREE 168ea0e1a9aSPaul Mundt 169ea0e1a9aSPaul Mundtconfig CPU_SH3 170ea0e1a9aSPaul Mundt bool 171ea0e1a9aSPaul Mundt select CPU_HAS_INTEVT 172049d2804SGeert Uytterhoeven select CPU_HAS_SR_RB 173fbfa8934SMagnus Damm select SH_INTC 174ea0e1a9aSPaul Mundt select SYS_SUPPORTS_SH_TMU 175ea0e1a9aSPaul Mundt 176ea0e1a9aSPaul Mundtconfig CPU_SH4 177855f9a8eSAnshuman Khandual bool 178ea0e1a9aSPaul Mundt select ARCH_SUPPORTS_HUGETLBFS if MMU 179ea0e1a9aSPaul Mundt select CPU_HAS_INTEVT 180ea0e1a9aSPaul Mundt select CPU_HAS_SR_RB 181049d2804SGeert Uytterhoeven select CPU_HAS_FPU if !CPU_SH4AL_DSP 182fbfa8934SMagnus Damm select SH_INTC 183ea0e1a9aSPaul Mundt select SYS_SUPPORTS_SH_TMU 184ea0e1a9aSPaul Mundt 185ea0e1a9aSPaul Mundtconfig CPU_SH4A 186ea0e1a9aSPaul Mundt bool 187ea0e1a9aSPaul Mundt select CPU_SH4 188ea0e1a9aSPaul Mundt 189ea0e1a9aSPaul Mundtconfig CPU_SH4AL_DSP 190ea0e1a9aSPaul Mundt bool 191ea0e1a9aSPaul Mundt select CPU_SH4A 192ea0e1a9aSPaul Mundt select CPU_HAS_DSP 193ea0e1a9aSPaul Mundt 194ea0e1a9aSPaul Mundtconfig CPU_SHX2 195ea0e1a9aSPaul Mundt bool 196ea0e1a9aSPaul Mundt 197ea0e1a9aSPaul Mundtconfig CPU_SHX3 19801be5d63SPaul Mundt bool 1994b478ee2SPaul Mundt select DMA_COHERENT 2004b478ee2SPaul Mundt select SYS_SUPPORTS_SMP 201ea0e1a9aSPaul Mundt select SYS_SUPPORTS_NUMA 202dc65a977SPaul Mundt 203dc65a977SPaul Mundtconfig ARCH_SHMOBILE 20477594912SMagnus Damm bool 205464ed18eSRafael J. Wysocki select ARCH_SUSPEND_POSSIBLE 206dc65a977SPaul Mundt select PM 20786c8c047SMatt Fleming 20886c8c047SMatt Flemingconfig CPU_HAS_PMU 20986c8c047SMatt Fleming depends on CPU_SH4 || CPU_SH4A 21086c8c047SMatt Fleming default y 21186c8c047SMatt Fleming bool 212ea0e1a9aSPaul Mundt 213ea0e1a9aSPaul Mundtchoice 214ea0e1a9aSPaul Mundt prompt "Processor sub-type selection" 215ea0e1a9aSPaul Mundt 216ea0e1a9aSPaul Mundt# 217ea0e1a9aSPaul Mundt# Processor subtypes 218ea0e1a9aSPaul Mundt# 219ea0e1a9aSPaul Mundt 220ea0e1a9aSPaul Mundt# SH-2 Processor Support 221ea0e1a9aSPaul Mundt 222ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7619 223ea0e1a9aSPaul Mundt bool "Support SH7619 processor" 224fbfa8934SMagnus Damm select CPU_SH2 225ea0e1a9aSPaul Mundt select SYS_SUPPORTS_SH_CMT 2265a846abaSRich Felker 2275a846abaSRich Felkerconfig CPU_SUBTYPE_J2 2285a846abaSRich Felker bool "Support J2 processor" 229b4214e41SRich Felker select CPU_J2 230b4214e41SRich Felker select SYS_SUPPORTS_SMP 2315a846abaSRich Felker select GENERIC_CLOCKEVENTS_BROADCAST if SMP 232ea0e1a9aSPaul Mundt 233ea0e1a9aSPaul Mundt# SH-2A Processor Support 2342825999eSPeter Griffin 2352825999eSPeter Griffinconfig CPU_SUBTYPE_SH7201 2362825999eSPeter Griffin bool "Support SH7201 processor" 2372825999eSPeter Griffin select CPU_SH2A 238fbfa8934SMagnus Damm select CPU_HAS_FPU 2392825999eSPeter Griffin select SYS_SUPPORTS_SH_MTU2 2406d01f510SPaul Mundt 2416d01f510SPaul Mundtconfig CPU_SUBTYPE_SH7203 2426d01f510SPaul Mundt bool "Support SH7203 processor" 24374d99a5eSPaul Mundt select CPU_SH2A 244fbfa8934SMagnus Damm select CPU_HAS_FPU 245fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 246b768ecbcSLaurent Pinchart select SYS_SUPPORTS_SH_MTU2 2476d01f510SPaul Mundt select PINCTRL 248ea0e1a9aSPaul Mundt 249ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7206 250ea0e1a9aSPaul Mundt bool "Support SH7206 processor" 251fbfa8934SMagnus Damm select CPU_SH2A 252fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 253ea0e1a9aSPaul Mundt select SYS_SUPPORTS_SH_MTU2 254a8f67f4bSPaul Mundt 255a8f67f4bSPaul Mundtconfig CPU_SUBTYPE_SH7263 256a8f67f4bSPaul Mundt bool "Support SH7263 processor" 25774d99a5eSPaul Mundt select CPU_SH2A 258fbfa8934SMagnus Damm select CPU_HAS_FPU 259fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 260a8f67f4bSPaul Mundt select SYS_SUPPORTS_SH_MTU2 26151ce3068SPhil Edworthy 26251ce3068SPhil Edworthyconfig CPU_SUBTYPE_SH7264 26351ce3068SPhil Edworthy bool "Support SH7264 processor" 26451ce3068SPhil Edworthy select CPU_SH2A 265fbfa8934SMagnus Damm select CPU_HAS_FPU 266fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 2675946e7bbSLaurent Pinchart select SYS_SUPPORTS_SH_MTU2 26851ce3068SPhil Edworthy select PINCTRL 2690b25b7c8SPhil Edworthy 2700b25b7c8SPhil Edworthyconfig CPU_SUBTYPE_SH7269 2710b25b7c8SPhil Edworthy bool "Support SH7269 processor" 2720b25b7c8SPhil Edworthy select CPU_SH2A 273fbfa8934SMagnus Damm select CPU_HAS_FPU 274fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 275fb872fccSLaurent Pinchart select SYS_SUPPORTS_SH_MTU2 2760b25b7c8SPhil Edworthy select PINCTRL 2772ad69908SPaul Mundt 2782ad69908SPaul Mundtconfig CPU_SUBTYPE_MXG 2792ad69908SPaul Mundt bool "Support MX-G processor" 280fbfa8934SMagnus Damm select CPU_SH2A 2812ad69908SPaul Mundt select SYS_SUPPORTS_SH_MTU2 2822ad69908SPaul Mundt help 2832ad69908SPaul Mundt Select MX-G if running on an R8A03022BG part. 284ea0e1a9aSPaul Mundt 285ea0e1a9aSPaul Mundt# SH-3 Processor Support 286ea0e1a9aSPaul Mundt 287ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7705 288ea0e1a9aSPaul Mundt bool "Support SH7705 processor" 289ea0e1a9aSPaul Mundt select CPU_SH3 290ea0e1a9aSPaul Mundt 291ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7706 292ea0e1a9aSPaul Mundt bool "Support SH7706 processor" 293ea0e1a9aSPaul Mundt select CPU_SH3 294ea0e1a9aSPaul Mundt help 295ea0e1a9aSPaul Mundt Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU. 296ea0e1a9aSPaul Mundt 297ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7707 298ea0e1a9aSPaul Mundt bool "Support SH7707 processor" 299ea0e1a9aSPaul Mundt select CPU_SH3 300ea0e1a9aSPaul Mundt help 301ea0e1a9aSPaul Mundt Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU. 302ea0e1a9aSPaul Mundt 303ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7708 304ea0e1a9aSPaul Mundt bool "Support SH7708 processor" 305ea0e1a9aSPaul Mundt select CPU_SH3 306ea0e1a9aSPaul Mundt help 307ea0e1a9aSPaul Mundt Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or 308ea0e1a9aSPaul Mundt if you have a 100 Mhz SH-3 HD6417708R CPU. 309ea0e1a9aSPaul Mundt 310ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7709 311ea0e1a9aSPaul Mundt bool "Support SH7709 processor" 312ea0e1a9aSPaul Mundt select CPU_SH3 313ea0e1a9aSPaul Mundt help 314ea0e1a9aSPaul Mundt Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. 315ea0e1a9aSPaul Mundt 316ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7710 317ea0e1a9aSPaul Mundt bool "Support SH7710 processor" 318ea0e1a9aSPaul Mundt select CPU_SH3 319ea0e1a9aSPaul Mundt select CPU_HAS_DSP 320ea0e1a9aSPaul Mundt help 321ea0e1a9aSPaul Mundt Select SH7710 if you have a SH3-DSP SH7710 CPU. 322ea0e1a9aSPaul Mundt 323ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7712 324ea0e1a9aSPaul Mundt bool "Support SH7712 processor" 325ea0e1a9aSPaul Mundt select CPU_SH3 326ea0e1a9aSPaul Mundt select CPU_HAS_DSP 327ea0e1a9aSPaul Mundt help 328ea0e1a9aSPaul Mundt Select SH7712 if you have a SH3-DSP SH7712 CPU. 329ea0e1a9aSPaul Mundt 330ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7720 331ea0e1a9aSPaul Mundt bool "Support SH7720 processor" 332ea0e1a9aSPaul Mundt select CPU_SH3 333fbfa8934SMagnus Damm select CPU_HAS_DSP 3347b61ca5dSPaul Mundt select SYS_SUPPORTS_SH_CMT 33585db6bffSLaurent Pinchart select USB_OHCI_SH if USB_OHCI_HCD 336ea0e1a9aSPaul Mundt select PINCTRL 337ea0e1a9aSPaul Mundt help 338ea0e1a9aSPaul Mundt Select SH7720 if you have a SH3-DSP SH7720 CPU. 33931a49c4bSYoshihiro Shimoda 34031a49c4bSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7721 34131a49c4bSYoshihiro Shimoda bool "Support SH7721 processor" 34231a49c4bSYoshihiro Shimoda select CPU_SH3 343fbfa8934SMagnus Damm select CPU_HAS_DSP 3447b61ca5dSPaul Mundt select SYS_SUPPORTS_SH_CMT 34531a49c4bSYoshihiro Shimoda select USB_OHCI_SH if USB_OHCI_HCD 34631a49c4bSYoshihiro Shimoda help 34731a49c4bSYoshihiro Shimoda Select SH7721 if you have a SH3-DSP SH7721 CPU. 348ea0e1a9aSPaul Mundt 349ea0e1a9aSPaul Mundt# SH-4 Processor Support 350ea0e1a9aSPaul Mundt 351ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750 352ea0e1a9aSPaul Mundt bool "Support SH7750 processor" 353ea0e1a9aSPaul Mundt select CPU_SH4 354ea0e1a9aSPaul Mundt help 355ea0e1a9aSPaul Mundt Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. 356ea0e1a9aSPaul Mundt 357ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7091 358ea0e1a9aSPaul Mundt bool "Support SH7091 processor" 359ea0e1a9aSPaul Mundt select CPU_SH4 360ea0e1a9aSPaul Mundt help 361ea0e1a9aSPaul Mundt Select SH7091 if you have an SH-4 based Sega device (such as 362ea0e1a9aSPaul Mundt the Dreamcast, Naomi, and Naomi 2). 363ea0e1a9aSPaul Mundt 364ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750R 365ea0e1a9aSPaul Mundt bool "Support SH7750R processor" 366ea0e1a9aSPaul Mundt select CPU_SH4 367ea0e1a9aSPaul Mundt 368ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7750S 369ea0e1a9aSPaul Mundt bool "Support SH7750S processor" 370ea0e1a9aSPaul Mundt select CPU_SH4 371ea0e1a9aSPaul Mundt 372ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751 373ea0e1a9aSPaul Mundt bool "Support SH7751 processor" 374ea0e1a9aSPaul Mundt select CPU_SH4 375ea0e1a9aSPaul Mundt help 376ea0e1a9aSPaul Mundt Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, 377ea0e1a9aSPaul Mundt or if you have a HD6417751R CPU. 378ea0e1a9aSPaul Mundt 379ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7751R 380ea0e1a9aSPaul Mundt bool "Support SH7751R processor" 381ea0e1a9aSPaul Mundt select CPU_SH4 382ea0e1a9aSPaul Mundt 383ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7760 384ea0e1a9aSPaul Mundt bool "Support SH7760 processor" 385ea0e1a9aSPaul Mundt select CPU_SH4 386ea0e1a9aSPaul Mundt 387ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH4_202 388ea0e1a9aSPaul Mundt bool "Support SH4-202 processor" 389ea0e1a9aSPaul Mundt select CPU_SH4 390ea0e1a9aSPaul Mundt 391ea0e1a9aSPaul Mundt# SH-4A Processor Support 392178dd0cdSPaul Mundt 393178dd0cdSPaul Mundtconfig CPU_SUBTYPE_SH7723 394178dd0cdSPaul Mundt bool "Support SH7723 processor" 395178dd0cdSPaul Mundt select CPU_SH4A 396dc65a977SPaul Mundt select CPU_SHX2 397178dd0cdSPaul Mundt select ARCH_SHMOBILE 398fbfa8934SMagnus Damm select ARCH_SPARSEMEM_ENABLE 39916941a89SLaurent Pinchart select SYS_SUPPORTS_SH_CMT 400178dd0cdSPaul Mundt select PINCTRL 401178dd0cdSPaul Mundt help 402178dd0cdSPaul Mundt Select SH7723 if you have an SH-MobileR2 CPU. 4030207a2efSKuninori Morimoto 4040207a2efSKuninori Morimotoconfig CPU_SUBTYPE_SH7724 4050207a2efSKuninori Morimoto bool "Support SH7724 processor" 4060207a2efSKuninori Morimoto select CPU_SH4A 40759fe700dSPaul Mundt select CPU_SHX2 4080207a2efSKuninori Morimoto select ARCH_SHMOBILE 409fbfa8934SMagnus Damm select ARCH_SPARSEMEM_ENABLE 41018ebd228SLaurent Pinchart select SYS_SUPPORTS_SH_CMT 4110207a2efSKuninori Morimoto select PINCTRL 4120207a2efSKuninori Morimoto help 4130207a2efSKuninori Morimoto Select SH7724 if you have an SH-MobileR2R CPU. 414fea88a0cSNobuhiro Iwamatsu 415fea88a0cSNobuhiro Iwamatsuconfig CPU_SUBTYPE_SH7734 416fea88a0cSNobuhiro Iwamatsu bool "Support SH7734 processor" 417fea88a0cSNobuhiro Iwamatsu select CPU_SH4A 4182c172182SLaurent Pinchart select CPU_SHX2 419fea88a0cSNobuhiro Iwamatsu select PINCTRL 420fea88a0cSNobuhiro Iwamatsu help 421fea88a0cSNobuhiro Iwamatsu Select SH7734 if you have a SH4A SH7734 CPU. 422c01f0f1aSYoshihiro Shimoda 423c01f0f1aSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7757 424c01f0f1aSYoshihiro Shimoda bool "Support SH7757 processor" 425c01f0f1aSYoshihiro Shimoda select CPU_SH4A 426eb61b772SLaurent Pinchart select CPU_SHX2 427c01f0f1aSYoshihiro Shimoda select PINCTRL 428c01f0f1aSYoshihiro Shimoda help 429c01f0f1aSYoshihiro Shimoda Select SH7757 if you have a SH4A SH7757 CPU. 4307d740a06SYoshihiro Shimoda 4317d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763 4327d740a06SYoshihiro Shimoda bool "Support SH7763 processor" 4337b61ca5dSPaul Mundt select CPU_SH4A 4347d740a06SYoshihiro Shimoda select USB_OHCI_SH if USB_OHCI_HCD 4357d740a06SYoshihiro Shimoda help 4367d740a06SYoshihiro Shimoda Select SH7763 if you have a SH4A SH7763(R5S77631) CPU. 437ea0e1a9aSPaul Mundt 438ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7770 439ea0e1a9aSPaul Mundt bool "Support SH7770 processor" 440ea0e1a9aSPaul Mundt select CPU_SH4A 441ea0e1a9aSPaul Mundt 442ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7780 443ea0e1a9aSPaul Mundt bool "Support SH7780 processor" 444ea0e1a9aSPaul Mundt select CPU_SH4A 445ea0e1a9aSPaul Mundt 446ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7785 447ea0e1a9aSPaul Mundt bool "Support SH7785 processor" 448ea0e1a9aSPaul Mundt select CPU_SH4A 449ea0e1a9aSPaul Mundt select CPU_SHX2 450ea0e1a9aSPaul Mundt select ARCH_SPARSEMEM_ENABLE 45177bd27b2SLaurent Pinchart select SYS_SUPPORTS_NUMA 452ea0e1a9aSPaul Mundt select PINCTRL 45355ba99ebSKuninori Morimoto 45455ba99ebSKuninori Morimotoconfig CPU_SUBTYPE_SH7786 45555ba99ebSKuninori Morimoto bool "Support SH7786 processor" 45637042fbdSPaul Mundt select CPU_SH4A 4578263a67eSPaul Mundt select CPU_SHX3 4582eb2a436SPaul Mundt select CPU_HAS_PTEAEX 4597b61ca5dSPaul Mundt select GENERIC_CLOCKEVENTS_BROADCAST if SMP 4607b61ca5dSPaul Mundt select USB_OHCI_SH if USB_OHCI_HCD 461c0fdbff9SLaurent Pinchart select USB_EHCI_SH if USB_EHCI_HCD 46255ba99ebSKuninori Morimoto select PINCTRL 463ea0e1a9aSPaul Mundt 464ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3 465ea0e1a9aSPaul Mundt bool "Support SH-X3 processor" 466ea0e1a9aSPaul Mundt select CPU_SH4A 4675840263eSPaul Mundt select CPU_SHX3 468fdcfdfa1SLinus Walleij select GENERIC_CLOCKEVENTS_BROADCAST if SMP 4693e347f08SLaurent Pinchart select GPIOLIB 470ea0e1a9aSPaul Mundt select PINCTRL 471ea0e1a9aSPaul Mundt 472ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support 473ea0e1a9aSPaul Mundt 474ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343 475ea0e1a9aSPaul Mundt bool "Support SH7343 processor" 476dc65a977SPaul Mundt select CPU_SH4AL_DSP 477fbfa8934SMagnus Damm select ARCH_SHMOBILE 478ea0e1a9aSPaul Mundt select SYS_SUPPORTS_SH_CMT 479ea0e1a9aSPaul Mundt 480ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722 481ea0e1a9aSPaul Mundt bool "Support SH7722 processor" 482ea0e1a9aSPaul Mundt select CPU_SH4AL_DSP 483dc65a977SPaul Mundt select CPU_SHX2 484ea0e1a9aSPaul Mundt select ARCH_SHMOBILE 485ea0e1a9aSPaul Mundt select ARCH_SPARSEMEM_ENABLE 486fbfa8934SMagnus Damm select SYS_SUPPORTS_NUMA 487ef97c3c1SLaurent Pinchart select SYS_SUPPORTS_SH_CMT 488ea0e1a9aSPaul Mundt select PINCTRL 4899109a30eSMagnus Damm 4909109a30eSMagnus Dammconfig CPU_SUBTYPE_SH7366 4919109a30eSMagnus Damm bool "Support SH7366 processor" 4929109a30eSMagnus Damm select CPU_SH4AL_DSP 493dc65a977SPaul Mundt select CPU_SHX2 4949109a30eSMagnus Damm select ARCH_SHMOBILE 4959109a30eSMagnus Damm select ARCH_SPARSEMEM_ENABLE 496fbfa8934SMagnus Damm select SYS_SUPPORTS_NUMA 4979109a30eSMagnus Damm select SYS_SUPPORTS_SH_CMT 4983cc000b5SPaul Mundt 4993cc000b5SPaul Mundtendchoice 500ea0e1a9aSPaul Mundt 501939a24a6SPaul Mundtsource "arch/sh/mm/Kconfig" 502ea0e1a9aSPaul Mundt 503ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu" 504939a24a6SPaul Mundt 505ea0e1a9aSPaul Mundtsource "arch/sh/boards/Kconfig" 506ea0e1a9aSPaul Mundt 507ea0e1a9aSPaul Mundtmenu "Timer and clock configuration" 508ea0e1a9aSPaul Mundt 509ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ 5108152a74bSPaul Mundt int "Peripheral clock frequency (in Hz)" 511ea0e1a9aSPaul Mundt depends on SH_CLK_CPG_LEGACY 5128152a74bSPaul Mundt default "31250000" if CPU_SUBTYPE_SH7619 5138152a74bSPaul Mundt default "33333333" if CPU_SUBTYPE_SH7770 || \ 5148152a74bSPaul Mundt CPU_SUBTYPE_SH7760 || \ 5158152a74bSPaul Mundt CPU_SUBTYPE_SH7705 || \ 5168152a74bSPaul Mundt CPU_SUBTYPE_SH7203 || \ 5178152a74bSPaul Mundt CPU_SUBTYPE_SH7206 || \ 51843a1839cSPaul Mundt CPU_SUBTYPE_SH7263 || \ 519ea0e1a9aSPaul Mundt CPU_SUBTYPE_MXG 520ea0e1a9aSPaul Mundt default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R 521ea0e1a9aSPaul Mundt default "66000000" if CPU_SUBTYPE_SH4_202 522ea0e1a9aSPaul Mundt default "50000000" 523ea0e1a9aSPaul Mundt help 524ea0e1a9aSPaul Mundt This option is used to specify the peripheral clock frequency. 525ea0e1a9aSPaul Mundt This is necessary for determining the reference clock value on 526ea0e1a9aSPaul Mundt platforms lacking an RTC. 52736aa1e32SPaul Mundt 52836aa1e32SPaul Mundtconfig SH_CLK_CPG 52936aa1e32SPaul Mundt def_bool y 530253b0887SPaul Mundt 53136aa1e32SPaul Mundtconfig SH_CLK_CPG_LEGACY 53243a1839cSPaul Mundt depends on SH_CLK_CPG 53351ce3068SPhil Edworthy def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \ 534bcb86e0aSPaul Mundt !CPU_SHX3 && !CPU_SUBTYPE_SH7757 && \ 535bcb86e0aSPaul Mundt !CPU_SUBTYPE_SH7734 && !CPU_SUBTYPE_SH7264 && \ 536253b0887SPaul Mundt !CPU_SUBTYPE_SH7269 537ea0e1a9aSPaul Mundt 538ea0e1a9aSPaul Mundtendmenu 539ea0e1a9aSPaul Mundt 540ea0e1a9aSPaul Mundtmenu "CPU Frequency scaling" 541ea0e1a9aSPaul Mundtsource "drivers/cpufreq/Kconfig" 542ea0e1a9aSPaul Mundtendmenu 543ea0e1a9aSPaul Mundt 544ea0e1a9aSPaul Mundtsource "arch/sh/drivers/Kconfig" 545ea0e1a9aSPaul Mundt 546ea0e1a9aSPaul Mundtendmenu 547ea0e1a9aSPaul Mundt 548ea0e1a9aSPaul Mundtmenu "Kernel features" 5498636a1f9SMasahiro Yamada 550ea0e1a9aSPaul Mundtsource "kernel/Kconfig.hz" 551*40445d06SEric DeVolder 552*40445d06SEric DeVolderconfig ARCH_SUPPORTS_KEXEC 553ea0e1a9aSPaul Mundt def_bool MMU 554*40445d06SEric DeVolder 555*40445d06SEric DeVolderconfig ARCH_SUPPORTS_CRASH_DUMP 556ea0e1a9aSPaul Mundt def_bool BROKEN_ON_SMP 557*40445d06SEric DeVolder 558*40445d06SEric DeVolderconfig ARCH_SUPPORTS_KEXEC_JUMP 559b7cf6ddcSMagnus Damm def_bool y 560e66ac3f2SSimon Horman 561e66ac3f2SSimon Hormanconfig PHYSICAL_START 562e66ac3f2SSimon Horman hex "Physical address where the kernel is loaded" if (EXPERT || CRASH_DUMP) 563a7f7f624SMasahiro Yamada default MEMORY_START 564e66ac3f2SSimon Horman help 565e66ac3f2SSimon Horman This gives the physical address where the kernel is loaded 566e66ac3f2SSimon Horman and is ordinarily the same as MEMORY_START. 567e66ac3f2SSimon Horman 568e66ac3f2SSimon Horman Different values are primarily used in the case of kexec on panic 569e66ac3f2SSimon Horman where the fail safe kernel needs to run at a different address 570e66ac3f2SSimon Horman than the panic-ed kernel. 571ea0e1a9aSPaul Mundt 572ea0e1a9aSPaul Mundtconfig SMP 573ea0e1a9aSPaul Mundt bool "Symmetric multi-processing support" 574a7f7f624SMasahiro Yamada depends on SYS_SUPPORTS_SMP 575ea0e1a9aSPaul Mundt help 5764a474157SRobert Graffham This enables support for systems with more than one CPU. If you have 5774a474157SRobert Graffham a system with only one CPU, say N. If you have a system with more 578ea0e1a9aSPaul Mundt than one CPU, say Y. 5794a474157SRobert Graffham 580ea0e1a9aSPaul Mundt If you say N here, the kernel will run on uni- and multiprocessor 581ea0e1a9aSPaul Mundt machines, but will use only one CPU of a multiprocessor machine. If 5824a474157SRobert Graffham you say Y here, the kernel will run on many, but not all, 583ea0e1a9aSPaul Mundt uniprocessor machines. On a uniprocessor machine, the kernel 584ea0e1a9aSPaul Mundt will run faster if you say N here. 585ea0e1a9aSPaul Mundt 586ea0e1a9aSPaul Mundt People using multiprocessor machines who say Y here should also say 587ea0e1a9aSPaul Mundt Y to "Enhanced Real Time Clock Support", below. 5884f4cfa6cSMauro Carvalho Chehab 58991194e9bSAlexander A. Klimov See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO 590ea0e1a9aSPaul Mundt available at <https://www.tldp.org/docs.html#howto>. 591ea0e1a9aSPaul Mundt 592ea0e1a9aSPaul Mundt If you don't know what to do here, say N. 593ea0e1a9aSPaul Mundt 594ea0e1a9aSPaul Mundtconfig NR_CPUS 595ea0e1a9aSPaul Mundt int "Maximum number of CPUs (2-32)" 596ea0e1a9aSPaul Mundt range 2 32 5972eb2a436SPaul Mundt depends on SMP 598ea0e1a9aSPaul Mundt default "4" if CPU_SUBTYPE_SHX3 599ea0e1a9aSPaul Mundt default "2" 600ea0e1a9aSPaul Mundt help 601ea0e1a9aSPaul Mundt This allows you to specify the maximum number of CPUs which this 602ea0e1a9aSPaul Mundt kernel will support. The maximum supported value is 32 and the 603ea0e1a9aSPaul Mundt minimum value which makes sense is 2. 604ea0e1a9aSPaul Mundt 605ea0e1a9aSPaul Mundt This is purely to save memory - each supported CPU adds 606ea0e1a9aSPaul Mundt approximately eight kilobytes to the kernel image. 607763142d1SPaul Mundt 608763142d1SPaul Mundtconfig HOTPLUG_CPU 60940b31360SStephen Rothwell bool "Support for hot-pluggable CPUs (EXPERIMENTAL)" 610763142d1SPaul Mundt depends on SMP 611763142d1SPaul Mundt help 612763142d1SPaul Mundt Say Y here to experiment with turning CPUs off and on. CPUs 613763142d1SPaul Mundt can be controlled through /sys/devices/system/cpu. 614ea0e1a9aSPaul Mundt 615ea0e1a9aSPaul Mundtconfig GUSA 61637744feeSArnd Bergmann def_bool y 617ea0e1a9aSPaul Mundt depends on !SMP 618ea0e1a9aSPaul Mundt help 619ea0e1a9aSPaul Mundt This enables support for gUSA (general UserSpace Atomicity). 620ea0e1a9aSPaul Mundt This is the default implementation for both UP and non-ll/sc 621ea0e1a9aSPaul Mundt CPUs, and is used by the libc, amongst others. 622ea0e1a9aSPaul Mundt 623ea0e1a9aSPaul Mundt For additional information, design information can be found 624ea0e1a9aSPaul Mundt in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>. 625ea0e1a9aSPaul Mundt 626ea0e1a9aSPaul Mundt This should only be disabled for special cases where alternate 627ea0e1a9aSPaul Mundt atomicity implementations exist. 6281efe4ce3SStuart Menefy 6291efe4ce3SStuart Menefyconfig GUSA_RB 6301efe4ce3SStuart Menefy bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)" 6311efe4ce3SStuart Menefy depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A) 6321efe4ce3SStuart Menefy help 633692105b8SMatt LaPlante Enabling this option will allow the kernel to implement some 6341efe4ce3SStuart Menefy atomic operations using a software implementation of load-locked/ 6351efe4ce3SStuart Menefy store-conditional (LLSC). On machines which do not have hardware 636692105b8SMatt LaPlante LLSC, this should be more efficient than the other alternative of 6371efe4ce3SStuart Menefy disabling interrupts around the atomic sequence. 63886c8c047SMatt Fleming 63986c8c047SMatt Flemingconfig HW_PERF_EVENTS 64086c8c047SMatt Fleming bool "Enable hardware performance counter support for perf events" 64186c8c047SMatt Fleming depends on PERF_EVENTS && CPU_HAS_PMU 64286c8c047SMatt Fleming default y 64386c8c047SMatt Fleming help 64486c8c047SMatt Fleming Enable hardware performance counter support for perf events. If 64586c8c047SMatt Fleming disabled, perf events will use software events only. 64643b8774dSPaul Mundt 64743b8774dSPaul Mundtsource "drivers/sh/Kconfig" 648ea0e1a9aSPaul Mundt 649ea0e1a9aSPaul Mundtendmenu 650ea0e1a9aSPaul Mundt 651ea0e1a9aSPaul Mundtmenu "Boot options" 652190fe191SRich Felker 653190fe191SRich Felkerconfig USE_BUILTIN_DTB 654190fe191SRich Felker bool "Use builtin DTB" 655190fe191SRich Felker default n 656190fe191SRich Felker depends on SH_DEVICE_TREE 657190fe191SRich Felker help 658190fe191SRich Felker Link a device tree blob for particular hardware into the kernel, 659190fe191SRich Felker suppressing use of the DTB pointer provided by the bootloader. 660190fe191SRich Felker This option should only be used with legacy bootloaders that are 661190fe191SRich Felker not capable of providing a DTB to the kernel, or for experimental 662190fe191SRich Felker hardware without stable device tree bindings. 663190fe191SRich Felker 664190fe191SRich Felkerconfig BUILTIN_DTB_SOURCE 665190fe191SRich Felker string "Source file for builtin DTB" 666190fe191SRich Felker default "" 667190fe191SRich Felker depends on USE_BUILTIN_DTB 668190fe191SRich Felker help 669190fe191SRich Felker Base name (without suffix, relative to arch/sh/boot/dts) for the 670190fe191SRich Felker a DTS file that will be used to produce the DTB linked into the 671190fe191SRich Felker kernel. 672ea0e1a9aSPaul Mundt 673b412a49aSPaul Mundtconfig ZERO_PAGE_OFFSET 674b412a49aSPaul Mundt hex 675b412a49aSPaul Mundt default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \ 676b412a49aSPaul Mundt SH_7751_SOLUTION_ENGINE 677ea0e1a9aSPaul Mundt default "0x00004000" if PAGE_SIZE_16KB || SH_SH03 678ea0e1a9aSPaul Mundt default "0x00002000" if PAGE_SIZE_8KB 679ea0e1a9aSPaul Mundt default "0x00001000" 680ea0e1a9aSPaul Mundt help 681ea0e1a9aSPaul Mundt This sets the default offset of zero page. 682ea0e1a9aSPaul Mundt 683b412a49aSPaul Mundtconfig BOOT_LINK_OFFSET 684b412a49aSPaul Mundt hex 685b412a49aSPaul Mundt default "0x00210000" if SH_SHMIN 686b412a49aSPaul Mundt default "0x00810000" if SH_7780_SOLUTION_ENGINE 687b412a49aSPaul Mundt default "0x009e0000" if SH_TITAN 688b412a49aSPaul Mundt default "0x01800000" if SH_SDK7780 689ea0e1a9aSPaul Mundt default "0x02000000" if SH_EDOSK7760 690ea0e1a9aSPaul Mundt default "0x00800000" 691ea0e1a9aSPaul Mundt help 692ea0e1a9aSPaul Mundt This option allows you to set the link address offset of the zImage. 693ea0e1a9aSPaul Mundt This can be useful if you are on a board which has a small amount of 694ea0e1a9aSPaul Mundt memory. 695b412a49aSPaul Mundt 696b412a49aSPaul Mundtconfig ENTRY_OFFSET 697b412a49aSPaul Mundt hex 698b412a49aSPaul Mundt default "0x00001000" if PAGE_SIZE_4KB 699b412a49aSPaul Mundt default "0x00002000" if PAGE_SIZE_8KB 700b412a49aSPaul Mundt default "0x00004000" if PAGE_SIZE_16KB 701b412a49aSPaul Mundt default "0x00010000" if PAGE_SIZE_64KB 702b412a49aSPaul Mundt default "0x00000000" 7034705b2e8SMagnus Damm 7044705b2e8SMagnus Dammconfig ROMIMAGE_MMCIF 7050d57af1eSKees Cook bool "Include MMCIF loader in romImage (EXPERIMENTAL)" 7064705b2e8SMagnus Damm depends on CPU_SUBTYPE_SH7724 7074705b2e8SMagnus Damm help 7084705b2e8SMagnus Damm Say Y here to include experimental MMCIF loading code in 7094705b2e8SMagnus Damm romImage. With this enabled it is possible to write the romImage 7104705b2e8SMagnus Damm kernel image to an MMC card and boot the kernel straight from 7114705b2e8SMagnus Damm the reset vector. At reset the processor Mask ROM will load the 7124705b2e8SMagnus Damm first part of the romImage which in turn loads the rest the kernel 7134705b2e8SMagnus Damm image to RAM using the MMCIF hardware block. 714d724a9c9SPawel Moll 715d724a9c9SPawel Mollchoice 716d724a9c9SPawel Moll prompt "Kernel command line" 717d724a9c9SPawel Moll optional 718d724a9c9SPawel Moll default CMDLINE_OVERWRITE 719d724a9c9SPawel Moll help 720d724a9c9SPawel Moll Setting this option allows the kernel command line arguments 721d724a9c9SPawel Moll to be set. 722d724a9c9SPawel Moll 723d724a9c9SPawel Mollconfig CMDLINE_OVERWRITE 724d724a9c9SPawel Moll bool "Overwrite bootloader kernel arguments" 725d724a9c9SPawel Moll help 726d724a9c9SPawel Moll Given string will overwrite any arguments passed in by 727d724a9c9SPawel Moll a bootloader. 728d724a9c9SPawel Moll 729d724a9c9SPawel Mollconfig CMDLINE_EXTEND 730d724a9c9SPawel Moll bool "Extend bootloader kernel arguments" 731d724a9c9SPawel Moll help 732d724a9c9SPawel Moll Given string will be concatenated with arguments passed in 733d724a9c9SPawel Moll by a bootloader. 734d724a9c9SPawel Moll 735ea0e1a9aSPaul Mundtendchoice 736ea0e1a9aSPaul Mundt 737d724a9c9SPawel Mollconfig CMDLINE 738d724a9c9SPawel Moll string "Kernel command line arguments string" 739ea0e1a9aSPaul Mundt depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND 740ea0e1a9aSPaul Mundt default "console=ttySC1,115200" 741ea0e1a9aSPaul Mundt 742ea0e1a9aSPaul Mundtendmenu 743ea0e1a9aSPaul Mundt 744ea0e1a9aSPaul Mundtmenu "Bus options" 745ea0e1a9aSPaul Mundt 746ea0e1a9aSPaul Mundtconfig SUPERHYWAY 747ea0e1a9aSPaul Mundt tristate "SuperHyway Bus support" 748ea0e1a9aSPaul Mundt depends on CPU_SUBTYPE_SH4_202 749ea0e1a9aSPaul Mundt 750ea0e1a9aSPaul Mundtconfig MAPLE 751ea0e1a9aSPaul Mundt bool "Maple Bus support" 752ea0e1a9aSPaul Mundt depends on SH_DREAMCAST 753ea0e1a9aSPaul Mundt help 754ea0e1a9aSPaul Mundt The Maple Bus is SEGA's serial communication bus for peripherals 755ea0e1a9aSPaul Mundt on the Dreamcast. Without this bus support you won't be able to 756ea0e1a9aSPaul Mundt get your Dreamcast keyboard etc to work, so most users 757ea0e1a9aSPaul Mundt probably want to say 'Y' here, unless you are only using the 758ea0e1a9aSPaul Mundt Dreamcast with a serial line terminal or a remote network 759ea0e1a9aSPaul Mundt connection. 760ea0e1a9aSPaul Mundt 761ea0e1a9aSPaul Mundtendmenu 762ea0e1a9aSPaul Mundt 763f4cb5700SJohannes Bergmenu "Power management options (EXPERIMENTAL)" 764c6f17cb2SMagnus Damm 765c6f17cb2SMagnus Dammsource "kernel/power/Kconfig" 766c6f17cb2SMagnus Damm 767ea0e1a9aSPaul Mundtsource "drivers/cpuidle/Kconfig" 768ea0e1a9aSPaul Mundt 769endmenu 770