Kconfig 21 KB

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