Kconfig 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887
  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. help
  10. The SuperH is a RISC processor targeted for use in embedded systems
  11. and consumer electronics; it was also used in the Sega Dreamcast
  12. gaming console. The SuperH port has a home page at
  13. <http://www.linux-sh.org/>.
  14. config SUPERH32
  15. def_bool !SUPERH64
  16. config SUPERH64
  17. def_bool y if CPU_SH5
  18. config RWSEM_GENERIC_SPINLOCK
  19. bool
  20. default y
  21. config RWSEM_XCHGADD_ALGORITHM
  22. bool
  23. config GENERIC_BUG
  24. def_bool y
  25. depends on BUG && SUPERH32
  26. config GENERIC_FIND_NEXT_BIT
  27. bool
  28. default y
  29. config GENERIC_HWEIGHT
  30. bool
  31. default y
  32. config GENERIC_HARDIRQS
  33. bool
  34. default y
  35. config GENERIC_IRQ_PROBE
  36. bool
  37. default y
  38. config GENERIC_CALIBRATE_DELAY
  39. bool
  40. default y
  41. config GENERIC_IOMAP
  42. bool
  43. config GENERIC_TIME
  44. def_bool n
  45. config GENERIC_CLOCKEVENTS
  46. def_bool n
  47. config SYS_SUPPORTS_PM
  48. bool
  49. config SYS_SUPPORTS_APM_EMULATION
  50. bool
  51. select SYS_SUPPORTS_PM
  52. config SYS_SUPPORTS_SMP
  53. bool
  54. config SYS_SUPPORTS_NUMA
  55. bool
  56. config SYS_SUPPORTS_PCI
  57. bool
  58. config ARCH_MAY_HAVE_PC_FDC
  59. bool
  60. config STACKTRACE_SUPPORT
  61. bool
  62. default y
  63. config LOCKDEP_SUPPORT
  64. bool
  65. default y
  66. config ARCH_HAS_ILOG2_U32
  67. bool
  68. default n
  69. config ARCH_HAS_ILOG2_U64
  70. bool
  71. default n
  72. config ARCH_NO_VIRT_TO_BUS
  73. def_bool y
  74. source "init/Kconfig"
  75. menu "System type"
  76. #
  77. # Processor families
  78. #
  79. config CPU_SH2
  80. bool
  81. config CPU_SH2A
  82. bool
  83. select CPU_SH2
  84. config CPU_SH3
  85. bool
  86. select CPU_HAS_INTEVT
  87. select CPU_HAS_SR_RB
  88. config CPU_SH4
  89. bool
  90. select CPU_HAS_INTEVT
  91. select CPU_HAS_SR_RB
  92. select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
  93. select CPU_HAS_FPU if !CPU_SH4AL_DSP
  94. config CPU_SH4A
  95. bool
  96. select CPU_SH4
  97. config CPU_SH4AL_DSP
  98. bool
  99. select CPU_SH4A
  100. select CPU_HAS_DSP
  101. config CPU_SH5
  102. bool
  103. select CPU_HAS_FPU
  104. config CPU_SHX2
  105. bool
  106. config CPU_SHX3
  107. bool
  108. choice
  109. prompt "Processor sub-type selection"
  110. #
  111. # Processor subtypes
  112. #
  113. # SH-2 Processor Support
  114. config CPU_SUBTYPE_SH7619
  115. bool "Support SH7619 processor"
  116. select CPU_SH2
  117. # SH-2A Processor Support
  118. config CPU_SUBTYPE_SH7203
  119. bool "Support SH7203 processor"
  120. select CPU_SH2A
  121. config CPU_SUBTYPE_SH7206
  122. bool "Support SH7206 processor"
  123. select CPU_SH2A
  124. config CPU_SUBTYPE_SH7263
  125. bool "Support SH7263 processor"
  126. select CPU_SH2A
  127. # SH-3 Processor Support
  128. config CPU_SUBTYPE_SH7705
  129. bool "Support SH7705 processor"
  130. select CPU_SH3
  131. config CPU_SUBTYPE_SH7706
  132. bool "Support SH7706 processor"
  133. select CPU_SH3
  134. help
  135. Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
  136. config CPU_SUBTYPE_SH7707
  137. bool "Support SH7707 processor"
  138. select CPU_SH3
  139. help
  140. Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
  141. config CPU_SUBTYPE_SH7708
  142. bool "Support SH7708 processor"
  143. select CPU_SH3
  144. help
  145. Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
  146. if you have a 100 Mhz SH-3 HD6417708R CPU.
  147. config CPU_SUBTYPE_SH7709
  148. bool "Support SH7709 processor"
  149. select CPU_SH3
  150. help
  151. Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
  152. config CPU_SUBTYPE_SH7710
  153. bool "Support SH7710 processor"
  154. select CPU_SH3
  155. select CPU_HAS_DSP
  156. help
  157. Select SH7710 if you have a SH3-DSP SH7710 CPU.
  158. config CPU_SUBTYPE_SH7712
  159. bool "Support SH7712 processor"
  160. select CPU_SH3
  161. select CPU_HAS_DSP
  162. help
  163. Select SH7712 if you have a SH3-DSP SH7712 CPU.
  164. config CPU_SUBTYPE_SH7720
  165. bool "Support SH7720 processor"
  166. select CPU_SH3
  167. select CPU_HAS_DSP
  168. help
  169. Select SH7720 if you have a SH3-DSP SH7720 CPU.
  170. # SH-4 Processor Support
  171. config CPU_SUBTYPE_SH7750
  172. bool "Support SH7750 processor"
  173. select CPU_SH4
  174. help
  175. Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
  176. config CPU_SUBTYPE_SH7091
  177. bool "Support SH7091 processor"
  178. select CPU_SH4
  179. help
  180. Select SH7091 if you have an SH-4 based Sega device (such as
  181. the Dreamcast, Naomi, and Naomi 2).
  182. config CPU_SUBTYPE_SH7750R
  183. bool "Support SH7750R processor"
  184. select CPU_SH4
  185. config CPU_SUBTYPE_SH7750S
  186. bool "Support SH7750S processor"
  187. select CPU_SH4
  188. config CPU_SUBTYPE_SH7751
  189. bool "Support SH7751 processor"
  190. select CPU_SH4
  191. help
  192. Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
  193. or if you have a HD6417751R CPU.
  194. config CPU_SUBTYPE_SH7751R
  195. bool "Support SH7751R processor"
  196. select CPU_SH4
  197. config CPU_SUBTYPE_SH7760
  198. bool "Support SH7760 processor"
  199. select CPU_SH4
  200. config CPU_SUBTYPE_SH4_202
  201. bool "Support SH4-202 processor"
  202. select CPU_SH4
  203. # SH-4A Processor Support
  204. config CPU_SUBTYPE_SH7770
  205. bool "Support SH7770 processor"
  206. select CPU_SH4A
  207. config CPU_SUBTYPE_SH7780
  208. bool "Support SH7780 processor"
  209. select CPU_SH4A
  210. config CPU_SUBTYPE_SH7785
  211. bool "Support SH7785 processor"
  212. select CPU_SH4A
  213. select CPU_SHX2
  214. select ARCH_SPARSEMEM_ENABLE
  215. select SYS_SUPPORTS_NUMA
  216. config CPU_SUBTYPE_SHX3
  217. bool "Support SH-X3 processor"
  218. select CPU_SH4A
  219. select CPU_SHX3
  220. select ARCH_SPARSEMEM_ENABLE
  221. select SYS_SUPPORTS_NUMA
  222. select SYS_SUPPORTS_SMP
  223. # SH4AL-DSP Processor Support
  224. config CPU_SUBTYPE_SH7343
  225. bool "Support SH7343 processor"
  226. select CPU_SH4AL_DSP
  227. config CPU_SUBTYPE_SH7722
  228. bool "Support SH7722 processor"
  229. select CPU_SH4AL_DSP
  230. select CPU_SHX2
  231. select ARCH_SPARSEMEM_ENABLE
  232. select SYS_SUPPORTS_NUMA
  233. # SH-5 Processor Support
  234. config CPU_SUBTYPE_SH5_101
  235. bool "Support SH5-101 processor"
  236. select CPU_SH5
  237. config CPU_SUBTYPE_SH5_103
  238. bool "Support SH5-103 processor"
  239. endchoice
  240. source "arch/sh/mm/Kconfig"
  241. source "arch/sh/Kconfig.cpu"
  242. menu "Board support"
  243. config SOLUTION_ENGINE
  244. bool
  245. config SH_SOLUTION_ENGINE
  246. bool "SolutionEngine"
  247. select SOLUTION_ENGINE
  248. select CPU_HAS_IPR_IRQ
  249. depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
  250. CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
  251. CPU_SUBTYPE_SH7750R
  252. help
  253. Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
  254. SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
  255. config SH_7206_SOLUTION_ENGINE
  256. bool "SolutionEngine7206"
  257. select SOLUTION_ENGINE
  258. depends on CPU_SUBTYPE_SH7206
  259. help
  260. Select 7206 SolutionEngine if configuring for a Hitachi SH7206
  261. evaluation board.
  262. config SH_7619_SOLUTION_ENGINE
  263. bool "SolutionEngine7619"
  264. select SOLUTION_ENGINE
  265. depends on CPU_SUBTYPE_SH7619
  266. help
  267. Select 7619 SolutionEngine if configuring for a Hitachi SH7619
  268. evaluation board.
  269. config SH_7722_SOLUTION_ENGINE
  270. bool "SolutionEngine7722"
  271. select SOLUTION_ENGINE
  272. depends on CPU_SUBTYPE_SH7722
  273. help
  274. Select 7722 SolutionEngine if configuring for a Hitachi SH772
  275. evaluation board.
  276. config SH_7751_SOLUTION_ENGINE
  277. bool "SolutionEngine7751"
  278. select SOLUTION_ENGINE
  279. select CPU_HAS_IPR_IRQ
  280. depends on CPU_SUBTYPE_SH7751
  281. help
  282. Select 7751 SolutionEngine if configuring for a Hitachi SH7751
  283. evaluation board.
  284. config SH_7780_SOLUTION_ENGINE
  285. bool "SolutionEngine7780"
  286. select SOLUTION_ENGINE
  287. select SYS_SUPPORTS_PCI
  288. depends on CPU_SUBTYPE_SH7780
  289. help
  290. Select 7780 SolutionEngine if configuring for a Renesas SH7780
  291. evaluation board.
  292. config SH_7343_SOLUTION_ENGINE
  293. bool "SolutionEngine7343"
  294. select SOLUTION_ENGINE
  295. depends on CPU_SUBTYPE_SH7343
  296. help
  297. Select 7343 SolutionEngine if configuring for a Hitachi
  298. SH7343 (SH-Mobile 3AS) evaluation board.
  299. config SH_7751_SYSTEMH
  300. bool "SystemH7751R"
  301. depends on CPU_SUBTYPE_SH7751R
  302. help
  303. Select SystemH if you are configuring for a Renesas SystemH
  304. 7751R evaluation board.
  305. config SH_HP6XX
  306. bool "HP6XX"
  307. select SYS_SUPPORTS_APM_EMULATION
  308. select HD6446X_SERIES
  309. depends on CPU_SUBTYPE_SH7709
  310. help
  311. Select HP6XX if configuring for a HP jornada HP6xx.
  312. More information (hardware only) at
  313. <http://www.hp.com/jornada/>.
  314. config SH_DREAMCAST
  315. bool "Dreamcast"
  316. select SYS_SUPPORTS_PCI
  317. depends on CPU_SUBTYPE_SH7091
  318. help
  319. Select Dreamcast if configuring for a SEGA Dreamcast.
  320. More information at <http://www.linux-sh.org>
  321. config SH_MPC1211
  322. bool "Interface MPC1211"
  323. depends on CPU_SUBTYPE_SH7751 && BROKEN
  324. help
  325. CTP/PCI-SH02 is a CPU module computer that is produced
  326. by Interface Corporation.
  327. More information at <http://www.interface.co.jp>
  328. config SH_SH03
  329. bool "Interface CTP/PCI-SH03"
  330. depends on CPU_SUBTYPE_SH7751
  331. select CPU_HAS_IPR_IRQ
  332. select SYS_SUPPORTS_PCI
  333. help
  334. CTP/PCI-SH03 is a CPU module computer that is produced
  335. by Interface Corporation.
  336. More information at <http://www.interface.co.jp>
  337. config SH_SECUREEDGE5410
  338. bool "SecureEdge5410"
  339. depends on CPU_SUBTYPE_SH7751R
  340. select CPU_HAS_IPR_IRQ
  341. select SYS_SUPPORTS_PCI
  342. help
  343. Select SecureEdge5410 if configuring for a SnapGear SH board.
  344. This includes both the OEM SecureEdge products as well as the
  345. SME product line.
  346. config SH_HS7751RVOIP
  347. bool "HS7751RVOIP"
  348. depends on CPU_SUBTYPE_SH7751R
  349. help
  350. Select HS7751RVOIP if configuring for a Renesas Technology
  351. Sales VoIP board.
  352. config SH_7710VOIPGW
  353. bool "SH7710-VOIP-GW"
  354. depends on CPU_SUBTYPE_SH7710
  355. help
  356. Select this option to build a kernel for the SH7710 based
  357. VOIP GW.
  358. config SH_RTS7751R2D
  359. bool "RTS7751R2D"
  360. depends on CPU_SUBTYPE_SH7751R
  361. select SYS_SUPPORTS_PCI
  362. help
  363. Select RTS7751R2D if configuring for a Renesas Technology
  364. Sales SH-Graphics board.
  365. config SH_HIGHLANDER
  366. bool "Highlander"
  367. depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
  368. select SYS_SUPPORTS_PCI
  369. config SH_EDOSK7705
  370. bool "EDOSK7705"
  371. depends on CPU_SUBTYPE_SH7705
  372. config SH_SH4202_MICRODEV
  373. bool "SH4-202 MicroDev"
  374. depends on CPU_SUBTYPE_SH4_202
  375. help
  376. Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
  377. with an SH4-202 CPU.
  378. config SH_LANDISK
  379. bool "LANDISK"
  380. depends on CPU_SUBTYPE_SH7751R
  381. select SYS_SUPPORTS_PCI
  382. help
  383. I-O DATA DEVICE, INC. "LANDISK Series" support.
  384. config SH_TITAN
  385. bool "TITAN"
  386. depends on CPU_SUBTYPE_SH7751R
  387. select CPU_HAS_IPR_IRQ
  388. select SYS_SUPPORTS_PCI
  389. help
  390. Select Titan if you are configuring for a Nimble Microsystems
  391. NetEngine NP51R.
  392. config SH_SHMIN
  393. bool "SHMIN"
  394. depends on CPU_SUBTYPE_SH7706
  395. select CPU_HAS_IPR_IRQ
  396. help
  397. Select SHMIN if configuring for the SHMIN board.
  398. config SH_LBOX_RE2
  399. bool "L-BOX RE2"
  400. depends on CPU_SUBTYPE_SH7751R
  401. select SYS_SUPPORTS_PCI
  402. help
  403. Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
  404. config SH_X3PROTO
  405. bool "SH-X3 Prototype board"
  406. depends on CPU_SUBTYPE_SHX3
  407. config SH_MAGIC_PANEL_R2
  408. bool "Magic Panel R2"
  409. depends on CPU_SUBTYPE_SH7720
  410. help
  411. Select Magic Panel R2 if configuring for Magic Panel R2.
  412. config SH_CAYMAN
  413. bool "Hitachi Cayman"
  414. depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
  415. select SYS_SUPPORTS_PCI
  416. endmenu
  417. source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
  418. source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
  419. source "arch/sh/boards/renesas/r7780rp/Kconfig"
  420. source "arch/sh/boards/magicpanelr2/Kconfig"
  421. menu "Timer and clock configuration"
  422. config SH_TMU
  423. bool "TMU timer support"
  424. depends on CPU_SH3 || CPU_SH4
  425. select GENERIC_TIME
  426. select GENERIC_CLOCKEVENTS
  427. default y
  428. help
  429. This enables the use of the TMU as the system timer.
  430. config SH_CMT
  431. bool "CMT timer support"
  432. depends on CPU_SH2
  433. default y
  434. help
  435. This enables the use of the CMT as the system timer.
  436. config SH_MTU2
  437. bool "MTU2 timer support"
  438. depends on CPU_SH2A
  439. default n
  440. help
  441. This enables the use of the MTU2 as the system timer.
  442. config SH_TIMER_IRQ
  443. int
  444. default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
  445. default "86" if CPU_SUBTYPE_SH7619
  446. default "140" if CPU_SUBTYPE_SH7206
  447. default "16"
  448. config SH_PCLK_FREQ
  449. int "Peripheral clock frequency (in Hz)"
  450. default "27000000" if CPU_SUBTYPE_SH7343
  451. default "31250000" if CPU_SUBTYPE_SH7619
  452. default "32000000" if CPU_SUBTYPE_SH7722
  453. default "33333333" if CPU_SUBTYPE_SH7770 || \
  454. CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
  455. CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
  456. CPU_SUBTYPE_SH7263
  457. default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
  458. default "66000000" if CPU_SUBTYPE_SH4_202
  459. default "50000000"
  460. help
  461. This option is used to specify the peripheral clock frequency.
  462. This is necessary for determining the reference clock value on
  463. platforms lacking an RTC.
  464. config SH_CLK_MD
  465. int "CPU Mode Pin Setting"
  466. depends on CPU_SH2
  467. default 6 if CPU_SUBTYPE_SH7206
  468. default 5 if CPU_SUBTYPE_SH7619
  469. default 0
  470. help
  471. MD2 - MD0 pin setting.
  472. source "kernel/time/Kconfig"
  473. endmenu
  474. menu "CPU Frequency scaling"
  475. source "drivers/cpufreq/Kconfig"
  476. config SH_CPU_FREQ
  477. tristate "SuperH CPU Frequency driver"
  478. depends on CPU_FREQ
  479. select CPU_FREQ_TABLE
  480. help
  481. This adds the cpufreq driver for SuperH. At present, only
  482. the SH-4 is supported.
  483. For details, take a look at <file:Documentation/cpu-freq>.
  484. If unsure, say N.
  485. endmenu
  486. source "arch/sh/drivers/Kconfig"
  487. endmenu
  488. config ISA_DMA_API
  489. bool
  490. depends on SH_MPC1211
  491. default y
  492. menu "Kernel features"
  493. source kernel/Kconfig.hz
  494. config KEXEC
  495. bool "kexec system call (EXPERIMENTAL)"
  496. depends on EXPERIMENTAL
  497. help
  498. kexec is a system call that implements the ability to shutdown your
  499. current kernel, and to start another kernel. It is like a reboot
  500. but it is independent of the system firmware. And like a reboot
  501. you can start any kernel with it, not just Linux.
  502. The name comes from the similarity to the exec system call.
  503. It is an ongoing process to be certain the hardware in a machine
  504. is properly shutdown, so do not be surprised if this code does not
  505. initially work for you. It may help to enable device hotplugging
  506. support. As of this writing the exact hardware interface is
  507. strongly in flux, so no good recommendation can be made.
  508. config CRASH_DUMP
  509. bool "kernel crash dumps (EXPERIMENTAL)"
  510. depends on EXPERIMENTAL
  511. help
  512. Generate crash dump after being started by kexec.
  513. This should be normally only set in special crash dump kernels
  514. which are loaded in the main kernel with kexec-tools into
  515. a specially reserved region and then later executed after
  516. a crash by kdump/kexec. The crash dump kernel must be compiled
  517. to a memory address not used by the main kernel using
  518. MEMORY_START.
  519. For more details see Documentation/kdump/kdump.txt
  520. config SMP
  521. bool "Symmetric multi-processing support"
  522. depends on SYS_SUPPORTS_SMP
  523. ---help---
  524. This enables support for systems with more than one CPU. If you have
  525. a system with only one CPU, like most personal computers, say N. If
  526. you have a system with more than one CPU, say Y.
  527. If you say N here, the kernel will run on single and multiprocessor
  528. machines, but will use only one CPU of a multiprocessor machine. If
  529. you say Y here, the kernel will run on many, but not all,
  530. singleprocessor machines. On a singleprocessor machine, the kernel
  531. will run faster if you say N here.
  532. People using multiprocessor machines who say Y here should also say
  533. Y to "Enhanced Real Time Clock Support", below.
  534. See also the <file:Documentation/smp.txt>,
  535. <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
  536. at <http://www.tldp.org/docs.html#howto>.
  537. If you don't know what to do here, say N.
  538. config NR_CPUS
  539. int "Maximum number of CPUs (2-32)"
  540. range 2 32
  541. depends on SMP
  542. default "4" if CPU_SHX3
  543. default "2"
  544. help
  545. This allows you to specify the maximum number of CPUs which this
  546. kernel will support. The maximum supported value is 32 and the
  547. minimum value which makes sense is 2.
  548. This is purely to save memory - each supported CPU adds
  549. approximately eight kilobytes to the kernel image.
  550. source "kernel/Kconfig.preempt"
  551. config GUSA
  552. def_bool y
  553. depends on !SMP
  554. help
  555. This enables support for gUSA (general UserSpace Atomicity).
  556. This is the default implementation for both UP and non-ll/sc
  557. CPUs, and is used by the libc, amongst others.
  558. For additional information, design information can be found
  559. in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
  560. This should only be disabled for special cases where alternate
  561. atomicity implementations exist.
  562. endmenu
  563. menu "Boot options"
  564. config ZERO_PAGE_OFFSET
  565. hex "Zero page offset"
  566. default "0x00004000" if SH_MPC1211 || SH_SH03
  567. default "0x00010000" if PAGE_SIZE_64KB
  568. default "0x00002000" if PAGE_SIZE_8KB
  569. default "0x00001000"
  570. help
  571. This sets the default offset of zero page.
  572. config BOOT_LINK_OFFSET
  573. hex "Link address offset for booting"
  574. default "0x00800000"
  575. help
  576. This option allows you to set the link address offset of the zImage.
  577. This can be useful if you are on a board which has a small amount of
  578. memory.
  579. config UBC_WAKEUP
  580. bool "Wakeup UBC on startup"
  581. depends on CPU_SH4 && !CPU_SH4A
  582. help
  583. Selecting this option will wakeup the User Break Controller (UBC) on
  584. startup. Although the UBC is left in an awake state when the processor
  585. comes up, some boot loaders misbehave by putting the UBC to sleep in a
  586. power saving state, which causes issues with things like ptrace().
  587. If unsure, say N.
  588. config CMDLINE_BOOL
  589. bool "Default bootloader kernel arguments"
  590. config CMDLINE
  591. string "Initial kernel command string"
  592. depends on CMDLINE_BOOL
  593. default "console=ttySC1,115200"
  594. endmenu
  595. menu "Bus options"
  596. # Even on SuperH devices which don't have an ISA bus,
  597. # this variable helps the PCMCIA modules handle
  598. # IRQ requesting properly -- Greg Banks.
  599. #
  600. # Though we're generally not interested in it when
  601. # we're not using PCMCIA, so we make it dependent on
  602. # PCMCIA outright. -- PFM.
  603. config ISA
  604. def_bool y
  605. depends on PCMCIA && HD6446X_SERIES
  606. help
  607. Find out whether you have ISA slots on your motherboard. ISA is the
  608. name of a bus system, i.e. the way the CPU talks to the other stuff
  609. inside your box. Other bus systems are PCI, EISA, MicroChannel
  610. (MCA) or VESA. ISA is an older system, now being displaced by PCI;
  611. newer boards don't support it. If you have ISA, say Y, otherwise N.
  612. config EISA
  613. bool
  614. ---help---
  615. The Extended Industry Standard Architecture (EISA) bus was
  616. developed as an open alternative to the IBM MicroChannel bus.
  617. The EISA bus provided some of the features of the IBM MicroChannel
  618. bus while maintaining backward compatibility with cards made for
  619. the older ISA bus. The EISA bus saw limited use between 1988 and
  620. 1995 when it was made obsolete by the PCI bus.
  621. Say Y here if you are building a kernel for an EISA-based machine.
  622. Otherwise, say N.
  623. config MCA
  624. bool
  625. help
  626. MicroChannel Architecture is found in some IBM PS/2 machines and
  627. laptops. It is a bus system similar to PCI or ISA. See
  628. <file:Documentation/mca.txt> (and especially the web page given
  629. there) before attempting to build an MCA bus kernel.
  630. config SBUS
  631. bool
  632. config SUPERHYWAY
  633. tristate "SuperHyway Bus support"
  634. depends on CPU_SUBTYPE_SH4_202
  635. config MAPLE
  636. bool "Maple Bus support"
  637. depends on SH_DREAMCAST
  638. help
  639. The Maple Bus is SEGA's serial communication bus for peripherals
  640. on the Dreamcast. Without this bus support you won't be able to
  641. get your Dreamcast keyboard etc to work, so most users
  642. probably want to say 'Y' here, unless you are only using the
  643. Dreamcast with a serial line terminal or a remote network
  644. connection.
  645. config CF_ENABLER
  646. bool "Compact Flash Enabler support"
  647. depends on SOLUTION_ENGINE || SH_SH03
  648. ---help---
  649. Compact Flash is a small, removable mass storage device introduced
  650. in 1994 originally as a PCMCIA device. If you say `Y' here, you
  651. compile in support for Compact Flash devices directly connected to
  652. a SuperH processor. A Compact Flash FAQ is available at
  653. <http://www.compactflash.org/faqs/faq.htm>.
  654. If your board has "Directly Connected" CompactFlash at area 5 or 6,
  655. you may want to enable this option. Then, you can use CF as
  656. primary IDE drive (only tested for SanDisk).
  657. If in doubt, select 'N'.
  658. choice
  659. prompt "Compact Flash Connection Area"
  660. depends on CF_ENABLER
  661. default CF_AREA6
  662. config CF_AREA5
  663. bool "Area5"
  664. help
  665. If your board has "Directly Connected" CompactFlash, You should
  666. select the area where your CF is connected to.
  667. - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
  668. - "Area6" if it is connected to Area 6 (0x18000000)
  669. "Area6" will work for most boards.
  670. config CF_AREA6
  671. bool "Area6"
  672. endchoice
  673. config CF_BASE_ADDR
  674. hex
  675. depends on CF_ENABLER
  676. default "0xb8000000" if CF_AREA6
  677. default "0xb4000000" if CF_AREA5
  678. source "arch/sh/drivers/pci/Kconfig"
  679. source "drivers/pci/Kconfig"
  680. source "drivers/pcmcia/Kconfig"
  681. source "drivers/pci/hotplug/Kconfig"
  682. endmenu
  683. menu "Executable file formats"
  684. source "fs/Kconfig.binfmt"
  685. endmenu
  686. menu "Power management options (EXPERIMENTAL)"
  687. depends on EXPERIMENTAL && SYS_SUPPORTS_PM
  688. source kernel/power/Kconfig
  689. endmenu
  690. source "net/Kconfig"
  691. source "drivers/Kconfig"
  692. source "fs/Kconfig"
  693. source "kernel/Kconfig.instrumentation"
  694. source "arch/sh/Kconfig.debug"
  695. source "security/Kconfig"
  696. source "crypto/Kconfig"
  697. source "lib/Kconfig"