Kconfig 21 KB

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