Kconfig 21 KB

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