Kconfig 18 KB

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