Kconfig 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820
  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_COUNTERS
  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_CSUM
  47. def_bool y
  48. depends on SUPERH64
  49. config GENERIC_FIND_NEXT_BIT
  50. def_bool y
  51. config GENERIC_HWEIGHT
  52. def_bool y
  53. config GENERIC_HARDIRQS
  54. def_bool y
  55. config GENERIC_HARDIRQS_NO__DO_IRQ
  56. def_bool y
  57. config GENERIC_IRQ_PROBE
  58. def_bool y
  59. config IRQ_PER_CPU
  60. def_bool y
  61. config GENERIC_GPIO
  62. def_bool n
  63. config GENERIC_CALIBRATE_DELAY
  64. bool
  65. config GENERIC_IOMAP
  66. bool
  67. config GENERIC_TIME
  68. def_bool y
  69. config GENERIC_CLOCKEVENTS
  70. def_bool y
  71. config GENERIC_CLOCKEVENTS_BROADCAST
  72. bool
  73. config GENERIC_CMOS_UPDATE
  74. def_bool y
  75. depends on SH_SH03 || SH_DREAMCAST
  76. config GENERIC_LOCKBREAK
  77. def_bool y
  78. depends on SMP && PREEMPT
  79. config SYS_SUPPORTS_PM
  80. bool
  81. depends on !SMP
  82. config ARCH_SUSPEND_POSSIBLE
  83. def_bool n
  84. config ARCH_HIBERNATION_POSSIBLE
  85. def_bool n
  86. config SYS_SUPPORTS_APM_EMULATION
  87. bool
  88. select ARCH_SUSPEND_POSSIBLE
  89. config SYS_SUPPORTS_SMP
  90. bool
  91. config SYS_SUPPORTS_NUMA
  92. bool
  93. config SYS_SUPPORTS_PCI
  94. bool
  95. config SYS_SUPPORTS_CMT
  96. bool
  97. config SYS_SUPPORTS_MTU2
  98. bool
  99. config SYS_SUPPORTS_TMU
  100. bool
  101. config STACKTRACE_SUPPORT
  102. def_bool y
  103. config LOCKDEP_SUPPORT
  104. def_bool y
  105. config HAVE_LATENCYTOP_SUPPORT
  106. def_bool y
  107. depends on !SMP
  108. config ARCH_HAS_ILOG2_U32
  109. def_bool n
  110. config ARCH_HAS_ILOG2_U64
  111. def_bool n
  112. config ARCH_NO_VIRT_TO_BUS
  113. def_bool y
  114. config ARCH_HAS_DEFAULT_IDLE
  115. def_bool y
  116. config ARCH_HAS_CPU_IDLE_WAIT
  117. def_bool y
  118. config IO_TRAPPED
  119. bool
  120. source "init/Kconfig"
  121. source "kernel/Kconfig.freezer"
  122. menu "System type"
  123. #
  124. # Processor families
  125. #
  126. config CPU_SH2
  127. bool
  128. config CPU_SH2A
  129. bool
  130. select CPU_SH2
  131. config CPU_SH3
  132. bool
  133. select CPU_HAS_INTEVT
  134. select CPU_HAS_SR_RB
  135. select SYS_SUPPORTS_TMU
  136. config CPU_SH4
  137. bool
  138. select CPU_HAS_INTEVT
  139. select CPU_HAS_SR_RB
  140. select CPU_HAS_FPU if !CPU_SH4AL_DSP
  141. select SYS_SUPPORTS_TMU
  142. config CPU_SH4A
  143. bool
  144. select CPU_SH4
  145. config CPU_SH4AL_DSP
  146. bool
  147. select CPU_SH4A
  148. select CPU_HAS_DSP
  149. config CPU_SH5
  150. bool
  151. select CPU_HAS_FPU
  152. select SYS_SUPPORTS_TMU
  153. config CPU_SHX2
  154. bool
  155. config CPU_SHX3
  156. bool
  157. config ARCH_SHMOBILE
  158. bool
  159. select ARCH_SUSPEND_POSSIBLE
  160. if SUPERH32
  161. choice
  162. prompt "Processor sub-type selection"
  163. #
  164. # Processor subtypes
  165. #
  166. # SH-2 Processor Support
  167. config CPU_SUBTYPE_SH7619
  168. bool "Support SH7619 processor"
  169. select CPU_SH2
  170. select SYS_SUPPORTS_CMT
  171. # SH-2A Processor Support
  172. config CPU_SUBTYPE_SH7201
  173. bool "Support SH7201 processor"
  174. select CPU_SH2A
  175. select CPU_HAS_FPU
  176. select SYS_SUPPORTS_MTU2
  177. config CPU_SUBTYPE_SH7203
  178. bool "Support SH7203 processor"
  179. select CPU_SH2A
  180. select CPU_HAS_FPU
  181. select SYS_SUPPORTS_CMT
  182. select SYS_SUPPORTS_MTU2
  183. config CPU_SUBTYPE_SH7206
  184. bool "Support SH7206 processor"
  185. select CPU_SH2A
  186. select SYS_SUPPORTS_CMT
  187. select SYS_SUPPORTS_MTU2
  188. config CPU_SUBTYPE_SH7263
  189. bool "Support SH7263 processor"
  190. select CPU_SH2A
  191. select CPU_HAS_FPU
  192. select SYS_SUPPORTS_CMT
  193. select SYS_SUPPORTS_MTU2
  194. config CPU_SUBTYPE_MXG
  195. bool "Support MX-G processor"
  196. select CPU_SH2A
  197. select SYS_SUPPORTS_MTU2
  198. help
  199. Select MX-G if running on an R8A03022BG part.
  200. # SH-3 Processor Support
  201. config CPU_SUBTYPE_SH7705
  202. bool "Support SH7705 processor"
  203. select CPU_SH3
  204. config CPU_SUBTYPE_SH7706
  205. bool "Support SH7706 processor"
  206. select CPU_SH3
  207. help
  208. Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
  209. config CPU_SUBTYPE_SH7707
  210. bool "Support SH7707 processor"
  211. select CPU_SH3
  212. help
  213. Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
  214. config CPU_SUBTYPE_SH7708
  215. bool "Support SH7708 processor"
  216. select CPU_SH3
  217. help
  218. Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
  219. if you have a 100 Mhz SH-3 HD6417708R CPU.
  220. config CPU_SUBTYPE_SH7709
  221. bool "Support SH7709 processor"
  222. select CPU_SH3
  223. help
  224. Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
  225. config CPU_SUBTYPE_SH7710
  226. bool "Support SH7710 processor"
  227. select CPU_SH3
  228. select CPU_HAS_DSP
  229. help
  230. Select SH7710 if you have a SH3-DSP SH7710 CPU.
  231. config CPU_SUBTYPE_SH7712
  232. bool "Support SH7712 processor"
  233. select CPU_SH3
  234. select CPU_HAS_DSP
  235. help
  236. Select SH7712 if you have a SH3-DSP SH7712 CPU.
  237. config CPU_SUBTYPE_SH7720
  238. bool "Support SH7720 processor"
  239. select CPU_SH3
  240. select CPU_HAS_DSP
  241. select SYS_SUPPORTS_CMT
  242. help
  243. Select SH7720 if you have a SH3-DSP SH7720 CPU.
  244. config CPU_SUBTYPE_SH7721
  245. bool "Support SH7721 processor"
  246. select CPU_SH3
  247. select CPU_HAS_DSP
  248. select SYS_SUPPORTS_CMT
  249. help
  250. Select SH7721 if you have a SH3-DSP SH7721 CPU.
  251. # SH-4 Processor Support
  252. config CPU_SUBTYPE_SH7750
  253. bool "Support SH7750 processor"
  254. select CPU_SH4
  255. help
  256. Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
  257. config CPU_SUBTYPE_SH7091
  258. bool "Support SH7091 processor"
  259. select CPU_SH4
  260. help
  261. Select SH7091 if you have an SH-4 based Sega device (such as
  262. the Dreamcast, Naomi, and Naomi 2).
  263. config CPU_SUBTYPE_SH7750R
  264. bool "Support SH7750R processor"
  265. select CPU_SH4
  266. config CPU_SUBTYPE_SH7750S
  267. bool "Support SH7750S processor"
  268. select CPU_SH4
  269. config CPU_SUBTYPE_SH7751
  270. bool "Support SH7751 processor"
  271. select CPU_SH4
  272. help
  273. Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
  274. or if you have a HD6417751R CPU.
  275. config CPU_SUBTYPE_SH7751R
  276. bool "Support SH7751R processor"
  277. select CPU_SH4
  278. config CPU_SUBTYPE_SH7760
  279. bool "Support SH7760 processor"
  280. select CPU_SH4
  281. config CPU_SUBTYPE_SH4_202
  282. bool "Support SH4-202 processor"
  283. select CPU_SH4
  284. # SH-4A Processor Support
  285. config CPU_SUBTYPE_SH7723
  286. bool "Support SH7723 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 SH7723 if you have an SH-MobileR2 CPU.
  294. config CPU_SUBTYPE_SH7724
  295. bool "Support SH7724 processor"
  296. select CPU_SH4A
  297. select CPU_SHX2
  298. select ARCH_SHMOBILE
  299. select ARCH_SPARSEMEM_ENABLE
  300. select SYS_SUPPORTS_CMT
  301. help
  302. Select SH7724 if you have an SH-MobileR2R CPU.
  303. config CPU_SUBTYPE_SH7763
  304. bool "Support SH7763 processor"
  305. select CPU_SH4A
  306. help
  307. Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
  308. config CPU_SUBTYPE_SH7770
  309. bool "Support SH7770 processor"
  310. select CPU_SH4A
  311. config CPU_SUBTYPE_SH7780
  312. bool "Support SH7780 processor"
  313. select CPU_SH4A
  314. config CPU_SUBTYPE_SH7785
  315. bool "Support SH7785 processor"
  316. select CPU_SH4A
  317. select CPU_SHX2
  318. select ARCH_SPARSEMEM_ENABLE
  319. select SYS_SUPPORTS_NUMA
  320. config CPU_SUBTYPE_SH7786
  321. bool "Support SH7786 processor"
  322. select CPU_SH4A
  323. select CPU_SHX3
  324. select CPU_HAS_PTEAEX
  325. select ARCH_SPARSEMEM_ENABLE
  326. select SYS_SUPPORTS_NUMA
  327. select SYS_SUPPORTS_SMP
  328. select GENERIC_CLOCKEVENTS_BROADCAST if SMP
  329. config CPU_SUBTYPE_SHX3
  330. bool "Support SH-X3 processor"
  331. select CPU_SH4A
  332. select CPU_SHX3
  333. select ARCH_SPARSEMEM_ENABLE
  334. select SYS_SUPPORTS_NUMA
  335. select SYS_SUPPORTS_SMP
  336. select GENERIC_CLOCKEVENTS_BROADCAST if SMP
  337. # SH4AL-DSP Processor Support
  338. config CPU_SUBTYPE_SH7343
  339. bool "Support SH7343 processor"
  340. select CPU_SH4AL_DSP
  341. select ARCH_SHMOBILE
  342. select SYS_SUPPORTS_CMT
  343. config CPU_SUBTYPE_SH7722
  344. bool "Support SH7722 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. config CPU_SUBTYPE_SH7366
  352. bool "Support SH7366 processor"
  353. select CPU_SH4AL_DSP
  354. select CPU_SHX2
  355. select ARCH_SHMOBILE
  356. select ARCH_SPARSEMEM_ENABLE
  357. select SYS_SUPPORTS_NUMA
  358. select SYS_SUPPORTS_CMT
  359. endchoice
  360. endif
  361. if SUPERH64
  362. choice
  363. prompt "Processor sub-type selection"
  364. # SH-5 Processor Support
  365. config CPU_SUBTYPE_SH5_101
  366. bool "Support SH5-101 processor"
  367. select CPU_SH5
  368. config CPU_SUBTYPE_SH5_103
  369. bool "Support SH5-103 processor"
  370. select CPU_SH5
  371. endchoice
  372. endif
  373. source "arch/sh/mm/Kconfig"
  374. source "arch/sh/Kconfig.cpu"
  375. source "arch/sh/boards/Kconfig"
  376. menu "Timer and clock configuration"
  377. config SH_TIMER_TMU
  378. bool "TMU timer driver"
  379. depends on SYS_SUPPORTS_TMU
  380. default y
  381. help
  382. This enables the build of the TMU timer driver.
  383. config SH_TIMER_CMT
  384. bool "CMT timer driver"
  385. depends on SYS_SUPPORTS_CMT
  386. default y
  387. help
  388. This enables build of the CMT timer driver.
  389. config SH_TIMER_MTU2
  390. bool "MTU2 timer driver"
  391. depends on SYS_SUPPORTS_MTU2
  392. default y
  393. help
  394. This enables build of the MTU2 timer driver.
  395. config SH_PCLK_FREQ
  396. int "Peripheral clock frequency (in Hz)"
  397. default "27000000" if CPU_SUBTYPE_SH7343
  398. default "31250000" if CPU_SUBTYPE_SH7619
  399. default "32000000" if CPU_SUBTYPE_SH7722
  400. default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
  401. CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
  402. CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
  403. CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG || \
  404. CPU_SUBTYPE_SH7786 || CPU_SUBTYPE_SH7724
  405. default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
  406. default "66000000" if CPU_SUBTYPE_SH4_202
  407. default "50000000"
  408. help
  409. This option is used to specify the peripheral clock frequency.
  410. This is necessary for determining the reference clock value on
  411. platforms lacking an RTC.
  412. config SH_CLK_CPG
  413. def_bool y
  414. config SH_CLK_CPG_LEGACY
  415. depends on SH_CLK_CPG
  416. def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE
  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_SUBTYPE_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. config SPARSE_IRQ
  545. bool "Support sparse irq numbering"
  546. depends on EXPERIMENTAL
  547. help
  548. This enables support for sparse irqs. This is useful in general
  549. as most CPUs have a fairly sparse array of IRQ vectors, which
  550. the irq_desc then maps directly on to. Systems with a high
  551. number of off-chip IRQs will want to treat this as
  552. experimental until they have been independently verified.
  553. If you don't know what to do here, say N.
  554. endmenu
  555. menu "Boot options"
  556. config ZERO_PAGE_OFFSET
  557. hex
  558. default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \
  559. SH_7751_SOLUTION_ENGINE
  560. default "0x00004000" if PAGE_SIZE_16KB || SH_SH03
  561. default "0x00002000" if PAGE_SIZE_8KB
  562. default "0x00001000"
  563. help
  564. This sets the default offset of zero page.
  565. config BOOT_LINK_OFFSET
  566. hex
  567. default "0x00210000" if SH_SHMIN
  568. default "0x00400000" if SH_CAYMAN
  569. default "0x00810000" if SH_7780_SOLUTION_ENGINE
  570. default "0x009e0000" if SH_TITAN
  571. default "0x01800000" if SH_SDK7780
  572. default "0x02000000" if SH_EDOSK7760
  573. default "0x00800000"
  574. help
  575. This option allows you to set the link address offset of the zImage.
  576. This can be useful if you are on a board which has a small amount of
  577. memory.
  578. config ENTRY_OFFSET
  579. hex
  580. default "0x00001000" if PAGE_SIZE_4KB
  581. default "0x00002000" if PAGE_SIZE_8KB
  582. default "0x00004000" if PAGE_SIZE_16KB
  583. default "0x00010000" if PAGE_SIZE_64KB
  584. default "0x00000000"
  585. config UBC_WAKEUP
  586. bool "Wakeup UBC on startup"
  587. depends on CPU_SH4 && !CPU_SH4A
  588. help
  589. Selecting this option will wakeup the User Break Controller (UBC) on
  590. startup. Although the UBC is left in an awake state when the processor
  591. comes up, some boot loaders misbehave by putting the UBC to sleep in a
  592. power saving state, which causes issues with things like ptrace().
  593. If unsure, say N.
  594. config CMDLINE_BOOL
  595. bool "Default bootloader kernel arguments"
  596. config CMDLINE
  597. string "Initial kernel command string"
  598. depends on CMDLINE_BOOL
  599. default "console=ttySC1,115200"
  600. endmenu
  601. menu "Bus options"
  602. config SUPERHYWAY
  603. tristate "SuperHyway Bus support"
  604. depends on CPU_SUBTYPE_SH4_202
  605. config MAPLE
  606. bool "Maple Bus support"
  607. depends on SH_DREAMCAST
  608. help
  609. The Maple Bus is SEGA's serial communication bus for peripherals
  610. on the Dreamcast. Without this bus support you won't be able to
  611. get your Dreamcast keyboard etc to work, so most users
  612. probably want to say 'Y' here, unless you are only using the
  613. Dreamcast with a serial line terminal or a remote network
  614. connection.
  615. source "arch/sh/drivers/pci/Kconfig"
  616. source "drivers/pci/pcie/Kconfig"
  617. source "drivers/pci/Kconfig"
  618. source "drivers/pcmcia/Kconfig"
  619. source "drivers/pci/hotplug/Kconfig"
  620. endmenu
  621. menu "Executable file formats"
  622. source "fs/Kconfig.binfmt"
  623. endmenu
  624. menu "Power management options (EXPERIMENTAL)"
  625. depends on EXPERIMENTAL
  626. source "kernel/power/Kconfig"
  627. source "drivers/cpuidle/Kconfig"
  628. endmenu
  629. source "net/Kconfig"
  630. source "drivers/Kconfig"
  631. source "fs/Kconfig"
  632. source "arch/sh/Kconfig.debug"
  633. source "security/Kconfig"
  634. source "crypto/Kconfig"
  635. source "lib/Kconfig"