Kconfig 18 KB

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