Kconfig 22 KB

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