Kconfig 21 KB

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