Kconfig 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905
  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. source "init/Kconfig"
  66. menu "System type"
  67. #
  68. # Processor families
  69. #
  70. config CPU_SH2
  71. bool
  72. config CPU_SH2A
  73. bool
  74. select CPU_SH2
  75. config CPU_SH3
  76. bool
  77. select CPU_HAS_INTEVT
  78. select CPU_HAS_SR_RB
  79. config CPU_SH4
  80. bool
  81. select CPU_HAS_INTEVT
  82. select CPU_HAS_SR_RB
  83. select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
  84. select CPU_HAS_FPU if !CPU_SH4AL_DSP
  85. config CPU_SH4A
  86. bool
  87. select CPU_SH4
  88. config CPU_SH4AL_DSP
  89. bool
  90. select CPU_SH4A
  91. select CPU_HAS_DSP
  92. config CPU_SH5
  93. bool
  94. select CPU_HAS_FPU
  95. config CPU_SHX2
  96. bool
  97. config CPU_SHX3
  98. bool
  99. choice
  100. prompt "Processor sub-type selection"
  101. #
  102. # Processor subtypes
  103. #
  104. # SH-2 Processor Support
  105. config CPU_SUBTYPE_SH7619
  106. bool "Support SH7619 processor"
  107. select CPU_SH2
  108. # SH-2A Processor Support
  109. config CPU_SUBTYPE_SH7203
  110. bool "Support SH7203 processor"
  111. select CPU_SH2A
  112. select CPU_HAS_FPU
  113. config CPU_SUBTYPE_SH7206
  114. bool "Support SH7206 processor"
  115. select CPU_SH2A
  116. config CPU_SUBTYPE_SH7263
  117. bool "Support SH7263 processor"
  118. select CPU_SH2A
  119. select CPU_HAS_FPU
  120. # SH-3 Processor Support
  121. config CPU_SUBTYPE_SH7705
  122. bool "Support SH7705 processor"
  123. select CPU_SH3
  124. config CPU_SUBTYPE_SH7706
  125. bool "Support SH7706 processor"
  126. select CPU_SH3
  127. help
  128. Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
  129. config CPU_SUBTYPE_SH7707
  130. bool "Support SH7707 processor"
  131. select CPU_SH3
  132. help
  133. Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
  134. config CPU_SUBTYPE_SH7708
  135. bool "Support SH7708 processor"
  136. select CPU_SH3
  137. help
  138. Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
  139. if you have a 100 Mhz SH-3 HD6417708R CPU.
  140. config CPU_SUBTYPE_SH7709
  141. bool "Support SH7709 processor"
  142. select CPU_SH3
  143. help
  144. Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
  145. config CPU_SUBTYPE_SH7710
  146. bool "Support SH7710 processor"
  147. select CPU_SH3
  148. select CPU_HAS_DSP
  149. help
  150. Select SH7710 if you have a SH3-DSP SH7710 CPU.
  151. config CPU_SUBTYPE_SH7712
  152. bool "Support SH7712 processor"
  153. select CPU_SH3
  154. select CPU_HAS_DSP
  155. help
  156. Select SH7712 if you have a SH3-DSP SH7712 CPU.
  157. config CPU_SUBTYPE_SH7720
  158. bool "Support SH7720 processor"
  159. select CPU_SH3
  160. select CPU_HAS_DSP
  161. help
  162. Select SH7720 if you have a SH3-DSP SH7720 CPU.
  163. config CPU_SUBTYPE_SH7721
  164. bool "Support SH7721 processor"
  165. select CPU_SH3
  166. select CPU_HAS_DSP
  167. help
  168. Select SH7721 if you have a SH3-DSP SH7721 CPU.
  169. # SH-4 Processor Support
  170. config CPU_SUBTYPE_SH7750
  171. bool "Support SH7750 processor"
  172. select CPU_SH4
  173. help
  174. Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
  175. config CPU_SUBTYPE_SH7091
  176. bool "Support SH7091 processor"
  177. select CPU_SH4
  178. help
  179. Select SH7091 if you have an SH-4 based Sega device (such as
  180. the Dreamcast, Naomi, and Naomi 2).
  181. config CPU_SUBTYPE_SH7750R
  182. bool "Support SH7750R processor"
  183. select CPU_SH4
  184. config CPU_SUBTYPE_SH7750S
  185. bool "Support SH7750S processor"
  186. select CPU_SH4
  187. config CPU_SUBTYPE_SH7751
  188. bool "Support SH7751 processor"
  189. select CPU_SH4
  190. help
  191. Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
  192. or if you have a HD6417751R CPU.
  193. config CPU_SUBTYPE_SH7751R
  194. bool "Support SH7751R processor"
  195. select CPU_SH4
  196. config CPU_SUBTYPE_SH7760
  197. bool "Support SH7760 processor"
  198. select CPU_SH4
  199. config CPU_SUBTYPE_SH4_202
  200. bool "Support SH4-202 processor"
  201. select CPU_SH4
  202. # SH-4A Processor Support
  203. config CPU_SUBTYPE_SH7763
  204. bool "Support SH7763 processor"
  205. select CPU_SH4A
  206. help
  207. Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
  208. config CPU_SUBTYPE_SH7770
  209. bool "Support SH7770 processor"
  210. select CPU_SH4A
  211. config CPU_SUBTYPE_SH7780
  212. bool "Support SH7780 processor"
  213. select CPU_SH4A
  214. config CPU_SUBTYPE_SH7785
  215. bool "Support SH7785 processor"
  216. select CPU_SH4A
  217. select CPU_SHX2
  218. select ARCH_SPARSEMEM_ENABLE
  219. select SYS_SUPPORTS_NUMA
  220. config CPU_SUBTYPE_SHX3
  221. bool "Support SH-X3 processor"
  222. select CPU_SH4A
  223. select CPU_SHX3
  224. select ARCH_SPARSEMEM_ENABLE
  225. select SYS_SUPPORTS_NUMA
  226. select SYS_SUPPORTS_SMP
  227. # SH4AL-DSP Processor Support
  228. config CPU_SUBTYPE_SH7343
  229. bool "Support SH7343 processor"
  230. select CPU_SH4AL_DSP
  231. config CPU_SUBTYPE_SH7722
  232. bool "Support SH7722 processor"
  233. select CPU_SH4AL_DSP
  234. select CPU_SHX2
  235. select ARCH_SPARSEMEM_ENABLE
  236. select SYS_SUPPORTS_NUMA
  237. # SH-5 Processor Support
  238. config CPU_SUBTYPE_SH5_101
  239. bool "Support SH5-101 processor"
  240. select CPU_SH5
  241. config CPU_SUBTYPE_SH5_103
  242. bool "Support SH5-103 processor"
  243. endchoice
  244. source "arch/sh/mm/Kconfig"
  245. source "arch/sh/Kconfig.cpu"
  246. menu "Board support"
  247. config SOLUTION_ENGINE
  248. bool
  249. config SH_SOLUTION_ENGINE
  250. bool "SolutionEngine"
  251. select SOLUTION_ENGINE
  252. select CPU_HAS_IPR_IRQ
  253. depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
  254. CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
  255. CPU_SUBTYPE_SH7750R
  256. help
  257. Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
  258. SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
  259. config SH_7206_SOLUTION_ENGINE
  260. bool "SolutionEngine7206"
  261. select SOLUTION_ENGINE
  262. depends on CPU_SUBTYPE_SH7206
  263. help
  264. Select 7206 SolutionEngine if configuring for a Hitachi SH7206
  265. evaluation board.
  266. config SH_7619_SOLUTION_ENGINE
  267. bool "SolutionEngine7619"
  268. select SOLUTION_ENGINE
  269. depends on CPU_SUBTYPE_SH7619
  270. help
  271. Select 7619 SolutionEngine if configuring for a Hitachi SH7619
  272. evaluation board.
  273. config SH_7722_SOLUTION_ENGINE
  274. bool "SolutionEngine7722"
  275. select SOLUTION_ENGINE
  276. depends on CPU_SUBTYPE_SH7722
  277. help
  278. Select 7722 SolutionEngine if configuring for a Hitachi SH772
  279. evaluation board.
  280. config SH_7751_SOLUTION_ENGINE
  281. bool "SolutionEngine7751"
  282. select SOLUTION_ENGINE
  283. select CPU_HAS_IPR_IRQ
  284. depends on CPU_SUBTYPE_SH7751
  285. help
  286. Select 7751 SolutionEngine if configuring for a Hitachi SH7751
  287. evaluation board.
  288. config SH_7780_SOLUTION_ENGINE
  289. bool "SolutionEngine7780"
  290. select SOLUTION_ENGINE
  291. select SYS_SUPPORTS_PCI
  292. depends on CPU_SUBTYPE_SH7780
  293. help
  294. Select 7780 SolutionEngine if configuring for a Renesas SH7780
  295. evaluation board.
  296. config SH_7343_SOLUTION_ENGINE
  297. bool "SolutionEngine7343"
  298. select SOLUTION_ENGINE
  299. depends on CPU_SUBTYPE_SH7343
  300. help
  301. Select 7343 SolutionEngine if configuring for a Hitachi
  302. SH7343 (SH-Mobile 3AS) evaluation board.
  303. config SH_7751_SYSTEMH
  304. bool "SystemH7751R"
  305. depends on CPU_SUBTYPE_SH7751R
  306. help
  307. Select SystemH if you are configuring for a Renesas SystemH
  308. 7751R evaluation board.
  309. config SH_HP6XX
  310. bool "HP6XX"
  311. select SYS_SUPPORTS_APM_EMULATION
  312. select HD6446X_SERIES
  313. depends on CPU_SUBTYPE_SH7709
  314. help
  315. Select HP6XX if configuring for a HP jornada HP6xx.
  316. More information (hardware only) at
  317. <http://www.hp.com/jornada/>.
  318. config SH_DREAMCAST
  319. bool "Dreamcast"
  320. select SYS_SUPPORTS_PCI
  321. depends on CPU_SUBTYPE_SH7091
  322. help
  323. Select Dreamcast if configuring for a SEGA Dreamcast.
  324. More information at <http://www.linux-sh.org>
  325. config SH_MPC1211
  326. bool "Interface MPC1211"
  327. depends on CPU_SUBTYPE_SH7751 && BROKEN
  328. help
  329. CTP/PCI-SH02 is a CPU module computer that is produced
  330. by Interface Corporation.
  331. More information at <http://www.interface.co.jp>
  332. config SH_SH03
  333. bool "Interface CTP/PCI-SH03"
  334. depends on CPU_SUBTYPE_SH7751
  335. select CPU_HAS_IPR_IRQ
  336. select SYS_SUPPORTS_PCI
  337. help
  338. CTP/PCI-SH03 is a CPU module computer that is produced
  339. by Interface Corporation.
  340. More information at <http://www.interface.co.jp>
  341. config SH_SECUREEDGE5410
  342. bool "SecureEdge5410"
  343. depends on CPU_SUBTYPE_SH7751R
  344. select CPU_HAS_IPR_IRQ
  345. select SYS_SUPPORTS_PCI
  346. help
  347. Select SecureEdge5410 if configuring for a SnapGear SH board.
  348. This includes both the OEM SecureEdge products as well as the
  349. SME product line.
  350. config SH_7710VOIPGW
  351. bool "SH7710-VOIP-GW"
  352. depends on CPU_SUBTYPE_SH7710
  353. help
  354. Select this option to build a kernel for the SH7710 based
  355. VOIP GW.
  356. config SH_RTS7751R2D
  357. bool "RTS7751R2D"
  358. depends on CPU_SUBTYPE_SH7751R
  359. select SYS_SUPPORTS_PCI
  360. help
  361. Select RTS7751R2D if configuring for a Renesas Technology
  362. Sales SH-Graphics board.
  363. config SH_SDK7780
  364. bool "SDK7780R3"
  365. depends on CPU_SUBTYPE_SH7780
  366. select SYS_SUPPORTS_PCI
  367. help
  368. Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
  369. evaluation board.
  370. config SH_HIGHLANDER
  371. bool "Highlander"
  372. depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
  373. select SYS_SUPPORTS_PCI
  374. config SH_EDOSK7705
  375. bool "EDOSK7705"
  376. depends on CPU_SUBTYPE_SH7705
  377. config SH_SH4202_MICRODEV
  378. bool "SH4-202 MicroDev"
  379. depends on CPU_SUBTYPE_SH4_202
  380. help
  381. Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
  382. with an SH4-202 CPU.
  383. config SH_LANDISK
  384. bool "LANDISK"
  385. depends on CPU_SUBTYPE_SH7751R
  386. select SYS_SUPPORTS_PCI
  387. help
  388. I-O DATA DEVICE, INC. "LANDISK Series" support.
  389. config SH_TITAN
  390. bool "TITAN"
  391. depends on CPU_SUBTYPE_SH7751R
  392. select CPU_HAS_IPR_IRQ
  393. select SYS_SUPPORTS_PCI
  394. help
  395. Select Titan if you are configuring for a Nimble Microsystems
  396. NetEngine NP51R.
  397. config SH_SHMIN
  398. bool "SHMIN"
  399. depends on CPU_SUBTYPE_SH7706
  400. select CPU_HAS_IPR_IRQ
  401. help
  402. Select SHMIN if configuring for the SHMIN board.
  403. config SH_LBOX_RE2
  404. bool "L-BOX RE2"
  405. depends on CPU_SUBTYPE_SH7751R
  406. select SYS_SUPPORTS_PCI
  407. help
  408. Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
  409. config SH_X3PROTO
  410. bool "SH-X3 Prototype board"
  411. depends on CPU_SUBTYPE_SHX3
  412. config SH_MAGIC_PANEL_R2
  413. bool "Magic Panel R2"
  414. depends on CPU_SUBTYPE_SH7720
  415. help
  416. Select Magic Panel R2 if configuring for Magic Panel R2.
  417. config SH_CAYMAN
  418. bool "Hitachi Cayman"
  419. depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
  420. select SYS_SUPPORTS_PCI
  421. endmenu
  422. source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
  423. source "arch/sh/boards/renesas/r7780rp/Kconfig"
  424. source "arch/sh/boards/renesas/sdk7780/Kconfig"
  425. source "arch/sh/boards/magicpanelr2/Kconfig"
  426. menu "Timer and clock configuration"
  427. config SH_TMU
  428. def_bool y
  429. prompt "TMU timer support"
  430. depends on CPU_SH3 || CPU_SH4
  431. select GENERIC_TIME
  432. select GENERIC_CLOCKEVENTS
  433. help
  434. This enables the use of the TMU as the system timer.
  435. config SH_CMT
  436. def_bool y
  437. prompt "CMT timer support"
  438. depends on CPU_SH2
  439. help
  440. This enables the use of the CMT as the system timer.
  441. config SH_MTU2
  442. def_bool n
  443. prompt "MTU2 timer support"
  444. depends on CPU_SH2A
  445. help
  446. This enables the use of the MTU2 as the system timer.
  447. config SH_TIMER_IRQ
  448. int
  449. default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
  450. CPU_SUBTYPE_SH7763
  451. default "86" if CPU_SUBTYPE_SH7619
  452. default "140" if CPU_SUBTYPE_SH7206
  453. default "16"
  454. config SH_PCLK_FREQ
  455. int "Peripheral clock frequency (in Hz)"
  456. default "27000000" if CPU_SUBTYPE_SH7343
  457. default "31250000" if CPU_SUBTYPE_SH7619
  458. default "32000000" if CPU_SUBTYPE_SH7722
  459. default "33333333" if CPU_SUBTYPE_SH7770 || \
  460. CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
  461. CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
  462. CPU_SUBTYPE_SH7263
  463. default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
  464. default "66000000" if CPU_SUBTYPE_SH4_202
  465. default "50000000"
  466. help
  467. This option is used to specify the peripheral clock frequency.
  468. This is necessary for determining the reference clock value on
  469. platforms lacking an RTC.
  470. config SH_CLK_MD
  471. int "CPU Mode Pin Setting"
  472. depends on CPU_SH2
  473. default 6 if CPU_SUBTYPE_SH7206
  474. default 5 if CPU_SUBTYPE_SH7619
  475. default 0
  476. help
  477. MD2 - MD0 pin setting.
  478. source "kernel/time/Kconfig"
  479. endmenu
  480. menu "CPU Frequency scaling"
  481. source "drivers/cpufreq/Kconfig"
  482. config SH_CPU_FREQ
  483. tristate "SuperH CPU Frequency driver"
  484. depends on CPU_FREQ
  485. select CPU_FREQ_TABLE
  486. help
  487. This adds the cpufreq driver for SuperH. At present, only
  488. the SH-4 is supported.
  489. For details, take a look at <file:Documentation/cpu-freq>.
  490. If unsure, say N.
  491. endmenu
  492. source "arch/sh/drivers/Kconfig"
  493. endmenu
  494. config ISA_DMA_API
  495. def_bool y
  496. depends on SH_MPC1211
  497. menu "Kernel features"
  498. source kernel/Kconfig.hz
  499. config KEXEC
  500. bool "kexec system call (EXPERIMENTAL)"
  501. depends on EXPERIMENTAL
  502. help
  503. kexec is a system call that implements the ability to shutdown your
  504. current kernel, and to start another kernel. It is like a reboot
  505. but it is independent of the system firmware. And like a reboot
  506. you can start any kernel with it, not just Linux.
  507. The name comes from the similarity to the exec system call.
  508. It is an ongoing process to be certain the hardware in a machine
  509. is properly shutdown, so do not be surprised if this code does not
  510. initially work for you. It may help to enable device hotplugging
  511. support. As of this writing the exact hardware interface is
  512. strongly in flux, so no good recommendation can be made.
  513. config CRASH_DUMP
  514. bool "kernel crash dumps (EXPERIMENTAL)"
  515. depends on EXPERIMENTAL
  516. help
  517. Generate crash dump after being started by kexec.
  518. This should be normally only set in special crash dump kernels
  519. which are loaded in the main kernel with kexec-tools into
  520. a specially reserved region and then later executed after
  521. a crash by kdump/kexec. The crash dump kernel must be compiled
  522. to a memory address not used by the main kernel using
  523. MEMORY_START.
  524. For more details see Documentation/kdump/kdump.txt
  525. config SMP
  526. bool "Symmetric multi-processing support"
  527. depends on SYS_SUPPORTS_SMP
  528. ---help---
  529. This enables support for systems with more than one CPU. If you have
  530. a system with only one CPU, like most personal computers, say N. If
  531. you have a system with more than one CPU, say Y.
  532. If you say N here, the kernel will run on single and multiprocessor
  533. machines, but will use only one CPU of a multiprocessor machine. If
  534. you say Y here, the kernel will run on many, but not all,
  535. singleprocessor machines. On a singleprocessor machine, the kernel
  536. will run faster if you say N here.
  537. People using multiprocessor machines who say Y here should also say
  538. Y to "Enhanced Real Time Clock Support", below.
  539. See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  540. available 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. config ARCH_SUSPEND_POSSIBLE
  702. def_bool y
  703. depends on !SMP
  704. source kernel/power/Kconfig
  705. endmenu
  706. source "net/Kconfig"
  707. source "drivers/Kconfig"
  708. source "fs/Kconfig"
  709. source "arch/sh/Kconfig.debug"
  710. source "security/Kconfig"
  711. source "crypto/Kconfig"
  712. source "lib/Kconfig"