Kconfig 22 KB

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