Kconfig 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "Linux/SuperH Kernel Configuration"
  6. config SUPERH
  7. def_bool y
  8. select EMBEDDED
  9. select HAVE_CLK
  10. select HAVE_IDE
  11. select HAVE_OPROFILE
  12. select HAVE_GENERIC_DMA_COHERENT
  13. select HAVE_IOREMAP_PROT if MMU
  14. select HAVE_ARCH_TRACEHOOK
  15. select HAVE_DMA_API_DEBUG
  16. select RTC_LIB
  17. help
  18. The SuperH is a RISC processor targeted for use in embedded systems
  19. and consumer electronics; it was also used in the Sega Dreamcast
  20. gaming console. The SuperH port has a home page at
  21. <http://www.linux-sh.org/>.
  22. config SUPERH32
  23. def_bool ARCH = "sh"
  24. select HAVE_KPROBES
  25. select HAVE_KRETPROBES
  26. select HAVE_FUNCTION_TRACER
  27. select HAVE_FTRACE_MCOUNT_RECORD
  28. select HAVE_DYNAMIC_FTRACE
  29. select HAVE_ARCH_KGDB
  30. select ARCH_HIBERNATION_POSSIBLE if MMU
  31. config SUPERH64
  32. def_bool ARCH = "sh64"
  33. config ARCH_DEFCONFIG
  34. string
  35. default "arch/sh/configs/shx3_defconfig" if SUPERH32
  36. default "arch/sh/configs/cayman_defconfig" if SUPERH64
  37. config RWSEM_GENERIC_SPINLOCK
  38. def_bool y
  39. config RWSEM_XCHGADD_ALGORITHM
  40. bool
  41. config GENERIC_BUG
  42. def_bool y
  43. depends on BUG && SUPERH32
  44. config GENERIC_FIND_NEXT_BIT
  45. def_bool y
  46. config GENERIC_HWEIGHT
  47. def_bool y
  48. config GENERIC_HARDIRQS
  49. def_bool y
  50. config GENERIC_HARDIRQS_NO__DO_IRQ
  51. def_bool y
  52. config GENERIC_IRQ_PROBE
  53. def_bool y
  54. config GENERIC_GPIO
  55. def_bool n
  56. config GENERIC_CALIBRATE_DELAY
  57. bool
  58. config GENERIC_IOMAP
  59. bool
  60. config GENERIC_TIME
  61. def_bool y
  62. config GENERIC_CLOCKEVENTS
  63. def_bool y
  64. config GENERIC_CLOCKEVENTS_BROADCAST
  65. bool
  66. config GENERIC_CMOS_UPDATE
  67. def_bool y
  68. depends on SH_SH03 || SH_DREAMCAST
  69. config GENERIC_LOCKBREAK
  70. def_bool y
  71. depends on SMP && PREEMPT
  72. config SYS_SUPPORTS_PM
  73. bool
  74. depends on !SMP
  75. config ARCH_SUSPEND_POSSIBLE
  76. def_bool n
  77. config ARCH_HIBERNATION_POSSIBLE
  78. def_bool n
  79. config SYS_SUPPORTS_APM_EMULATION
  80. bool
  81. select ARCH_SUSPEND_POSSIBLE
  82. config SYS_SUPPORTS_SMP
  83. bool
  84. config SYS_SUPPORTS_NUMA
  85. bool
  86. config SYS_SUPPORTS_PCI
  87. bool
  88. config SYS_SUPPORTS_CMT
  89. bool
  90. config SYS_SUPPORTS_MTU2
  91. bool
  92. config SYS_SUPPORTS_TMU
  93. bool
  94. config STACKTRACE_SUPPORT
  95. def_bool y
  96. config LOCKDEP_SUPPORT
  97. def_bool y
  98. config HAVE_LATENCYTOP_SUPPORT
  99. def_bool y
  100. depends on !SMP
  101. config ARCH_HAS_ILOG2_U32
  102. def_bool n
  103. config ARCH_HAS_ILOG2_U64
  104. def_bool n
  105. config ARCH_NO_VIRT_TO_BUS
  106. def_bool y
  107. config ARCH_HAS_DEFAULT_IDLE
  108. def_bool y
  109. config IO_TRAPPED
  110. bool
  111. source "init/Kconfig"
  112. source "kernel/Kconfig.freezer"
  113. menu "System type"
  114. #
  115. # Processor families
  116. #
  117. config CPU_SH2
  118. bool
  119. config CPU_SH2A
  120. bool
  121. select CPU_SH2
  122. config CPU_SH3
  123. bool
  124. select CPU_HAS_INTEVT
  125. select CPU_HAS_SR_RB
  126. select SYS_SUPPORTS_TMU
  127. config CPU_SH4
  128. bool
  129. select CPU_HAS_INTEVT
  130. select CPU_HAS_SR_RB
  131. select CPU_HAS_FPU if !CPU_SH4AL_DSP
  132. select SYS_SUPPORTS_TMU
  133. config CPU_SH4A
  134. bool
  135. select CPU_SH4
  136. config CPU_SH4AL_DSP
  137. bool
  138. select CPU_SH4A
  139. select CPU_HAS_DSP
  140. config CPU_SH5
  141. bool
  142. select CPU_HAS_FPU
  143. select SYS_SUPPORTS_TMU
  144. config CPU_SHX2
  145. bool
  146. config CPU_SHX3
  147. bool
  148. config ARCH_SHMOBILE
  149. bool
  150. select ARCH_SUSPEND_POSSIBLE
  151. if SUPERH32
  152. choice
  153. prompt "Processor sub-type selection"
  154. #
  155. # Processor subtypes
  156. #
  157. # SH-2 Processor Support
  158. config CPU_SUBTYPE_SH7619
  159. bool "Support SH7619 processor"
  160. select CPU_SH2
  161. select SYS_SUPPORTS_CMT
  162. # SH-2A Processor Support
  163. config CPU_SUBTYPE_SH7201
  164. bool "Support SH7201 processor"
  165. select CPU_SH2A
  166. select CPU_HAS_FPU
  167. select SYS_SUPPORTS_MTU2
  168. config CPU_SUBTYPE_SH7203
  169. bool "Support SH7203 processor"
  170. select CPU_SH2A
  171. select CPU_HAS_FPU
  172. select SYS_SUPPORTS_CMT
  173. select SYS_SUPPORTS_MTU2
  174. config CPU_SUBTYPE_SH7206
  175. bool "Support SH7206 processor"
  176. select CPU_SH2A
  177. select SYS_SUPPORTS_CMT
  178. select SYS_SUPPORTS_MTU2
  179. config CPU_SUBTYPE_SH7263
  180. bool "Support SH7263 processor"
  181. select CPU_SH2A
  182. select CPU_HAS_FPU
  183. select SYS_SUPPORTS_CMT
  184. select SYS_SUPPORTS_MTU2
  185. config CPU_SUBTYPE_MXG
  186. bool "Support MX-G processor"
  187. select CPU_SH2A
  188. select SYS_SUPPORTS_MTU2
  189. help
  190. Select MX-G if running on an R8A03022BG part.
  191. # SH-3 Processor Support
  192. config CPU_SUBTYPE_SH7705
  193. bool "Support SH7705 processor"
  194. select CPU_SH3
  195. config CPU_SUBTYPE_SH7706
  196. bool "Support SH7706 processor"
  197. select CPU_SH3
  198. help
  199. Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
  200. config CPU_SUBTYPE_SH7707
  201. bool "Support SH7707 processor"
  202. select CPU_SH3
  203. help
  204. Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
  205. config CPU_SUBTYPE_SH7708
  206. bool "Support SH7708 processor"
  207. select CPU_SH3
  208. help
  209. Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
  210. if you have a 100 Mhz SH-3 HD6417708R CPU.
  211. config CPU_SUBTYPE_SH7709
  212. bool "Support SH7709 processor"
  213. select CPU_SH3
  214. help
  215. Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
  216. config CPU_SUBTYPE_SH7710
  217. bool "Support SH7710 processor"
  218. select CPU_SH3
  219. select CPU_HAS_DSP
  220. help
  221. Select SH7710 if you have a SH3-DSP SH7710 CPU.
  222. config CPU_SUBTYPE_SH7712
  223. bool "Support SH7712 processor"
  224. select CPU_SH3
  225. select CPU_HAS_DSP
  226. help
  227. Select SH7712 if you have a SH3-DSP SH7712 CPU.
  228. config CPU_SUBTYPE_SH7720
  229. bool "Support SH7720 processor"
  230. select CPU_SH3
  231. select CPU_HAS_DSP
  232. select SYS_SUPPORTS_CMT
  233. help
  234. Select SH7720 if you have a SH3-DSP SH7720 CPU.
  235. config CPU_SUBTYPE_SH7721
  236. bool "Support SH7721 processor"
  237. select CPU_SH3
  238. select CPU_HAS_DSP
  239. select SYS_SUPPORTS_CMT
  240. help
  241. Select SH7721 if you have a SH3-DSP SH7721 CPU.
  242. # SH-4 Processor Support
  243. config CPU_SUBTYPE_SH7750
  244. bool "Support SH7750 processor"
  245. select CPU_SH4
  246. help
  247. Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
  248. config CPU_SUBTYPE_SH7091
  249. bool "Support SH7091 processor"
  250. select CPU_SH4
  251. help
  252. Select SH7091 if you have an SH-4 based Sega device (such as
  253. the Dreamcast, Naomi, and Naomi 2).
  254. config CPU_SUBTYPE_SH7750R
  255. bool "Support SH7750R processor"
  256. select CPU_SH4
  257. config CPU_SUBTYPE_SH7750S
  258. bool "Support SH7750S processor"
  259. select CPU_SH4
  260. config CPU_SUBTYPE_SH7751
  261. bool "Support SH7751 processor"
  262. select CPU_SH4
  263. help
  264. Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
  265. or if you have a HD6417751R CPU.
  266. config CPU_SUBTYPE_SH7751R
  267. bool "Support SH7751R processor"
  268. select CPU_SH4
  269. config CPU_SUBTYPE_SH7760
  270. bool "Support SH7760 processor"
  271. select CPU_SH4
  272. config CPU_SUBTYPE_SH4_202
  273. bool "Support SH4-202 processor"
  274. select CPU_SH4
  275. # SH-4A Processor Support
  276. config CPU_SUBTYPE_SH7723
  277. bool "Support SH7723 processor"
  278. select CPU_SH4A
  279. select CPU_SHX2
  280. select ARCH_SHMOBILE
  281. select ARCH_SPARSEMEM_ENABLE
  282. select SYS_SUPPORTS_CMT
  283. help
  284. Select SH7723 if you have an SH-MobileR2 CPU.
  285. config CPU_SUBTYPE_SH7724
  286. bool "Support SH7724 processor"
  287. select CPU_SH4A
  288. select CPU_SHX2
  289. select ARCH_SHMOBILE
  290. select ARCH_SPARSEMEM_ENABLE
  291. select SYS_SUPPORTS_CMT
  292. help
  293. Select SH7724 if you have an SH-MobileR2R CPU.
  294. config CPU_SUBTYPE_SH7763
  295. bool "Support SH7763 processor"
  296. select CPU_SH4A
  297. help
  298. Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
  299. config CPU_SUBTYPE_SH7770
  300. bool "Support SH7770 processor"
  301. select CPU_SH4A
  302. config CPU_SUBTYPE_SH7780
  303. bool "Support SH7780 processor"
  304. select CPU_SH4A
  305. config CPU_SUBTYPE_SH7785
  306. bool "Support SH7785 processor"
  307. select CPU_SH4A
  308. select CPU_SHX2
  309. select ARCH_SPARSEMEM_ENABLE
  310. select SYS_SUPPORTS_NUMA
  311. config CPU_SUBTYPE_SH7786
  312. bool "Support SH7786 processor"
  313. select CPU_SH4A
  314. select CPU_SHX3
  315. select CPU_HAS_PTEAEX
  316. select ARCH_SPARSEMEM_ENABLE
  317. select SYS_SUPPORTS_NUMA
  318. config CPU_SUBTYPE_SHX3
  319. bool "Support SH-X3 processor"
  320. select CPU_SH4A
  321. select CPU_SHX3
  322. select ARCH_SPARSEMEM_ENABLE
  323. select SYS_SUPPORTS_NUMA
  324. select SYS_SUPPORTS_SMP
  325. select GENERIC_CLOCKEVENTS_BROADCAST if SMP
  326. # SH4AL-DSP Processor Support
  327. config CPU_SUBTYPE_SH7343
  328. bool "Support SH7343 processor"
  329. select CPU_SH4AL_DSP
  330. select ARCH_SHMOBILE
  331. select SYS_SUPPORTS_CMT
  332. config CPU_SUBTYPE_SH7722
  333. bool "Support SH7722 processor"
  334. select CPU_SH4AL_DSP
  335. select CPU_SHX2
  336. select ARCH_SHMOBILE
  337. select ARCH_SPARSEMEM_ENABLE
  338. select SYS_SUPPORTS_NUMA
  339. select SYS_SUPPORTS_CMT
  340. config CPU_SUBTYPE_SH7366
  341. bool "Support SH7366 processor"
  342. select CPU_SH4AL_DSP
  343. select CPU_SHX2
  344. select ARCH_SHMOBILE
  345. select ARCH_SPARSEMEM_ENABLE
  346. select SYS_SUPPORTS_NUMA
  347. select SYS_SUPPORTS_CMT
  348. endchoice
  349. endif
  350. if SUPERH64
  351. choice
  352. prompt "Processor sub-type selection"
  353. # SH-5 Processor Support
  354. config CPU_SUBTYPE_SH5_101
  355. bool "Support SH5-101 processor"
  356. select CPU_SH5
  357. config CPU_SUBTYPE_SH5_103
  358. bool "Support SH5-103 processor"
  359. select CPU_SH5
  360. endchoice
  361. endif
  362. source "arch/sh/mm/Kconfig"
  363. source "arch/sh/Kconfig.cpu"
  364. source "arch/sh/boards/Kconfig"
  365. menu "Timer and clock configuration"
  366. config SH_TIMER_TMU
  367. bool "TMU timer driver"
  368. depends on SYS_SUPPORTS_TMU
  369. default y
  370. help
  371. This enables the build of the TMU timer driver.
  372. config SH_TIMER_CMT
  373. bool "CMT timer driver"
  374. depends on SYS_SUPPORTS_CMT
  375. default y
  376. help
  377. This enables build of the CMT timer driver.
  378. config SH_TIMER_MTU2
  379. bool "MTU2 timer driver"
  380. depends on SYS_SUPPORTS_MTU2
  381. default y
  382. help
  383. This enables build of the MTU2 timer driver.
  384. config SH_PCLK_FREQ
  385. int "Peripheral clock frequency (in Hz)"
  386. default "27000000" if CPU_SUBTYPE_SH7343
  387. default "31250000" if CPU_SUBTYPE_SH7619
  388. default "32000000" if CPU_SUBTYPE_SH7722
  389. default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
  390. CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
  391. CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
  392. CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG || \
  393. CPU_SUBTYPE_SH7786 || CPU_SUBTYPE_SH7724
  394. default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
  395. default "66000000" if CPU_SUBTYPE_SH4_202
  396. default "50000000"
  397. help
  398. This option is used to specify the peripheral clock frequency.
  399. This is necessary for determining the reference clock value on
  400. platforms lacking an RTC.
  401. config SH_CLK_CPG
  402. def_bool y
  403. config SH_CLK_CPG_LEGACY
  404. depends on SH_CLK_CPG
  405. def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE
  406. config SH_CLK_MD
  407. int "CPU Mode Pin Setting"
  408. depends on CPU_SH2
  409. default 6 if CPU_SUBTYPE_SH7206
  410. default 5 if CPU_SUBTYPE_SH7619
  411. default 0
  412. help
  413. MD2 - MD0 pin setting.
  414. source "kernel/time/Kconfig"
  415. endmenu
  416. menu "CPU Frequency scaling"
  417. source "drivers/cpufreq/Kconfig"
  418. config SH_CPU_FREQ
  419. tristate "SuperH CPU Frequency driver"
  420. depends on CPU_FREQ
  421. select CPU_FREQ_TABLE
  422. help
  423. This adds the cpufreq driver for SuperH. Any CPU that supports
  424. clock rate rounding through the clock framework can use this
  425. driver. While it will make the kernel slightly larger, this is
  426. harmless for CPUs that don't support rate rounding. The driver
  427. will also generate a notice in the boot log before disabling
  428. itself if the CPU in question is not capable of rate rounding.
  429. For details, take a look at <file:Documentation/cpu-freq>.
  430. If unsure, say N.
  431. endmenu
  432. source "arch/sh/drivers/Kconfig"
  433. endmenu
  434. menu "Kernel features"
  435. source kernel/Kconfig.hz
  436. config KEXEC
  437. bool "kexec system call (EXPERIMENTAL)"
  438. depends on SUPERH32 && EXPERIMENTAL && MMU
  439. help
  440. kexec is a system call that implements the ability to shutdown your
  441. current kernel, and to start another kernel. It is like a reboot
  442. but it is independent of the system firmware. And like a reboot
  443. you can start any kernel with it, not just Linux.
  444. The name comes from the similarity to the exec system call.
  445. It is an ongoing process to be certain the hardware in a machine
  446. is properly shutdown, so do not be surprised if this code does not
  447. initially work for you. It may help to enable device hotplugging
  448. support. As of this writing the exact hardware interface is
  449. strongly in flux, so no good recommendation can be made.
  450. config CRASH_DUMP
  451. bool "kernel crash dumps (EXPERIMENTAL)"
  452. depends on SUPERH32 && EXPERIMENTAL
  453. help
  454. Generate crash dump after being started by kexec.
  455. This should be normally only set in special crash dump kernels
  456. which are loaded in the main kernel with kexec-tools into
  457. a specially reserved region and then later executed after
  458. a crash by kdump/kexec. The crash dump kernel must be compiled
  459. to a memory address not used by the main kernel using
  460. MEMORY_START.
  461. For more details see Documentation/kdump/kdump.txt
  462. config KEXEC_JUMP
  463. bool "kexec jump (EXPERIMENTAL)"
  464. depends on SUPERH32 && KEXEC && HIBERNATION && EXPERIMENTAL
  465. help
  466. Jump between original kernel and kexeced kernel and invoke
  467. code via KEXEC
  468. config SECCOMP
  469. bool "Enable seccomp to safely compute untrusted bytecode"
  470. depends on PROC_FS
  471. help
  472. This kernel feature is useful for number crunching applications
  473. that may need to compute untrusted bytecode during their
  474. execution. By using pipes or other transports made available to
  475. the process as file descriptors supporting the read/write
  476. syscalls, it's possible to isolate those applications in
  477. their own address space using seccomp. Once seccomp is
  478. enabled via prctl, it cannot be disabled and the task is only
  479. allowed to execute a few safe syscalls defined by each seccomp
  480. mode.
  481. If unsure, say N.
  482. config SMP
  483. bool "Symmetric multi-processing support"
  484. depends on SYS_SUPPORTS_SMP
  485. select USE_GENERIC_SMP_HELPERS
  486. ---help---
  487. This enables support for systems with more than one CPU. If you have
  488. a system with only one CPU, like most personal computers, say N. If
  489. you have a system with more than one CPU, say Y.
  490. If you say N here, the kernel will run on single and multiprocessor
  491. machines, but will use only one CPU of a multiprocessor machine. If
  492. you say Y here, the kernel will run on many, but not all,
  493. singleprocessor machines. On a singleprocessor machine, the kernel
  494. will run faster if you say N here.
  495. People using multiprocessor machines who say Y here should also say
  496. Y to "Enhanced Real Time Clock Support", below.
  497. See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  498. available at <http://www.tldp.org/docs.html#howto>.
  499. If you don't know what to do here, say N.
  500. config NR_CPUS
  501. int "Maximum number of CPUs (2-32)"
  502. range 2 32
  503. depends on SMP
  504. default "4" if CPU_SHX3
  505. default "2"
  506. help
  507. This allows you to specify the maximum number of CPUs which this
  508. kernel will support. The maximum supported value is 32 and the
  509. minimum value which makes sense is 2.
  510. This is purely to save memory - each supported CPU adds
  511. approximately eight kilobytes to the kernel image.
  512. source "kernel/Kconfig.preempt"
  513. config GUSA
  514. def_bool y
  515. depends on !SMP && SUPERH32
  516. help
  517. This enables support for gUSA (general UserSpace Atomicity).
  518. This is the default implementation for both UP and non-ll/sc
  519. CPUs, and is used by the libc, amongst others.
  520. For additional information, design information can be found
  521. in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
  522. This should only be disabled for special cases where alternate
  523. atomicity implementations exist.
  524. config GUSA_RB
  525. bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
  526. depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
  527. help
  528. Enabling this option will allow the kernel to implement some
  529. atomic operations using a software implementation of load-locked/
  530. store-conditional (LLSC). On machines which do not have hardware
  531. LLSC, this should be more efficient than the other alternative of
  532. disabling interrupts around the atomic sequence.
  533. config SPARSE_IRQ
  534. bool "Support sparse irq numbering"
  535. depends on EXPERIMENTAL
  536. help
  537. This enables support for sparse irqs. This is useful in general
  538. as most CPUs have a fairly sparse array of IRQ vectors, which
  539. the irq_desc then maps directly on to. Systems with a high
  540. number of off-chip IRQs will want to treat this as
  541. experimental until they have been independently verified.
  542. If you don't know what to do here, say N.
  543. endmenu
  544. menu "Boot options"
  545. config ZERO_PAGE_OFFSET
  546. hex
  547. default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \
  548. SH_7751_SOLUTION_ENGINE
  549. default "0x00004000" if PAGE_SIZE_16KB || SH_SH03
  550. default "0x00002000" if PAGE_SIZE_8KB
  551. default "0x00001000"
  552. help
  553. This sets the default offset of zero page.
  554. config BOOT_LINK_OFFSET
  555. hex
  556. default "0x00210000" if SH_SHMIN
  557. default "0x00400000" if SH_CAYMAN
  558. default "0x00810000" if SH_7780_SOLUTION_ENGINE
  559. default "0x009e0000" if SH_TITAN
  560. default "0x01800000" if SH_SDK7780
  561. default "0x02000000" if SH_EDOSK7760
  562. default "0x00800000"
  563. help
  564. This option allows you to set the link address offset of the zImage.
  565. This can be useful if you are on a board which has a small amount of
  566. memory.
  567. config ENTRY_OFFSET
  568. hex
  569. default "0x00001000" if PAGE_SIZE_4KB
  570. default "0x00002000" if PAGE_SIZE_8KB
  571. default "0x00004000" if PAGE_SIZE_16KB
  572. default "0x00010000" if PAGE_SIZE_64KB
  573. default "0x00000000"
  574. config UBC_WAKEUP
  575. bool "Wakeup UBC on startup"
  576. depends on CPU_SH4 && !CPU_SH4A
  577. help
  578. Selecting this option will wakeup the User Break Controller (UBC) on
  579. startup. Although the UBC is left in an awake state when the processor
  580. comes up, some boot loaders misbehave by putting the UBC to sleep in a
  581. power saving state, which causes issues with things like ptrace().
  582. If unsure, say N.
  583. config CMDLINE_BOOL
  584. bool "Default bootloader kernel arguments"
  585. config CMDLINE
  586. string "Initial kernel command string"
  587. depends on CMDLINE_BOOL
  588. default "console=ttySC1,115200"
  589. endmenu
  590. menu "Bus options"
  591. config SUPERHYWAY
  592. tristate "SuperHyway Bus support"
  593. depends on CPU_SUBTYPE_SH4_202
  594. config MAPLE
  595. bool "Maple Bus support"
  596. depends on SH_DREAMCAST
  597. help
  598. The Maple Bus is SEGA's serial communication bus for peripherals
  599. on the Dreamcast. Without this bus support you won't be able to
  600. get your Dreamcast keyboard etc to work, so most users
  601. probably want to say 'Y' here, unless you are only using the
  602. Dreamcast with a serial line terminal or a remote network
  603. connection.
  604. source "arch/sh/drivers/pci/Kconfig"
  605. source "drivers/pci/pcie/Kconfig"
  606. source "drivers/pci/Kconfig"
  607. source "drivers/pcmcia/Kconfig"
  608. source "drivers/pci/hotplug/Kconfig"
  609. endmenu
  610. menu "Executable file formats"
  611. source "fs/Kconfig.binfmt"
  612. endmenu
  613. menu "Power management options (EXPERIMENTAL)"
  614. depends on EXPERIMENTAL
  615. source "kernel/power/Kconfig"
  616. source "drivers/cpuidle/Kconfig"
  617. endmenu
  618. source "net/Kconfig"
  619. source "drivers/Kconfig"
  620. source "fs/Kconfig"
  621. source "arch/sh/Kconfig.debug"
  622. source "security/Kconfig"
  623. source "crypto/Kconfig"
  624. source "lib/Kconfig"