Kconfig 18 KB

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