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 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 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 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 1278a8e5462SGeert Uytterhoeven depends on !SH_SH4202_MICRODEV && !SH_SHMIN && !SH_HP6XX && \ 1288a8e5462SGeert Uytterhoeven !SH_SOLUTION_ENGINE 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 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 392ea0e1a9aSPaul Mundt 393178dd0cdSPaul Mundtconfig CPU_SUBTYPE_SH7723 394178dd0cdSPaul Mundt bool "Support SH7723 processor" 395178dd0cdSPaul Mundt select CPU_SH4A 396178dd0cdSPaul Mundt select CPU_SHX2 397dc65a977SPaul Mundt select ARCH_SHMOBILE 398178dd0cdSPaul Mundt select ARCH_SPARSEMEM_ENABLE 399fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 40016941a89SLaurent Pinchart select PINCTRL 401178dd0cdSPaul Mundt help 402178dd0cdSPaul Mundt Select SH7723 if you have an SH-MobileR2 CPU. 403178dd0cdSPaul Mundt 4040207a2efSKuninori Morimotoconfig CPU_SUBTYPE_SH7724 4050207a2efSKuninori Morimoto bool "Support SH7724 processor" 4060207a2efSKuninori Morimoto select CPU_SH4A 4070207a2efSKuninori Morimoto select CPU_SHX2 40859fe700dSPaul Mundt select ARCH_SHMOBILE 4090207a2efSKuninori Morimoto select ARCH_SPARSEMEM_ENABLE 410fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 41118ebd228SLaurent Pinchart select PINCTRL 4120207a2efSKuninori Morimoto help 4130207a2efSKuninori Morimoto Select SH7724 if you have an SH-MobileR2R CPU. 4140207a2efSKuninori Morimoto 415fea88a0cSNobuhiro Iwamatsuconfig CPU_SUBTYPE_SH7734 416fea88a0cSNobuhiro Iwamatsu bool "Support SH7734 processor" 417fea88a0cSNobuhiro Iwamatsu select CPU_SH4A 418fea88a0cSNobuhiro Iwamatsu select CPU_SHX2 4192c172182SLaurent Pinchart select PINCTRL 420fea88a0cSNobuhiro Iwamatsu help 421fea88a0cSNobuhiro Iwamatsu Select SH7734 if you have a SH4A SH7734 CPU. 422fea88a0cSNobuhiro Iwamatsu 423c01f0f1aSYoshihiro Shimodaconfig CPU_SUBTYPE_SH7757 424c01f0f1aSYoshihiro Shimoda bool "Support SH7757 processor" 425c01f0f1aSYoshihiro Shimoda select CPU_SH4A 426c01f0f1aSYoshihiro Shimoda select CPU_SHX2 427eb61b772SLaurent Pinchart select PINCTRL 428c01f0f1aSYoshihiro Shimoda help 429c01f0f1aSYoshihiro Shimoda Select SH7757 if you have a SH4A SH7757 CPU. 430c01f0f1aSYoshihiro Shimoda 4317d740a06SYoshihiro Shimodaconfig CPU_SUBTYPE_SH7763 4327d740a06SYoshihiro Shimoda bool "Support SH7763 processor" 4337d740a06SYoshihiro Shimoda select CPU_SH4A 4347b61ca5dSPaul Mundt select USB_OHCI_SH if USB_OHCI_HCD 4357d740a06SYoshihiro Shimoda help 4367d740a06SYoshihiro Shimoda Select SH7763 if you have a SH4A SH7763(R5S77631) CPU. 4377d740a06SYoshihiro Shimoda 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 451ea0e1a9aSPaul Mundt select SYS_SUPPORTS_NUMA 45277bd27b2SLaurent Pinchart select PINCTRL 453ea0e1a9aSPaul Mundt 45455ba99ebSKuninori Morimotoconfig CPU_SUBTYPE_SH7786 45555ba99ebSKuninori Morimoto bool "Support SH7786 processor" 45655ba99ebSKuninori Morimoto select CPU_SH4A 45737042fbdSPaul Mundt select CPU_SHX3 4588263a67eSPaul Mundt select CPU_HAS_PTEAEX 4592eb2a436SPaul Mundt select GENERIC_CLOCKEVENTS_BROADCAST if SMP 4607b61ca5dSPaul Mundt select USB_OHCI_SH if USB_OHCI_HCD 4617b61ca5dSPaul Mundt select USB_EHCI_SH if USB_EHCI_HCD 462c0fdbff9SLaurent Pinchart select PINCTRL 46355ba99ebSKuninori Morimoto 464ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SHX3 465ea0e1a9aSPaul Mundt bool "Support SH-X3 processor" 466ea0e1a9aSPaul Mundt select CPU_SH4A 467ea0e1a9aSPaul Mundt select CPU_SHX3 4685840263eSPaul Mundt select GENERIC_CLOCKEVENTS_BROADCAST if SMP 469fdcfdfa1SLinus Walleij select GPIOLIB 4703e347f08SLaurent Pinchart select PINCTRL 471ea0e1a9aSPaul Mundt 472ea0e1a9aSPaul Mundt# SH4AL-DSP Processor Support 473ea0e1a9aSPaul Mundt 474ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7343 475ea0e1a9aSPaul Mundt bool "Support SH7343 processor" 476ea0e1a9aSPaul Mundt select CPU_SH4AL_DSP 477dc65a977SPaul Mundt select ARCH_SHMOBILE 478fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 479ea0e1a9aSPaul Mundt 480ea0e1a9aSPaul Mundtconfig CPU_SUBTYPE_SH7722 481ea0e1a9aSPaul Mundt bool "Support SH7722 processor" 482ea0e1a9aSPaul Mundt select CPU_SH4AL_DSP 483ea0e1a9aSPaul Mundt select CPU_SHX2 484dc65a977SPaul Mundt select ARCH_SHMOBILE 485ea0e1a9aSPaul Mundt select ARCH_SPARSEMEM_ENABLE 486ea0e1a9aSPaul Mundt select SYS_SUPPORTS_NUMA 487fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 488ef97c3c1SLaurent Pinchart select PINCTRL 489ea0e1a9aSPaul Mundt 4909109a30eSMagnus Dammconfig CPU_SUBTYPE_SH7366 4919109a30eSMagnus Damm bool "Support SH7366 processor" 4929109a30eSMagnus Damm select CPU_SH4AL_DSP 4939109a30eSMagnus Damm select CPU_SHX2 494dc65a977SPaul Mundt select ARCH_SHMOBILE 4959109a30eSMagnus Damm select ARCH_SPARSEMEM_ENABLE 4969109a30eSMagnus Damm select SYS_SUPPORTS_NUMA 497fbfa8934SMagnus Damm select SYS_SUPPORTS_SH_CMT 4989109a30eSMagnus Damm 4993cc000b5SPaul Mundtendchoice 5003cc000b5SPaul Mundt 501ea0e1a9aSPaul Mundtsource "arch/sh/mm/Kconfig" 502939a24a6SPaul Mundt 503ea0e1a9aSPaul Mundtsource "arch/sh/Kconfig.cpu" 504ea0e1a9aSPaul Mundt 505939a24a6SPaul Mundtsource "arch/sh/boards/Kconfig" 506ea0e1a9aSPaul Mundt 507ea0e1a9aSPaul Mundtmenu "Timer and clock configuration" 508ea0e1a9aSPaul Mundt 509ea0e1a9aSPaul Mundtconfig SH_PCLK_FREQ 510ea0e1a9aSPaul Mundt int "Peripheral clock frequency (in Hz)" 5118152a74bSPaul Mundt depends on SH_CLK_CPG_LEGACY 512ea0e1a9aSPaul 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 || \ 5188152a74bSPaul Mundt CPU_SUBTYPE_SH7263 || \ 51943a1839cSPaul 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. 527ea0e1a9aSPaul Mundt 52836aa1e32SPaul Mundtconfig SH_CLK_CPG 52936aa1e32SPaul Mundt def_bool y 53036aa1e32SPaul Mundt 531253b0887SPaul Mundtconfig SH_CLK_CPG_LEGACY 53236aa1e32SPaul Mundt depends on SH_CLK_CPG 53343a1839cSPaul Mundt def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \ 53451ce3068SPhil Edworthy !CPU_SHX3 && !CPU_SUBTYPE_SH7757 && \ 535bcb86e0aSPaul Mundt !CPU_SUBTYPE_SH7734 && !CPU_SUBTYPE_SH7264 && \ 536bcb86e0aSPaul Mundt !CPU_SUBTYPE_SH7269 537253b0887SPaul 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" 549ea0e1a9aSPaul Mundt 5508636a1f9SMasahiro Yamadasource "kernel/Kconfig.hz" 551ea0e1a9aSPaul Mundt 552*40445d06SEric DeVolderconfig ARCH_SUPPORTS_KEXEC 553*40445d06SEric DeVolder def_bool MMU 554ea0e1a9aSPaul Mundt 555*40445d06SEric DeVolderconfig ARCH_SUPPORTS_CRASH_DUMP 556*40445d06SEric DeVolder def_bool BROKEN_ON_SMP 557ea0e1a9aSPaul Mundt 558*40445d06SEric DeVolderconfig ARCH_SUPPORTS_KEXEC_JUMP 559*40445d06SEric DeVolder def_bool y 560b7cf6ddcSMagnus Damm 561e66ac3f2SSimon Hormanconfig PHYSICAL_START 562e66ac3f2SSimon Horman hex "Physical address where the kernel is loaded" if (EXPERT || CRASH_DUMP) 563e66ac3f2SSimon Horman default MEMORY_START 564a7f7f624SMasahiro Yamada 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. 571e66ac3f2SSimon Horman 572ea0e1a9aSPaul Mundtconfig SMP 573ea0e1a9aSPaul Mundt bool "Symmetric multi-processing support" 574ea0e1a9aSPaul Mundt depends on SYS_SUPPORTS_SMP 575a7f7f624SMasahiro Yamada help 576ea0e1a9aSPaul Mundt 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 5784a474157SRobert Graffham than one CPU, say Y. 579ea0e1a9aSPaul Mundt 5804a474157SRobert Graffham 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 582ea0e1a9aSPaul Mundt you say Y here, the kernel will run on many, but not all, 5834a474157SRobert Graffham 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. 588ea0e1a9aSPaul Mundt 5894f4cfa6cSMauro Carvalho Chehab See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO 59091194e9bSAlexander A. Klimov 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 597ea0e1a9aSPaul Mundt depends on SMP 5982eb2a436SPaul 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. 607ea0e1a9aSPaul Mundt 608763142d1SPaul Mundtconfig HOTPLUG_CPU 609763142d1SPaul Mundt bool "Support for hot-pluggable CPUs (EXPERIMENTAL)" 61040b31360SStephen Rothwell 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. 614763142d1SPaul Mundt 615ea0e1a9aSPaul Mundtconfig GUSA 616ea0e1a9aSPaul Mundt def_bool y 61737744feeSArnd Bergmann 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. 628ea0e1a9aSPaul Mundt 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 6331efe4ce3SStuart Menefy Enabling this option will allow the kernel to implement some 634692105b8SMatt LaPlante atomic operations using a software implementation of load-locked/ 6351efe4ce3SStuart Menefy store-conditional (LLSC). On machines which do not have hardware 6361efe4ce3SStuart Menefy LLSC, this should be more efficient than the other alternative of 637692105b8SMatt LaPlante disabling interrupts around the atomic sequence. 6381efe4ce3SStuart Menefy 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. 64686c8c047SMatt Fleming 64743b8774dSPaul Mundtsource "drivers/sh/Kconfig" 64843b8774dSPaul Mundt 649ea0e1a9aSPaul Mundtendmenu 650ea0e1a9aSPaul Mundt 651ea0e1a9aSPaul Mundtmenu "Boot options" 652ea0e1a9aSPaul Mundt 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. 672190fe191SRich Felker 673ea0e1a9aSPaul Mundtconfig ZERO_PAGE_OFFSET 674b412a49aSPaul Mundt hex 675b412a49aSPaul Mundt default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \ 676b412a49aSPaul Mundt SH_7751_SOLUTION_ENGINE 677b412a49aSPaul 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 683ea0e1a9aSPaul 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 689b412a49aSPaul 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. 695ea0e1a9aSPaul 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" 703b412a49aSPaul Mundt 7044705b2e8SMagnus Dammconfig ROMIMAGE_MMCIF 7054705b2e8SMagnus Damm bool "Include MMCIF loader in romImage (EXPERIMENTAL)" 7060d57af1eSKees Cook 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. 7144705b2e8SMagnus Damm 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 735d724a9c9SPawel Mollendchoice 736ea0e1a9aSPaul Mundt 737ea0e1a9aSPaul Mundtconfig CMDLINE 738d724a9c9SPawel Moll string "Kernel command line arguments string" 739d724a9c9SPawel Moll 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 763ea0e1a9aSPaul Mundtmenu "Power management options (EXPERIMENTAL)" 764f4cb5700SJohannes Berg 765c6f17cb2SMagnus Dammsource "kernel/power/Kconfig" 766c6f17cb2SMagnus Damm 767c6f17cb2SMagnus Dammsource "drivers/cpuidle/Kconfig" 768ea0e1a9aSPaul Mundt 769ea0e1a9aSPaul Mundtendmenu 770