1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2ea0e1a9aSPaul Mundtconfig SUPERH 3ea0e1a9aSPaul Mundt def_bool y 4582dc536SChristoph Hellwig select ARCH_32BIT_OFF_T 58690bbcfSMathieu Desnoyers select ARCH_HAS_CPU_CACHE_ALIASING 6df013ffbSHuang Ying select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) 7582dc536SChristoph Hellwig select ARCH_HAS_BINFMT_FLAT if !MMU 801eb454eSThomas Gleixner select ARCH_HAS_CPU_FINALIZE_INIT 92792d84eSKees Cook select ARCH_HAS_CURRENT_STACK_POINTER 10582dc536SChristoph Hellwig select ARCH_HAS_GIGANTIC_PAGE 11957e3facSRiku Voipio select ARCH_HAS_GCOV_PROFILE_ALL 12582dc536SChristoph Hellwig select ARCH_HAS_PTE_SPECIAL 13582dc536SChristoph Hellwig select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST 14582dc536SChristoph Hellwig select ARCH_HIBERNATION_POSSIBLE if MMU 15582dc536SChristoph Hellwig select ARCH_MIGHT_HAVE_PC_PARPORT 16c1d7e01dSWill Deacon select ARCH_WANT_IPC_PARSE_VERSION 17c81a748eSPaul E. McKenney select ARCH_NEED_CMPXCHG_1_EMU 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 320453c9a7SBaoquan He select GENERIC_IOREMAP if MMU 33582dc536SChristoph Hellwig select HAVE_ARCH_AUDITSYSCALL 34582dc536SChristoph Hellwig select HAVE_ARCH_KGDB 350bb605c2SMichael Karcher 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 4025176ad0SDavid Hildenbrand select HAVE_GUP_FAST 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 50582dc536SChristoph Hellwig select HAVE_KERNEL_XZ 51d39f5450SChris Smith select HAVE_KPROBES 52d39f5450SChris Smith select HAVE_KRETPROBES 530102752eSFrederic Weisbecker 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 59582dc536SChristoph Hellwig select HAVE_UID16 60cd1a41ceSThomas Gleixner select HAVE_SOFTIRQ_ON_OWN_STACK if IRQSTACKS 61d148eac0SMasahiro Yamada select HAVE_STACKPROTECTOR 62582dc536SChristoph Hellwig select HAVE_SYSCALL_TRACEPOINTS 63582dc536SChristoph Hellwig select IRQ_FORCED_THREADING 64a050ba1eSLinus Torvalds select LOCK_MM_AND_FIND_VMA 65582dc536SChristoph Hellwig select MODULES_USE_ELF_RELA 66582dc536SChristoph Hellwig select NEED_SG_DMA_LENGTH 67cd57d07bSChristoph 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 75582dc536SChristoph Hellwig select SPARSE_IRQ 764aae683fSMasahiro Yamada 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 8137744feeSArnd Bergmann <http://www.linux-sh.org/>. 82ea0e1a9aSPaul Mundt 83ea0e1a9aSPaul Mundtconfig GENERIC_BUG 84ea0e1a9aSPaul Mundt def_bool y 8537744feeSArnd Bergmann depends on BUG 863767f3f1SPaul Mundt 87ea0e1a9aSPaul Mundtconfig GENERIC_HWEIGHT 88d7ef4fb3SHarvey Harrison def_bool y 89ea0e1a9aSPaul Mundt 90ea0e1a9aSPaul Mundtconfig GENERIC_CALIBRATE_DELAY 91cf204fa7SPaul Mundt bool 92ea0e1a9aSPaul Mundt 93bdcab87bSPaul Mundtconfig GENERIC_LOCKBREAK 94bdcab87bSPaul Mundt def_bool y 957be60ccbSThomas Gleixner depends on SMP && PREEMPTION 96bdcab87bSPaul Mundt 97af998a9aSMagnus Dammconfig ARCH_SUSPEND_POSSIBLE 98af998a9aSMagnus Damm def_bool n 99af998a9aSMagnus Damm 100af998a9aSMagnus Dammconfig ARCH_HIBERNATION_POSSIBLE 101af998a9aSMagnus Damm def_bool n 102ea0e1a9aSPaul Mundt 103ea0e1a9aSPaul Mundtconfig SYS_SUPPORTS_APM_EMULATION 104ea0e1a9aSPaul Mundt bool 105af998a9aSMagnus Damm 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 113ea0e1a9aSPaul Mundtconfig STACKTRACE_SUPPORT 114d7ef4fb3SHarvey Harrison def_bool y 115ea0e1a9aSPaul Mundt 116ea0e1a9aSPaul Mundtconfig LOCKDEP_SUPPORT 117d7ef4fb3SHarvey Harrison def_bool y 118ea0e1a9aSPaul Mundt 119ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U32 120d7ef4fb3SHarvey Harrison def_bool n 121ea0e1a9aSPaul Mundt 122ea0e1a9aSPaul Mundtconfig ARCH_HAS_ILOG2_U64 123d7ef4fb3SHarvey Harrison def_bool n 124ea0e1a9aSPaul Mundt 125ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP 12637b7a978SPaul Mundt def_bool !PCI 12710c88ca5SArtur Rojek depends on !SH_SHMIN && !SH_HP6XX && !SH_SOLUTION_ENGINE && \ 12810c88ca5SArtur Rojek !SH_DREAMCAST 12986e4dd5aSPaul Mundt 130e7cc9a73SMagnus Dammconfig IO_TRAPPED 131e7cc9a73SMagnus Damm bool 132e7cc9a73SMagnus Damm 133b7e68d68SPaul Mundtconfig SWAP_IO_SPACE 134b7e68d68SPaul Mundt bool 135b7e68d68SPaul Mundt 13601be5d63SPaul Mundtconfig DMA_COHERENT 13701be5d63SPaul Mundt bool 13801be5d63SPaul Mundt 13901be5d63SPaul Mundtconfig DMA_NONCOHERENT 140cd57d07bSChristoph Hellwig def_bool !NO_DMA && !DMA_COHERENT 1416dfdf673SChristoph Hellwig select ARCH_HAS_DMA_PREP_COHERENT 1426fa1d28eSChristoph Hellwig select ARCH_HAS_SYNC_DMA_FOR_DEVICE 1436dfdf673SChristoph Hellwig select DMA_DIRECT_REMAP 14401be5d63SPaul Mundt 14569543d63SKirill A. Shutemovconfig PGTABLE_LEVELS 14669543d63SKirill A. Shutemov default 3 if X2TLB 14769543d63SKirill A. Shutemov default 2 14869543d63SKirill A. Shutemov 149ea0e1a9aSPaul Mundtmenu "System type" 150ea0e1a9aSPaul Mundt 151ea0e1a9aSPaul Mundt# 152ea0e1a9aSPaul Mundt# Processor families 153ea0e1a9aSPaul Mundt# 154ea0e1a9aSPaul Mundtconfig CPU_SH2 155ea0e1a9aSPaul Mundt bool 156049d2804SGeert Uytterhoeven select SH_INTC 157ea0e1a9aSPaul Mundt 158ea0e1a9aSPaul Mundtconfig CPU_SH2A 159ea0e1a9aSPaul Mundt bool 160ea0e1a9aSPaul Mundt select CPU_SH2 161e2fcf74fSPaul Mundt select UNCACHED_MAPPING 162ea0e1a9aSPaul Mundt 1635a846abaSRich Felkerconfig CPU_J2 1645a846abaSRich Felker bool 1655a846abaSRich Felker select CPU_SH2 1665a846abaSRich Felker select OF 1675a846abaSRich Felker select OF_EARLY_FLATTREE 1685a846abaSRich Felker 169ea0e1a9aSPaul Mundtconfig CPU_SH3 170ea0e1a9aSPaul Mundt bool 171ea0e1a9aSPaul Mundt select CPU_HAS_INTEVT 172ea0e1a9aSPaul Mundt select CPU_HAS_SR_RB 173049d2804SGeert Uytterhoeven select SH_INTC 174fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_TMU 175ea0e1a9aSPaul Mundt 176ea0e1a9aSPaul Mundtconfig CPU_SH4 177ea0e1a9aSPaul Mundt bool 178855f9a8eSAnshuman Khandual select ARCH_SUPPORTS_HUGETLBFS if MMU 179ea0e1a9aSPaul Mundt select CPU_HAS_INTEVT 180ea0e1a9aSPaul Mundt select CPU_HAS_SR_RB 181ea0e1a9aSPaul Mundt select CPU_HAS_FPU if !CPU_SH4AL_DSP 182049d2804SGeert Uytterhoeven select SH_INTC 183fbfa8934SMagnus Damm 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 198ea0e1a9aSPaul Mundt bool 19901be5d63SPaul Mundt select DMA_COHERENT 2004b478ee2SPaul Mundt select SYS_SUPPORTS_SMP 2014b478ee2SPaul Mundt select SYS_SUPPORTS_NUMA 202ea0e1a9aSPaul Mundt 203dc65a977SPaul Mundtconfig ARCH_SHMOBILE 204dc65a977SPaul Mundt bool 20577594912SMagnus Damm select ARCH_SUSPEND_POSSIBLE 206464ed18eSRafael J. Wysocki select PM 207dc65a977SPaul Mundt 20886c8c047SMatt Flemingconfig CPU_HAS_PMU 20986c8c047SMatt Fleming depends on CPU_SH4 || CPU_SH4A 21086c8c047SMatt Fleming default y 21186c8c047SMatt Fleming bool 21286c8c047SMatt Fleming 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" 224ea0e1a9aSPaul Mundt select CPU_SH2 225fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 226ea0e1a9aSPaul Mundt 2275a846abaSRich Felkerconfig CPU_SUBTYPE_J2 2285a846abaSRich Felker bool "Support J2 processor" 2295a846abaSRich Felker select CPU_J2 230b4214e41SRich Felker select SYS_SUPPORTS_SMP 231b4214e41SRich Felker select GENERIC_CLOCKEVENTS_BROADCAST if SMP 2325a846abaSRich Felker 233ea0e1a9aSPaul Mundt# SH-2A Processor Support 234ea0e1a9aSPaul Mundt 2352825999eSPeter Griffinconfig CPU_SUBTYPE_SH7201 2362825999eSPeter Griffin bool "Support SH7201 processor" 2372825999eSPeter Griffin select CPU_SH2A 2382825999eSPeter Griffin select CPU_HAS_FPU 239fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_MTU2 2402825999eSPeter Griffin 2416d01f510SPaul Mundtconfig CPU_SUBTYPE_SH7203 2426d01f510SPaul Mundt bool "Support SH7203 processor" 2436d01f510SPaul Mundt select CPU_SH2A 24474d99a5eSPaul Mundt select CPU_HAS_FPU 245fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 246fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_MTU2 247b768ecbcSLaurent Pinchart select PINCTRL 2486d01f510SPaul Mundt 249ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7206 250ea0e1a9aSPaul Mundt bool "Support SH7206 processor" 251ea0e1a9aSPaul Mundt select CPU_SH2A 252fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 253fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_MTU2 254ea0e1a9aSPaul Mundt 255a8f67f4bSPaul Mundtconfig CPU_SUBTYPE_SH7263 256a8f67f4bSPaul Mundt bool "Support SH7263 processor" 257a8f67f4bSPaul Mundt select CPU_SH2A 25874d99a5eSPaul Mundt select CPU_HAS_FPU 259fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 260fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_MTU2 261a8f67f4bSPaul Mundt 26251ce3068SPhil Edworthyconfig CPU_SUBTYPE_SH7264 26351ce3068SPhil Edworthy bool "Support SH7264 processor" 26451ce3068SPhil Edworthy select CPU_SH2A 26551ce3068SPhil Edworthy select CPU_HAS_FPU 266fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 267fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_MTU2 2685946e7bbSLaurent Pinchart select PINCTRL 26951ce3068SPhil Edworthy 2700b25b7c8SPhil Edworthyconfig CPU_SUBTYPE_SH7269 2710b25b7c8SPhil Edworthy bool "Support SH7269 processor" 2720b25b7c8SPhil Edworthy select CPU_SH2A 2730b25b7c8SPhil Edworthy select CPU_HAS_FPU 274fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 275fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_MTU2 276fb872fccSLaurent Pinchart select PINCTRL 2770b25b7c8SPhil Edworthy 2782ad69908SPaul Mundtconfig CPU_SUBTYPE_MXG 2792ad69908SPaul Mundt bool "Support MX-G processor" 2802ad69908SPaul Mundt select CPU_SH2A 281fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_MTU2 2822ad69908SPaul Mundt help 2832ad69908SPaul Mundt Select MX-G if running on an R8A03022BG part. 2842ad69908SPaul 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 333ea0e1a9aSPaul Mundt select CPU_HAS_DSP 334fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 3357b61ca5dSPaul Mundt select USB_OHCI_SH if USB_OHCI_HCD 33685db6bffSLaurent Pinchart select PINCTRL 337ea0e1a9aSPaul Mundt help 338ea0e1a9aSPaul Mundt Select SH7720 if you have a SH3-DSP SH7720 CPU. 339ea0e1a9aSPaul Mundt 34031a49c4bSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7721 34131a49c4bSYoshihiro Shimoda bool "Support SH7721 processor" 34231a49c4bSYoshihiro Shimoda select CPU_SH3 34331a49c4bSYoshihiro Shimoda select CPU_HAS_DSP 344fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 3457b61ca5dSPaul Mundt select USB_OHCI_SH if USB_OHCI_HCD 34631a49c4bSYoshihiro Shimoda help 34731a49c4bSYoshihiro Shimoda Select SH7721 if you have a SH3-DSP SH7721 CPU. 34831a49c4bSYoshihiro Shimoda 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 Mundt# SH-4A Processor Support 388ea0e1a9aSPaul Mundt 389178dd0cdSPaul Mundtconfig CPU_SUBTYPE_SH7723 390178dd0cdSPaul Mundt bool "Support SH7723 processor" 391178dd0cdSPaul Mundt select CPU_SH4A 392178dd0cdSPaul Mundt select CPU_SHX2 393dc65a977SPaul Mundt select ARCH_SHMOBILE 394178dd0cdSPaul Mundt select ARCH_SPARSEMEM_ENABLE 395fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 39616941a89SLaurent Pinchart select PINCTRL 397178dd0cdSPaul Mundt help 398178dd0cdSPaul Mundt Select SH7723 if you have an SH-MobileR2 CPU. 399178dd0cdSPaul Mundt 4000207a2efSKuninori Morimotoconfig CPU_SUBTYPE_SH7724 4010207a2efSKuninori Morimoto bool "Support SH7724 processor" 4020207a2efSKuninori Morimoto select CPU_SH4A 4030207a2efSKuninori Morimoto select CPU_SHX2 40459fe700dSPaul Mundt select ARCH_SHMOBILE 4050207a2efSKuninori Morimoto select ARCH_SPARSEMEM_ENABLE 406fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 40718ebd228SLaurent Pinchart select PINCTRL 4080207a2efSKuninori Morimoto help 4090207a2efSKuninori Morimoto Select SH7724 if you have an SH-MobileR2R CPU. 4100207a2efSKuninori Morimoto 411fea88a0cSNobuhiro Iwamatsuconfig CPU_SUBTYPE_SH7734 412fea88a0cSNobuhiro Iwamatsu bool "Support SH7734 processor" 413fea88a0cSNobuhiro Iwamatsu select CPU_SH4A 414fea88a0cSNobuhiro Iwamatsu select CPU_SHX2 4152c172182SLaurent Pinchart select PINCTRL 416fea88a0cSNobuhiro Iwamatsu help 417fea88a0cSNobuhiro Iwamatsu Select SH7734 if you have a SH4A SH7734 CPU. 418fea88a0cSNobuhiro Iwamatsu 419c01f0f1aSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7757 420c01f0f1aSYoshihiro Shimoda bool "Support SH7757 processor" 421c01f0f1aSYoshihiro Shimoda select CPU_SH4A 422c01f0f1aSYoshihiro Shimoda select CPU_SHX2 423eb61b772SLaurent Pinchart select PINCTRL 424c01f0f1aSYoshihiro Shimoda help 425c01f0f1aSYoshihiro Shimoda Select SH7757 if you have a SH4A SH7757 CPU. 426c01f0f1aSYoshihiro Shimoda 4277d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763 4287d740a06SYoshihiro Shimoda bool "Support SH7763 processor" 4297d740a06SYoshihiro Shimoda select CPU_SH4A 4307b61ca5dSPaul Mundt select USB_OHCI_SH if USB_OHCI_HCD 4317d740a06SYoshihiro Shimoda help 4327d740a06SYoshihiro Shimoda Select SH7763 if you have a SH4A SH7763(R5S77631) CPU. 4337d740a06SYoshihiro Shimoda 434ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7770 435ea0e1a9aSPaul Mundt bool "Support SH7770 processor" 436ea0e1a9aSPaul Mundt select CPU_SH4A 437ea0e1a9aSPaul Mundt 438ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7780 439ea0e1a9aSPaul Mundt bool "Support SH7780 processor" 440ea0e1a9aSPaul Mundt select CPU_SH4A 441ea0e1a9aSPaul Mundt 442ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7785 443ea0e1a9aSPaul Mundt bool "Support SH7785 processor" 444ea0e1a9aSPaul Mundt select CPU_SH4A 445ea0e1a9aSPaul Mundt select CPU_SHX2 446ea0e1a9aSPaul Mundt select ARCH_SPARSEMEM_ENABLE 447ea0e1a9aSPaul Mundt select SYS_SUPPORTS_NUMA 44877bd27b2SLaurent Pinchart select PINCTRL 449ea0e1a9aSPaul Mundt 45055ba99ebSKuninori Morimotoconfig CPU_SUBTYPE_SH7786 45155ba99ebSKuninori Morimoto bool "Support SH7786 processor" 45255ba99ebSKuninori Morimoto select CPU_SH4A 45337042fbdSPaul Mundt select CPU_SHX3 4548263a67eSPaul Mundt select CPU_HAS_PTEAEX 4552eb2a436SPaul Mundt select GENERIC_CLOCKEVENTS_BROADCAST if SMP 4567b61ca5dSPaul Mundt select USB_OHCI_SH if USB_OHCI_HCD 4577b61ca5dSPaul Mundt select USB_EHCI_SH if USB_EHCI_HCD 458c0fdbff9SLaurent Pinchart select PINCTRL 45955ba99ebSKuninori Morimoto 460ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3 461ea0e1a9aSPaul Mundt bool "Support SH-X3 processor" 462ea0e1a9aSPaul Mundt select CPU_SH4A 463ea0e1a9aSPaul Mundt select CPU_SHX3 4645840263eSPaul Mundt select GENERIC_CLOCKEVENTS_BROADCAST if SMP 465fdcfdfa1SLinus Walleij select GPIOLIB 4663e347f08SLaurent Pinchart select PINCTRL 467ea0e1a9aSPaul Mundt 468ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support 469ea0e1a9aSPaul Mundt 470ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343 471ea0e1a9aSPaul Mundt bool "Support SH7343 processor" 472ea0e1a9aSPaul Mundt select CPU_SH4AL_DSP 473dc65a977SPaul Mundt select ARCH_SHMOBILE 474fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 475ea0e1a9aSPaul Mundt 476ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722 477ea0e1a9aSPaul Mundt bool "Support SH7722 processor" 478ea0e1a9aSPaul Mundt select CPU_SH4AL_DSP 479ea0e1a9aSPaul Mundt select CPU_SHX2 480dc65a977SPaul Mundt select ARCH_SHMOBILE 481ea0e1a9aSPaul Mundt select ARCH_SPARSEMEM_ENABLE 482ea0e1a9aSPaul Mundt select SYS_SUPPORTS_NUMA 483fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 484ef97c3c1SLaurent Pinchart select PINCTRL 485ea0e1a9aSPaul Mundt 4869109a30eSMagnus Dammconfig CPU_SUBTYPE_SH7366 4879109a30eSMagnus Damm bool "Support SH7366 processor" 4889109a30eSMagnus Damm select CPU_SH4AL_DSP 4899109a30eSMagnus Damm select CPU_SHX2 490dc65a977SPaul Mundt select ARCH_SHMOBILE 4919109a30eSMagnus Damm select ARCH_SPARSEMEM_ENABLE 4929109a30eSMagnus Damm select SYS_SUPPORTS_NUMA 493fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 4949109a30eSMagnus Damm 4953cc000b5SPaul Mundtendchoice 4963cc000b5SPaul Mundt 497ea0e1a9aSPaul Mundtsource "arch/sh/mm/Kconfig" 498939a24a6SPaul Mundt 499ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu" 500ea0e1a9aSPaul Mundt 501939a24a6SPaul Mundtsource "arch/sh/boards/Kconfig" 502ea0e1a9aSPaul Mundt 503ea0e1a9aSPaul Mundtmenu "Timer and clock configuration" 504ea0e1a9aSPaul Mundt 505ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ 506ea0e1a9aSPaul Mundt int "Peripheral clock frequency (in Hz)" 5078152a74bSPaul Mundt depends on SH_CLK_CPG_LEGACY 508ea0e1a9aSPaul Mundt default "31250000" if CPU_SUBTYPE_SH7619 5098152a74bSPaul Mundt default "33333333" if CPU_SUBTYPE_SH7770 || \ 5108152a74bSPaul Mundt CPU_SUBTYPE_SH7760 || \ 5118152a74bSPaul Mundt CPU_SUBTYPE_SH7705 || \ 5128152a74bSPaul Mundt CPU_SUBTYPE_SH7203 || \ 5138152a74bSPaul Mundt CPU_SUBTYPE_SH7206 || \ 5148152a74bSPaul Mundt CPU_SUBTYPE_SH7263 || \ 51543a1839cSPaul Mundt CPU_SUBTYPE_MXG 516ea0e1a9aSPaul Mundt default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R 517ea0e1a9aSPaul Mundt default "50000000" 518ea0e1a9aSPaul Mundt help 519ea0e1a9aSPaul Mundt This option is used to specify the peripheral clock frequency. 520ea0e1a9aSPaul Mundt This is necessary for determining the reference clock value on 521ea0e1a9aSPaul Mundt platforms lacking an RTC. 522ea0e1a9aSPaul Mundt 52336aa1e32SPaul Mundtconfig SH_CLK_CPG 52436aa1e32SPaul Mundt def_bool y 52536aa1e32SPaul Mundt 526253b0887SPaul Mundtconfig SH_CLK_CPG_LEGACY 52736aa1e32SPaul Mundt depends on SH_CLK_CPG 52843a1839cSPaul Mundt def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \ 52951ce3068SPhil Edworthy !CPU_SHX3 && !CPU_SUBTYPE_SH7757 && \ 530bcb86e0aSPaul Mundt !CPU_SUBTYPE_SH7734 && !CPU_SUBTYPE_SH7264 && \ 531bcb86e0aSPaul Mundt !CPU_SUBTYPE_SH7269 532253b0887SPaul Mundt 533ea0e1a9aSPaul Mundtendmenu 534ea0e1a9aSPaul Mundt 535ea0e1a9aSPaul Mundtmenu "CPU Frequency scaling" 536ea0e1a9aSPaul Mundtsource "drivers/cpufreq/Kconfig" 537ea0e1a9aSPaul Mundtendmenu 538ea0e1a9aSPaul Mundt 539ea0e1a9aSPaul Mundtsource "arch/sh/drivers/Kconfig" 540ea0e1a9aSPaul Mundt 541ea0e1a9aSPaul Mundtendmenu 542ea0e1a9aSPaul Mundt 543ea0e1a9aSPaul Mundtmenu "Kernel features" 544ea0e1a9aSPaul Mundt 5458636a1f9SMasahiro Yamadasource "kernel/Kconfig.hz" 546ea0e1a9aSPaul Mundt 54740445d06SEric DeVolderconfig ARCH_SUPPORTS_KEXEC 54840445d06SEric DeVolder def_bool MMU 549ea0e1a9aSPaul Mundt 55040445d06SEric DeVolderconfig ARCH_SUPPORTS_CRASH_DUMP 55140445d06SEric DeVolder def_bool BROKEN_ON_SMP 552ea0e1a9aSPaul Mundt 55331daa343SDave Vasilevskyconfig ARCH_DEFAULT_CRASH_DUMP 55431daa343SDave Vasilevsky def_bool y 55531daa343SDave Vasilevsky 55640445d06SEric DeVolderconfig ARCH_SUPPORTS_KEXEC_JUMP 55740445d06SEric DeVolder def_bool y 558b7cf6ddcSMagnus Damm 559e66ac3f2SSimon Hormanconfig PHYSICAL_START 560e66ac3f2SSimon Horman hex "Physical address where the kernel is loaded" if (EXPERT || CRASH_DUMP) 561e66ac3f2SSimon Horman default MEMORY_START 562a7f7f624SMasahiro Yamada help 563e66ac3f2SSimon Horman This gives the physical address where the kernel is loaded 564e66ac3f2SSimon Horman and is ordinarily the same as MEMORY_START. 565e66ac3f2SSimon Horman 566e66ac3f2SSimon Horman Different values are primarily used in the case of kexec on panic 567e66ac3f2SSimon Horman where the fail safe kernel needs to run at a different address 568e66ac3f2SSimon Horman than the panic-ed kernel. 569e66ac3f2SSimon Horman 570ea0e1a9aSPaul Mundtconfig SMP 571ea0e1a9aSPaul Mundt bool "Symmetric multi-processing support" 572ea0e1a9aSPaul Mundt depends on SYS_SUPPORTS_SMP 573a7f7f624SMasahiro Yamada help 574ea0e1a9aSPaul Mundt This enables support for systems with more than one CPU. If you have 5754a474157SRobert Graffham a system with only one CPU, say N. If you have a system with more 5764a474157SRobert Graffham than one CPU, say Y. 577ea0e1a9aSPaul Mundt 5784a474157SRobert Graffham If you say N here, the kernel will run on uni- and multiprocessor 579ea0e1a9aSPaul Mundt machines, but will use only one CPU of a multiprocessor machine. If 580ea0e1a9aSPaul Mundt you say Y here, the kernel will run on many, but not all, 5814a474157SRobert Graffham uniprocessor machines. On a uniprocessor machine, the kernel 582ea0e1a9aSPaul Mundt will run faster if you say N here. 583ea0e1a9aSPaul Mundt 584ea0e1a9aSPaul Mundt People using multiprocessor machines who say Y here should also say 585ea0e1a9aSPaul Mundt Y to "Enhanced Real Time Clock Support", below. 586ea0e1a9aSPaul Mundt 5874f4cfa6cSMauro Carvalho Chehab See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO 58891194e9bSAlexander A. Klimov available at <https://www.tldp.org/docs.html#howto>. 589ea0e1a9aSPaul Mundt 590ea0e1a9aSPaul Mundt If you don't know what to do here, say N. 591ea0e1a9aSPaul Mundt 592ea0e1a9aSPaul Mundtconfig NR_CPUS 593ea0e1a9aSPaul Mundt int "Maximum number of CPUs (2-32)" 594ea0e1a9aSPaul Mundt range 2 32 595ea0e1a9aSPaul Mundt depends on SMP 5962eb2a436SPaul Mundt default "4" if CPU_SUBTYPE_SHX3 597ea0e1a9aSPaul Mundt default "2" 598ea0e1a9aSPaul Mundt help 599ea0e1a9aSPaul Mundt This allows you to specify the maximum number of CPUs which this 600ea0e1a9aSPaul Mundt kernel will support. The maximum supported value is 32 and the 601ea0e1a9aSPaul Mundt minimum value which makes sense is 2. 602ea0e1a9aSPaul Mundt 603ea0e1a9aSPaul Mundt This is purely to save memory - each supported CPU adds 604ea0e1a9aSPaul Mundt approximately eight kilobytes to the kernel image. 605ea0e1a9aSPaul Mundt 606763142d1SPaul Mundtconfig HOTPLUG_CPU 607763142d1SPaul Mundt bool "Support for hot-pluggable CPUs (EXPERIMENTAL)" 60840b31360SStephen Rothwell depends on SMP 609763142d1SPaul Mundt help 610763142d1SPaul Mundt Say Y here to experiment with turning CPUs off and on. CPUs 611763142d1SPaul Mundt can be controlled through /sys/devices/system/cpu. 612763142d1SPaul Mundt 613ea0e1a9aSPaul Mundtconfig GUSA 614ea0e1a9aSPaul Mundt def_bool y 61537744feeSArnd Bergmann depends on !SMP 616ea0e1a9aSPaul Mundt help 617ea0e1a9aSPaul Mundt This enables support for gUSA (general UserSpace Atomicity). 618ea0e1a9aSPaul Mundt This is the default implementation for both UP and non-ll/sc 619ea0e1a9aSPaul Mundt CPUs, and is used by the libc, amongst others. 620ea0e1a9aSPaul Mundt 621ea0e1a9aSPaul Mundt For additional information, design information can be found 622ea0e1a9aSPaul Mundt in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>. 623ea0e1a9aSPaul Mundt 624ea0e1a9aSPaul Mundt This should only be disabled for special cases where alternate 625ea0e1a9aSPaul Mundt atomicity implementations exist. 626ea0e1a9aSPaul Mundt 6271efe4ce3SStuart Menefyconfig GUSA_RB 6281efe4ce3SStuart Menefy bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)" 6291efe4ce3SStuart Menefy depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A) 6301efe4ce3SStuart Menefy help 6311efe4ce3SStuart Menefy Enabling this option will allow the kernel to implement some 632692105b8SMatt LaPlante atomic operations using a software implementation of load-locked/ 6331efe4ce3SStuart Menefy store-conditional (LLSC). On machines which do not have hardware 6341efe4ce3SStuart Menefy LLSC, this should be more efficient than the other alternative of 635692105b8SMatt LaPlante disabling interrupts around the atomic sequence. 6361efe4ce3SStuart Menefy 63786c8c047SMatt Flemingconfig HW_PERF_EVENTS 63886c8c047SMatt Fleming bool "Enable hardware performance counter support for perf events" 63986c8c047SMatt Fleming depends on PERF_EVENTS && CPU_HAS_PMU 64086c8c047SMatt Fleming default y 64186c8c047SMatt Fleming help 64286c8c047SMatt Fleming Enable hardware performance counter support for perf events. If 64386c8c047SMatt Fleming disabled, perf events will use software events only. 64486c8c047SMatt Fleming 64543b8774dSPaul Mundtsource "drivers/sh/Kconfig" 64643b8774dSPaul Mundt 647ea0e1a9aSPaul Mundtendmenu 648ea0e1a9aSPaul Mundt 649ea0e1a9aSPaul Mundtmenu "Boot options" 650ea0e1a9aSPaul Mundt 651*21bcc499SMasahiro Yamadaconfig BUILTIN_DTB 652190fe191SRich Felker bool "Use builtin DTB" 653190fe191SRich Felker default n 654190fe191SRich Felker depends on SH_DEVICE_TREE 655*21bcc499SMasahiro Yamada select GENERIC_BUILTIN_DTB 656190fe191SRich Felker help 657190fe191SRich Felker Link a device tree blob for particular hardware into the kernel, 658190fe191SRich Felker suppressing use of the DTB pointer provided by the bootloader. 659190fe191SRich Felker This option should only be used with legacy bootloaders that are 660190fe191SRich Felker not capable of providing a DTB to the kernel, or for experimental 661190fe191SRich Felker hardware without stable device tree bindings. 662190fe191SRich Felker 663*21bcc499SMasahiro Yamadaconfig BUILTIN_DTB_NAME 664190fe191SRich Felker string "Source file for builtin DTB" 665190fe191SRich Felker default "" 666*21bcc499SMasahiro Yamada depends on BUILTIN_DTB 667190fe191SRich Felker help 668190fe191SRich Felker Base name (without suffix, relative to arch/sh/boot/dts) for the 669190fe191SRich Felker a DTS file that will be used to produce the DTB linked into the 670190fe191SRich Felker kernel. 671190fe191SRich Felker 672ea0e1a9aSPaul Mundtconfig ZERO_PAGE_OFFSET 673b412a49aSPaul Mundt hex 674b412a49aSPaul Mundt default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \ 675b412a49aSPaul Mundt SH_7751_SOLUTION_ENGINE 676b412a49aSPaul Mundt default "0x00004000" if PAGE_SIZE_16KB || SH_SH03 677ea0e1a9aSPaul Mundt default "0x00002000" if PAGE_SIZE_8KB 678ea0e1a9aSPaul Mundt default "0x00001000" 679ea0e1a9aSPaul Mundt help 680ea0e1a9aSPaul Mundt This sets the default offset of zero page. 681ea0e1a9aSPaul Mundt 682ea0e1a9aSPaul Mundtconfig BOOT_LINK_OFFSET 683b412a49aSPaul Mundt hex 684b412a49aSPaul Mundt default "0x00210000" if SH_SHMIN 685b412a49aSPaul Mundt default "0x00810000" if SH_7780_SOLUTION_ENGINE 686b412a49aSPaul Mundt default "0x009e0000" if SH_TITAN 687b412a49aSPaul Mundt default "0x01800000" if SH_SDK7780 688b412a49aSPaul Mundt default "0x02000000" if SH_EDOSK7760 689ea0e1a9aSPaul Mundt default "0x00800000" 690ea0e1a9aSPaul Mundt help 691ea0e1a9aSPaul Mundt This option allows you to set the link address offset of the zImage. 692ea0e1a9aSPaul Mundt This can be useful if you are on a board which has a small amount of 693ea0e1a9aSPaul Mundt memory. 694ea0e1a9aSPaul Mundt 695b412a49aSPaul Mundtconfig ENTRY_OFFSET 696b412a49aSPaul Mundt hex 697b412a49aSPaul Mundt default "0x00001000" if PAGE_SIZE_4KB 698b412a49aSPaul Mundt default "0x00002000" if PAGE_SIZE_8KB 699b412a49aSPaul Mundt default "0x00004000" if PAGE_SIZE_16KB 700b412a49aSPaul Mundt default "0x00010000" if PAGE_SIZE_64KB 701b412a49aSPaul Mundt default "0x00000000" 702b412a49aSPaul Mundt 7034705b2e8SMagnus Dammconfig ROMIMAGE_MMCIF 7044705b2e8SMagnus Damm bool "Include MMCIF loader in romImage (EXPERIMENTAL)" 7050d57af1eSKees Cook depends on CPU_SUBTYPE_SH7724 7064705b2e8SMagnus Damm help 7074705b2e8SMagnus Damm Say Y here to include experimental MMCIF loading code in 7084705b2e8SMagnus Damm romImage. With this enabled it is possible to write the romImage 7094705b2e8SMagnus Damm kernel image to an MMC card and boot the kernel straight from 7104705b2e8SMagnus Damm the reset vector. At reset the processor Mask ROM will load the 7114705b2e8SMagnus Damm first part of the romImage which in turn loads the rest the kernel 7124705b2e8SMagnus Damm image to RAM using the MMCIF hardware block. 7134705b2e8SMagnus Damm 714d724a9c9SPawel Mollchoice 715d724a9c9SPawel Moll prompt "Kernel command line" 716d724a9c9SPawel Moll default CMDLINE_OVERWRITE 717d724a9c9SPawel Moll help 718d724a9c9SPawel Moll Setting this option allows the kernel command line arguments 719d724a9c9SPawel Moll to be set. 720d724a9c9SPawel Moll 721d724a9c9SPawel Mollconfig CMDLINE_OVERWRITE 722d724a9c9SPawel Moll bool "Overwrite bootloader kernel arguments" 723d724a9c9SPawel Moll help 724d724a9c9SPawel Moll Given string will overwrite any arguments passed in by 725d724a9c9SPawel Moll a bootloader. 726d724a9c9SPawel Moll 727d724a9c9SPawel Mollconfig CMDLINE_EXTEND 728d724a9c9SPawel Moll bool "Extend bootloader kernel arguments" 729d724a9c9SPawel Moll help 730d724a9c9SPawel Moll Given string will be concatenated with arguments passed in 731d724a9c9SPawel Moll by a bootloader. 732d724a9c9SPawel Moll 733d9a1dab6SMasahiro Yamadaconfig CMDLINE_FROM_BOOTLOADER 734d9a1dab6SMasahiro Yamada bool "Use bootloader kernel arguments" 735d9a1dab6SMasahiro Yamada help 736d9a1dab6SMasahiro Yamada Uses the command-line options passed by the boot loader. 737d9a1dab6SMasahiro Yamada 738d724a9c9SPawel Mollendchoice 739ea0e1a9aSPaul Mundt 740ea0e1a9aSPaul Mundtconfig CMDLINE 741d724a9c9SPawel Moll string "Kernel command line arguments string" 742d724a9c9SPawel Moll depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND 743ea0e1a9aSPaul Mundt default "console=ttySC1,115200" 744ea0e1a9aSPaul Mundt 745ea0e1a9aSPaul Mundtendmenu 746ea0e1a9aSPaul Mundt 747ea0e1a9aSPaul Mundtmenu "Bus options" 748ea0e1a9aSPaul Mundt 749ea0e1a9aSPaul Mundtconfig MAPLE 750ea0e1a9aSPaul Mundt bool "Maple Bus support" 751ea0e1a9aSPaul Mundt depends on SH_DREAMCAST 752ea0e1a9aSPaul Mundt help 753ea0e1a9aSPaul Mundt The Maple Bus is SEGA's serial communication bus for peripherals 754ea0e1a9aSPaul Mundt on the Dreamcast. Without this bus support you won't be able to 755ea0e1a9aSPaul Mundt get your Dreamcast keyboard etc to work, so most users 756ea0e1a9aSPaul Mundt probably want to say 'Y' here, unless you are only using the 757ea0e1a9aSPaul Mundt Dreamcast with a serial line terminal or a remote network 758ea0e1a9aSPaul Mundt connection. 759ea0e1a9aSPaul Mundt 760ea0e1a9aSPaul Mundtendmenu 761ea0e1a9aSPaul Mundt 762ea0e1a9aSPaul Mundtmenu "Power management options (EXPERIMENTAL)" 763f4cb5700SJohannes Berg 764c6f17cb2SMagnus Dammsource "kernel/power/Kconfig" 765c6f17cb2SMagnus Damm 766c6f17cb2SMagnus Dammsource "drivers/cpuidle/Kconfig" 767ea0e1a9aSPaul Mundt 768ea0e1a9aSPaul Mundtendmenu 769