1# SPDX-License-Identifier: GPL-2.0 2config SUPERH 3 def_bool y 4 select ARCH_32BIT_OFF_T 5 select ARCH_ENABLE_MEMORY_HOTPLUG if SPARSEMEM && MMU 6 select ARCH_ENABLE_MEMORY_HOTREMOVE if SPARSEMEM && MMU 7 select ARCH_HAVE_CUSTOM_GPIO_H 8 select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) 9 select ARCH_HAS_BINFMT_FLAT if !MMU 10 select ARCH_HAS_GIGANTIC_PAGE 11 select ARCH_HAS_GCOV_PROFILE_ALL 12 select ARCH_HAS_PTE_SPECIAL 13 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST 14 select ARCH_HIBERNATION_POSSIBLE if MMU 15 select ARCH_MIGHT_HAVE_PC_PARPORT 16 select ARCH_WANT_IPC_PARSE_VERSION 17 select CPU_NO_EFFICIENT_FFS 18 select DMA_DECLARE_COHERENT 19 select GENERIC_ATOMIC64 20 select GENERIC_CMOS_UPDATE if SH_SH03 || SH_DREAMCAST 21 select GENERIC_IDLE_POLL_SETUP 22 select GENERIC_IRQ_SHOW 23 select GENERIC_PCI_IOMAP if PCI 24 select GENERIC_SCHED_CLOCK 25 select GENERIC_SMP_IDLE_THREAD 26 select GUP_GET_PTE_LOW_HIGH if X2TLB 27 select HAVE_ARCH_AUDITSYSCALL 28 select HAVE_ARCH_KGDB 29 select HAVE_ARCH_SECCOMP_FILTER 30 select HAVE_ARCH_TRACEHOOK 31 select HAVE_DEBUG_BUGVERBOSE 32 select HAVE_DEBUG_KMEMLEAK 33 select HAVE_DYNAMIC_FTRACE 34 select HAVE_FAST_GUP if MMU 35 select HAVE_FUNCTION_GRAPH_TRACER 36 select HAVE_FUNCTION_TRACER 37 select HAVE_FTRACE_MCOUNT_RECORD 38 select HAVE_HW_BREAKPOINT 39 select HAVE_IOREMAP_PROT if MMU && !X2TLB 40 select HAVE_KERNEL_BZIP2 41 select HAVE_KERNEL_GZIP 42 select HAVE_KERNEL_LZMA 43 select HAVE_KERNEL_LZO 44 select HAVE_KERNEL_XZ 45 select HAVE_KPROBES 46 select HAVE_KRETPROBES 47 select HAVE_MIXED_BREAKPOINTS_REGS 48 select HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER 49 select HAVE_NMI 50 select HAVE_PATA_PLATFORM 51 select HAVE_PERF_EVENTS 52 select HAVE_REGS_AND_STACK_ACCESS_API 53 select HAVE_UID16 54 select HAVE_SOFTIRQ_ON_OWN_STACK if IRQSTACKS 55 select HAVE_STACKPROTECTOR 56 select HAVE_SYSCALL_TRACEPOINTS 57 select IRQ_FORCED_THREADING 58 select MODULES_USE_ELF_RELA 59 select NEED_SG_DMA_LENGTH 60 select NO_DMA if !MMU && !DMA_COHERENT 61 select NO_GENERIC_PCI_IOPORT_MAP if PCI 62 select OLD_SIGACTION 63 select OLD_SIGSUSPEND 64 select PCI_DOMAINS if PCI 65 select PERF_EVENTS 66 select PERF_USE_VMALLOC 67 select RTC_LIB 68 select SPARSE_IRQ 69 select TRACE_IRQFLAGS_SUPPORT 70 help 71 The SuperH is a RISC processor targeted for use in embedded systems 72 and consumer electronics; it was also used in the Sega Dreamcast 73 gaming console. The SuperH port has a home page at 74 <http://www.linux-sh.org/>. 75 76config GENERIC_BUG 77 def_bool y 78 depends on BUG 79 80config GENERIC_HWEIGHT 81 def_bool y 82 83config GENERIC_CALIBRATE_DELAY 84 bool 85 86config GENERIC_LOCKBREAK 87 def_bool y 88 depends on SMP && PREEMPTION 89 90config ARCH_SUSPEND_POSSIBLE 91 def_bool n 92 93config ARCH_HIBERNATION_POSSIBLE 94 def_bool n 95 96config SYS_SUPPORTS_APM_EMULATION 97 bool 98 select ARCH_SUSPEND_POSSIBLE 99 100config SYS_SUPPORTS_SMP 101 bool 102 103config SYS_SUPPORTS_NUMA 104 bool 105 106config STACKTRACE_SUPPORT 107 def_bool y 108 109config LOCKDEP_SUPPORT 110 def_bool y 111 112config ARCH_HAS_ILOG2_U32 113 def_bool n 114 115config ARCH_HAS_ILOG2_U64 116 def_bool n 117 118config NO_IOPORT_MAP 119 def_bool !PCI 120 depends on !SH_SH4202_MICRODEV && !SH_SHMIN && !SH_HP6XX && \ 121 !SH_SOLUTION_ENGINE 122 123config IO_TRAPPED 124 bool 125 126config SWAP_IO_SPACE 127 bool 128 129config DMA_COHERENT 130 bool 131 132config DMA_NONCOHERENT 133 def_bool !NO_DMA && !DMA_COHERENT 134 select ARCH_HAS_DMA_PREP_COHERENT 135 select ARCH_HAS_SYNC_DMA_FOR_DEVICE 136 select DMA_DIRECT_REMAP 137 138config PGTABLE_LEVELS 139 default 3 if X2TLB 140 default 2 141 142menu "System type" 143 144# 145# Processor families 146# 147config CPU_SH2 148 bool 149 select SH_INTC 150 151config CPU_SH2A 152 bool 153 select CPU_SH2 154 select UNCACHED_MAPPING 155 156config CPU_J2 157 bool 158 select CPU_SH2 159 select OF 160 select OF_EARLY_FLATTREE 161 162config CPU_SH3 163 bool 164 select CPU_HAS_INTEVT 165 select CPU_HAS_SR_RB 166 select SH_INTC 167 select SYS_SUPPORTS_SH_TMU 168 169config CPU_SH4 170 bool 171 select ARCH_SUPPORTS_HUGETLBFS if MMU 172 select CPU_HAS_INTEVT 173 select CPU_HAS_SR_RB 174 select CPU_HAS_FPU if !CPU_SH4AL_DSP 175 select SH_INTC 176 select SYS_SUPPORTS_SH_TMU 177 178config CPU_SH4A 179 bool 180 select CPU_SH4 181 182config CPU_SH4AL_DSP 183 bool 184 select CPU_SH4A 185 select CPU_HAS_DSP 186 187config CPU_SHX2 188 bool 189 190config CPU_SHX3 191 bool 192 select DMA_COHERENT 193 select SYS_SUPPORTS_SMP 194 select SYS_SUPPORTS_NUMA 195 196config ARCH_SHMOBILE 197 bool 198 select ARCH_SUSPEND_POSSIBLE 199 select PM 200 201config CPU_HAS_PMU 202 depends on CPU_SH4 || CPU_SH4A 203 default y 204 bool 205 206choice 207 prompt "Processor sub-type selection" 208 209# 210# Processor subtypes 211# 212 213# SH-2 Processor Support 214 215config CPU_SUBTYPE_SH7619 216 bool "Support SH7619 processor" 217 select CPU_SH2 218 select SYS_SUPPORTS_SH_CMT 219 220config CPU_SUBTYPE_J2 221 bool "Support J2 processor" 222 select CPU_J2 223 select SYS_SUPPORTS_SMP 224 select GENERIC_CLOCKEVENTS_BROADCAST if SMP 225 226# SH-2A Processor Support 227 228config CPU_SUBTYPE_SH7201 229 bool "Support SH7201 processor" 230 select CPU_SH2A 231 select CPU_HAS_FPU 232 select SYS_SUPPORTS_SH_MTU2 233 234config CPU_SUBTYPE_SH7203 235 bool "Support SH7203 processor" 236 select CPU_SH2A 237 select CPU_HAS_FPU 238 select SYS_SUPPORTS_SH_CMT 239 select SYS_SUPPORTS_SH_MTU2 240 select PINCTRL 241 242config CPU_SUBTYPE_SH7206 243 bool "Support SH7206 processor" 244 select CPU_SH2A 245 select SYS_SUPPORTS_SH_CMT 246 select SYS_SUPPORTS_SH_MTU2 247 248config CPU_SUBTYPE_SH7263 249 bool "Support SH7263 processor" 250 select CPU_SH2A 251 select CPU_HAS_FPU 252 select SYS_SUPPORTS_SH_CMT 253 select SYS_SUPPORTS_SH_MTU2 254 255config CPU_SUBTYPE_SH7264 256 bool "Support SH7264 processor" 257 select CPU_SH2A 258 select CPU_HAS_FPU 259 select SYS_SUPPORTS_SH_CMT 260 select SYS_SUPPORTS_SH_MTU2 261 select PINCTRL 262 263config CPU_SUBTYPE_SH7269 264 bool "Support SH7269 processor" 265 select CPU_SH2A 266 select CPU_HAS_FPU 267 select SYS_SUPPORTS_SH_CMT 268 select SYS_SUPPORTS_SH_MTU2 269 select PINCTRL 270 271config CPU_SUBTYPE_MXG 272 bool "Support MX-G processor" 273 select CPU_SH2A 274 select SYS_SUPPORTS_SH_MTU2 275 help 276 Select MX-G if running on an R8A03022BG part. 277 278# SH-3 Processor Support 279 280config CPU_SUBTYPE_SH7705 281 bool "Support SH7705 processor" 282 select CPU_SH3 283 284config CPU_SUBTYPE_SH7706 285 bool "Support SH7706 processor" 286 select CPU_SH3 287 help 288 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU. 289 290config CPU_SUBTYPE_SH7707 291 bool "Support SH7707 processor" 292 select CPU_SH3 293 help 294 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU. 295 296config CPU_SUBTYPE_SH7708 297 bool "Support SH7708 processor" 298 select CPU_SH3 299 help 300 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or 301 if you have a 100 Mhz SH-3 HD6417708R CPU. 302 303config CPU_SUBTYPE_SH7709 304 bool "Support SH7709 processor" 305 select CPU_SH3 306 help 307 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. 308 309config CPU_SUBTYPE_SH7710 310 bool "Support SH7710 processor" 311 select CPU_SH3 312 select CPU_HAS_DSP 313 help 314 Select SH7710 if you have a SH3-DSP SH7710 CPU. 315 316config CPU_SUBTYPE_SH7712 317 bool "Support SH7712 processor" 318 select CPU_SH3 319 select CPU_HAS_DSP 320 help 321 Select SH7712 if you have a SH3-DSP SH7712 CPU. 322 323config CPU_SUBTYPE_SH7720 324 bool "Support SH7720 processor" 325 select CPU_SH3 326 select CPU_HAS_DSP 327 select SYS_SUPPORTS_SH_CMT 328 select USB_OHCI_SH if USB_OHCI_HCD 329 select PINCTRL 330 help 331 Select SH7720 if you have a SH3-DSP SH7720 CPU. 332 333config CPU_SUBTYPE_SH7721 334 bool "Support SH7721 processor" 335 select CPU_SH3 336 select CPU_HAS_DSP 337 select SYS_SUPPORTS_SH_CMT 338 select USB_OHCI_SH if USB_OHCI_HCD 339 help 340 Select SH7721 if you have a SH3-DSP SH7721 CPU. 341 342# SH-4 Processor Support 343 344config CPU_SUBTYPE_SH7750 345 bool "Support SH7750 processor" 346 select CPU_SH4 347 help 348 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. 349 350config CPU_SUBTYPE_SH7091 351 bool "Support SH7091 processor" 352 select CPU_SH4 353 help 354 Select SH7091 if you have an SH-4 based Sega device (such as 355 the Dreamcast, Naomi, and Naomi 2). 356 357config CPU_SUBTYPE_SH7750R 358 bool "Support SH7750R processor" 359 select CPU_SH4 360 361config CPU_SUBTYPE_SH7750S 362 bool "Support SH7750S processor" 363 select CPU_SH4 364 365config CPU_SUBTYPE_SH7751 366 bool "Support SH7751 processor" 367 select CPU_SH4 368 help 369 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, 370 or if you have a HD6417751R CPU. 371 372config CPU_SUBTYPE_SH7751R 373 bool "Support SH7751R processor" 374 select CPU_SH4 375 376config CPU_SUBTYPE_SH7760 377 bool "Support SH7760 processor" 378 select CPU_SH4 379 380config CPU_SUBTYPE_SH4_202 381 bool "Support SH4-202 processor" 382 select CPU_SH4 383 384# SH-4A Processor Support 385 386config CPU_SUBTYPE_SH7723 387 bool "Support SH7723 processor" 388 select CPU_SH4A 389 select CPU_SHX2 390 select ARCH_SHMOBILE 391 select ARCH_SPARSEMEM_ENABLE 392 select SYS_SUPPORTS_SH_CMT 393 select PINCTRL 394 help 395 Select SH7723 if you have an SH-MobileR2 CPU. 396 397config CPU_SUBTYPE_SH7724 398 bool "Support SH7724 processor" 399 select CPU_SH4A 400 select CPU_SHX2 401 select ARCH_SHMOBILE 402 select ARCH_SPARSEMEM_ENABLE 403 select SYS_SUPPORTS_SH_CMT 404 select PINCTRL 405 help 406 Select SH7724 if you have an SH-MobileR2R CPU. 407 408config CPU_SUBTYPE_SH7734 409 bool "Support SH7734 processor" 410 select CPU_SH4A 411 select CPU_SHX2 412 select PINCTRL 413 help 414 Select SH7734 if you have a SH4A SH7734 CPU. 415 416config CPU_SUBTYPE_SH7757 417 bool "Support SH7757 processor" 418 select CPU_SH4A 419 select CPU_SHX2 420 select PINCTRL 421 help 422 Select SH7757 if you have a SH4A SH7757 CPU. 423 424config CPU_SUBTYPE_SH7763 425 bool "Support SH7763 processor" 426 select CPU_SH4A 427 select USB_OHCI_SH if USB_OHCI_HCD 428 help 429 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU. 430 431config CPU_SUBTYPE_SH7770 432 bool "Support SH7770 processor" 433 select CPU_SH4A 434 435config CPU_SUBTYPE_SH7780 436 bool "Support SH7780 processor" 437 select CPU_SH4A 438 439config CPU_SUBTYPE_SH7785 440 bool "Support SH7785 processor" 441 select CPU_SH4A 442 select CPU_SHX2 443 select ARCH_SPARSEMEM_ENABLE 444 select SYS_SUPPORTS_NUMA 445 select PINCTRL 446 447config CPU_SUBTYPE_SH7786 448 bool "Support SH7786 processor" 449 select CPU_SH4A 450 select CPU_SHX3 451 select CPU_HAS_PTEAEX 452 select GENERIC_CLOCKEVENTS_BROADCAST if SMP 453 select USB_OHCI_SH if USB_OHCI_HCD 454 select USB_EHCI_SH if USB_EHCI_HCD 455 select PINCTRL 456 457config CPU_SUBTYPE_SHX3 458 bool "Support SH-X3 processor" 459 select CPU_SH4A 460 select CPU_SHX3 461 select GENERIC_CLOCKEVENTS_BROADCAST if SMP 462 select GPIOLIB 463 select PINCTRL 464 465# SH4AL-DSP Processor Support 466 467config CPU_SUBTYPE_SH7343 468 bool "Support SH7343 processor" 469 select CPU_SH4AL_DSP 470 select ARCH_SHMOBILE 471 select SYS_SUPPORTS_SH_CMT 472 473config CPU_SUBTYPE_SH7722 474 bool "Support SH7722 processor" 475 select CPU_SH4AL_DSP 476 select CPU_SHX2 477 select ARCH_SHMOBILE 478 select ARCH_SPARSEMEM_ENABLE 479 select SYS_SUPPORTS_NUMA 480 select SYS_SUPPORTS_SH_CMT 481 select PINCTRL 482 483config CPU_SUBTYPE_SH7366 484 bool "Support SH7366 processor" 485 select CPU_SH4AL_DSP 486 select CPU_SHX2 487 select ARCH_SHMOBILE 488 select ARCH_SPARSEMEM_ENABLE 489 select SYS_SUPPORTS_NUMA 490 select SYS_SUPPORTS_SH_CMT 491 492endchoice 493 494source "arch/sh/mm/Kconfig" 495 496source "arch/sh/Kconfig.cpu" 497 498source "arch/sh/boards/Kconfig" 499 500menu "Timer and clock configuration" 501 502config SH_PCLK_FREQ 503 int "Peripheral clock frequency (in Hz)" 504 depends on SH_CLK_CPG_LEGACY 505 default "31250000" if CPU_SUBTYPE_SH7619 506 default "33333333" if CPU_SUBTYPE_SH7770 || \ 507 CPU_SUBTYPE_SH7760 || \ 508 CPU_SUBTYPE_SH7705 || \ 509 CPU_SUBTYPE_SH7203 || \ 510 CPU_SUBTYPE_SH7206 || \ 511 CPU_SUBTYPE_SH7263 || \ 512 CPU_SUBTYPE_MXG 513 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R 514 default "66000000" if CPU_SUBTYPE_SH4_202 515 default "50000000" 516 help 517 This option is used to specify the peripheral clock frequency. 518 This is necessary for determining the reference clock value on 519 platforms lacking an RTC. 520 521config SH_CLK_CPG 522 def_bool y 523 524config SH_CLK_CPG_LEGACY 525 depends on SH_CLK_CPG 526 def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \ 527 !CPU_SHX3 && !CPU_SUBTYPE_SH7757 && \ 528 !CPU_SUBTYPE_SH7734 && !CPU_SUBTYPE_SH7264 && \ 529 !CPU_SUBTYPE_SH7269 530 531endmenu 532 533menu "CPU Frequency scaling" 534source "drivers/cpufreq/Kconfig" 535endmenu 536 537source "arch/sh/drivers/Kconfig" 538 539endmenu 540 541menu "Kernel features" 542 543source "kernel/Kconfig.hz" 544 545config KEXEC 546 bool "kexec system call (EXPERIMENTAL)" 547 depends on MMU 548 select KEXEC_CORE 549 help 550 kexec is a system call that implements the ability to shutdown your 551 current kernel, and to start another kernel. It is like a reboot 552 but it is independent of the system firmware. And like a reboot 553 you can start any kernel with it, not just Linux. 554 555 The name comes from the similarity to the exec system call. 556 557 It is an ongoing process to be certain the hardware in a machine 558 is properly shutdown, so do not be surprised if this code does not 559 initially work for you. As of this writing the exact hardware 560 interface is strongly in flux, so no good recommendation can be 561 made. 562 563config CRASH_DUMP 564 bool "kernel crash dumps (EXPERIMENTAL)" 565 depends on BROKEN_ON_SMP 566 help 567 Generate crash dump after being started by kexec. 568 This should be normally only set in special crash dump kernels 569 which are loaded in the main kernel with kexec-tools into 570 a specially reserved region and then later executed after 571 a crash by kdump/kexec. The crash dump kernel must be compiled 572 to a memory address not used by the main kernel using 573 PHYSICAL_START. 574 575 For more details see Documentation/admin-guide/kdump/kdump.rst 576 577config KEXEC_JUMP 578 bool "kexec jump (EXPERIMENTAL)" 579 depends on KEXEC && HIBERNATION 580 help 581 Jump between original kernel and kexeced kernel and invoke 582 code via KEXEC 583 584config PHYSICAL_START 585 hex "Physical address where the kernel is loaded" if (EXPERT || CRASH_DUMP) 586 default MEMORY_START 587 help 588 This gives the physical address where the kernel is loaded 589 and is ordinarily the same as MEMORY_START. 590 591 Different values are primarily used in the case of kexec on panic 592 where the fail safe kernel needs to run at a different address 593 than the panic-ed kernel. 594 595config SMP 596 bool "Symmetric multi-processing support" 597 depends on SYS_SUPPORTS_SMP 598 help 599 This enables support for systems with more than one CPU. If you have 600 a system with only one CPU, say N. If you have a system with more 601 than one CPU, say Y. 602 603 If you say N here, the kernel will run on uni- and multiprocessor 604 machines, but will use only one CPU of a multiprocessor machine. If 605 you say Y here, the kernel will run on many, but not all, 606 uniprocessor machines. On a uniprocessor machine, the kernel 607 will run faster if you say N here. 608 609 People using multiprocessor machines who say Y here should also say 610 Y to "Enhanced Real Time Clock Support", below. 611 612 See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO 613 available at <https://www.tldp.org/docs.html#howto>. 614 615 If you don't know what to do here, say N. 616 617config NR_CPUS 618 int "Maximum number of CPUs (2-32)" 619 range 2 32 620 depends on SMP 621 default "4" if CPU_SUBTYPE_SHX3 622 default "2" 623 help 624 This allows you to specify the maximum number of CPUs which this 625 kernel will support. The maximum supported value is 32 and the 626 minimum value which makes sense is 2. 627 628 This is purely to save memory - each supported CPU adds 629 approximately eight kilobytes to the kernel image. 630 631config HOTPLUG_CPU 632 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)" 633 depends on SMP 634 help 635 Say Y here to experiment with turning CPUs off and on. CPUs 636 can be controlled through /sys/devices/system/cpu. 637 638config GUSA 639 def_bool y 640 depends on !SMP 641 help 642 This enables support for gUSA (general UserSpace Atomicity). 643 This is the default implementation for both UP and non-ll/sc 644 CPUs, and is used by the libc, amongst others. 645 646 For additional information, design information can be found 647 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>. 648 649 This should only be disabled for special cases where alternate 650 atomicity implementations exist. 651 652config GUSA_RB 653 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)" 654 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A) 655 help 656 Enabling this option will allow the kernel to implement some 657 atomic operations using a software implementation of load-locked/ 658 store-conditional (LLSC). On machines which do not have hardware 659 LLSC, this should be more efficient than the other alternative of 660 disabling interrupts around the atomic sequence. 661 662config HW_PERF_EVENTS 663 bool "Enable hardware performance counter support for perf events" 664 depends on PERF_EVENTS && CPU_HAS_PMU 665 default y 666 help 667 Enable hardware performance counter support for perf events. If 668 disabled, perf events will use software events only. 669 670source "drivers/sh/Kconfig" 671 672endmenu 673 674menu "Boot options" 675 676config USE_BUILTIN_DTB 677 bool "Use builtin DTB" 678 default n 679 depends on SH_DEVICE_TREE 680 help 681 Link a device tree blob for particular hardware into the kernel, 682 suppressing use of the DTB pointer provided by the bootloader. 683 This option should only be used with legacy bootloaders that are 684 not capable of providing a DTB to the kernel, or for experimental 685 hardware without stable device tree bindings. 686 687config BUILTIN_DTB_SOURCE 688 string "Source file for builtin DTB" 689 default "" 690 depends on USE_BUILTIN_DTB 691 help 692 Base name (without suffix, relative to arch/sh/boot/dts) for the 693 a DTS file that will be used to produce the DTB linked into the 694 kernel. 695 696config ZERO_PAGE_OFFSET 697 hex 698 default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \ 699 SH_7751_SOLUTION_ENGINE 700 default "0x00004000" if PAGE_SIZE_16KB || SH_SH03 701 default "0x00002000" if PAGE_SIZE_8KB 702 default "0x00001000" 703 help 704 This sets the default offset of zero page. 705 706config BOOT_LINK_OFFSET 707 hex 708 default "0x00210000" if SH_SHMIN 709 default "0x00810000" if SH_7780_SOLUTION_ENGINE 710 default "0x009e0000" if SH_TITAN 711 default "0x01800000" if SH_SDK7780 712 default "0x02000000" if SH_EDOSK7760 713 default "0x00800000" 714 help 715 This option allows you to set the link address offset of the zImage. 716 This can be useful if you are on a board which has a small amount of 717 memory. 718 719config ENTRY_OFFSET 720 hex 721 default "0x00001000" if PAGE_SIZE_4KB 722 default "0x00002000" if PAGE_SIZE_8KB 723 default "0x00004000" if PAGE_SIZE_16KB 724 default "0x00010000" if PAGE_SIZE_64KB 725 default "0x00000000" 726 727config ROMIMAGE_MMCIF 728 bool "Include MMCIF loader in romImage (EXPERIMENTAL)" 729 depends on CPU_SUBTYPE_SH7724 730 help 731 Say Y here to include experimental MMCIF loading code in 732 romImage. With this enabled it is possible to write the romImage 733 kernel image to an MMC card and boot the kernel straight from 734 the reset vector. At reset the processor Mask ROM will load the 735 first part of the romImage which in turn loads the rest the kernel 736 image to RAM using the MMCIF hardware block. 737 738choice 739 prompt "Kernel command line" 740 optional 741 default CMDLINE_OVERWRITE 742 help 743 Setting this option allows the kernel command line arguments 744 to be set. 745 746config CMDLINE_OVERWRITE 747 bool "Overwrite bootloader kernel arguments" 748 help 749 Given string will overwrite any arguments passed in by 750 a bootloader. 751 752config CMDLINE_EXTEND 753 bool "Extend bootloader kernel arguments" 754 help 755 Given string will be concatenated with arguments passed in 756 by a bootloader. 757 758endchoice 759 760config CMDLINE 761 string "Kernel command line arguments string" 762 depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND 763 default "console=ttySC1,115200" 764 765endmenu 766 767menu "Bus options" 768 769config SUPERHYWAY 770 tristate "SuperHyway Bus support" 771 depends on CPU_SUBTYPE_SH4_202 772 773config MAPLE 774 bool "Maple Bus support" 775 depends on SH_DREAMCAST 776 help 777 The Maple Bus is SEGA's serial communication bus for peripherals 778 on the Dreamcast. Without this bus support you won't be able to 779 get your Dreamcast keyboard etc to work, so most users 780 probably want to say 'Y' here, unless you are only using the 781 Dreamcast with a serial line terminal or a remote network 782 connection. 783 784endmenu 785 786menu "Power management options (EXPERIMENTAL)" 787 788source "kernel/power/Kconfig" 789 790source "drivers/cpuidle/Kconfig" 791 792endmenu 793