Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947
  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_CLK
  10. select HAVE_IDE
  11. select HAVE_OPROFILE
  12. help
  13. The SuperH is a RISC processor targeted for use in embedded systems
  14. and consumer electronics; it was also used in the Sega Dreamcast
  15. gaming console. The SuperH port has a home page at
  16. <http://www.linux-sh.org/>.
  17. config SUPERH32
  18. def_bool !SUPERH64
  19. config SUPERH64
  20. def_bool y if CPU_SH5
  21. config RWSEM_GENERIC_SPINLOCK
  22. def_bool y
  23. config RWSEM_XCHGADD_ALGORITHM
  24. bool
  25. config GENERIC_BUG
  26. def_bool y
  27. depends on BUG && SUPERH32
  28. config GENERIC_FIND_NEXT_BIT
  29. def_bool y
  30. config GENERIC_HWEIGHT
  31. def_bool y
  32. config GENERIC_HARDIRQS
  33. def_bool y
  34. config GENERIC_IRQ_PROBE
  35. def_bool y
  36. config GENERIC_CALIBRATE_DELAY
  37. def_bool y
  38. config GENERIC_IOMAP
  39. bool
  40. config GENERIC_TIME
  41. def_bool n
  42. config GENERIC_CLOCKEVENTS
  43. def_bool n
  44. config SYS_SUPPORTS_PM
  45. bool
  46. config SYS_SUPPORTS_APM_EMULATION
  47. bool
  48. select SYS_SUPPORTS_PM
  49. config SYS_SUPPORTS_SMP
  50. bool
  51. config SYS_SUPPORTS_NUMA
  52. bool
  53. config SYS_SUPPORTS_PCI
  54. bool
  55. config STACKTRACE_SUPPORT
  56. def_bool y
  57. config LOCKDEP_SUPPORT
  58. def_bool y
  59. config ARCH_HAS_ILOG2_U32
  60. def_bool n
  61. config ARCH_HAS_ILOG2_U64
  62. def_bool n
  63. config ARCH_NO_VIRT_TO_BUS
  64. def_bool y
  65. config ARCH_SUPPORTS_AOUT
  66. def_bool y
  67. config IO_TRAPPED
  68. bool
  69. source "init/Kconfig"
  70. menu "System type"
  71. #
  72. # Processor families
  73. #
  74. config CPU_SH2
  75. bool
  76. config CPU_SH2A
  77. bool
  78. select CPU_SH2
  79. config CPU_SH3
  80. bool
  81. select CPU_HAS_INTEVT
  82. select CPU_HAS_SR_RB
  83. config CPU_SH4
  84. bool
  85. select CPU_HAS_INTEVT
  86. select CPU_HAS_SR_RB
  87. select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
  88. select CPU_HAS_FPU if !CPU_SH4AL_DSP
  89. config CPU_SH4A
  90. bool
  91. select CPU_SH4
  92. config CPU_SH4AL_DSP
  93. bool
  94. select CPU_SH4A
  95. select CPU_HAS_DSP
  96. config CPU_SH5
  97. bool
  98. select CPU_HAS_FPU
  99. config CPU_SHX2
  100. bool
  101. config CPU_SHX3
  102. bool
  103. choice
  104. prompt "Processor sub-type selection"
  105. #
  106. # Processor subtypes
  107. #
  108. # SH-2 Processor Support
  109. config CPU_SUBTYPE_SH7619
  110. bool "Support SH7619 processor"
  111. select CPU_SH2
  112. # SH-2A Processor Support
  113. config CPU_SUBTYPE_SH7203
  114. bool "Support SH7203 processor"
  115. select CPU_SH2A
  116. select CPU_HAS_FPU
  117. config CPU_SUBTYPE_SH7206
  118. bool "Support SH7206 processor"
  119. select CPU_SH2A
  120. config CPU_SUBTYPE_SH7263
  121. bool "Support SH7263 processor"
  122. select CPU_SH2A
  123. select CPU_HAS_FPU
  124. config CPU_SUBTYPE_MXG
  125. bool "Support MX-G processor"
  126. select CPU_SH2A
  127. help
  128. Select MX-G if running on an R8A03022BG part.
  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. config CPU_SUBTYPE_SH7721
  173. bool "Support SH7721 processor"
  174. select CPU_SH3
  175. select CPU_HAS_DSP
  176. help
  177. Select SH7721 if you have a SH3-DSP SH7721 CPU.
  178. # SH-4 Processor Support
  179. config CPU_SUBTYPE_SH7750
  180. bool "Support SH7750 processor"
  181. select CPU_SH4
  182. help
  183. Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
  184. config CPU_SUBTYPE_SH7091
  185. bool "Support SH7091 processor"
  186. select CPU_SH4
  187. help
  188. Select SH7091 if you have an SH-4 based Sega device (such as
  189. the Dreamcast, Naomi, and Naomi 2).
  190. config CPU_SUBTYPE_SH7750R
  191. bool "Support SH7750R processor"
  192. select CPU_SH4
  193. config CPU_SUBTYPE_SH7750S
  194. bool "Support SH7750S processor"
  195. select CPU_SH4
  196. config CPU_SUBTYPE_SH7751
  197. bool "Support SH7751 processor"
  198. select CPU_SH4
  199. help
  200. Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
  201. or if you have a HD6417751R CPU.
  202. config CPU_SUBTYPE_SH7751R
  203. bool "Support SH7751R processor"
  204. select CPU_SH4
  205. config CPU_SUBTYPE_SH7760
  206. bool "Support SH7760 processor"
  207. select CPU_SH4
  208. config CPU_SUBTYPE_SH4_202
  209. bool "Support SH4-202 processor"
  210. select CPU_SH4
  211. # SH-4A Processor Support
  212. config CPU_SUBTYPE_SH7723
  213. bool "Support SH7723 processor"
  214. select CPU_SH4A
  215. select CPU_SHX2
  216. select ARCH_SPARSEMEM_ENABLE
  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_SH03
  356. bool "Interface CTP/PCI-SH03"
  357. depends on CPU_SUBTYPE_SH7751
  358. select CPU_HAS_IPR_IRQ
  359. select SYS_SUPPORTS_PCI
  360. help
  361. CTP/PCI-SH03 is a CPU module computer that is produced
  362. by Interface Corporation.
  363. More information at <http://www.interface.co.jp>
  364. config SH_SECUREEDGE5410
  365. bool "SecureEdge5410"
  366. depends on CPU_SUBTYPE_SH7751R
  367. select CPU_HAS_IPR_IRQ
  368. select SYS_SUPPORTS_PCI
  369. help
  370. Select SecureEdge5410 if configuring for a SnapGear SH board.
  371. This includes both the OEM SecureEdge products as well as the
  372. SME product line.
  373. config SH_RTS7751R2D
  374. bool "RTS7751R2D"
  375. depends on CPU_SUBTYPE_SH7751R
  376. select SYS_SUPPORTS_PCI
  377. select IO_TRAPPED
  378. help
  379. Select RTS7751R2D if configuring for a Renesas Technology
  380. Sales SH-Graphics board.
  381. config SH_RSK7203
  382. bool "RSK7203"
  383. depends on CPU_SUBTYPE_SH7203
  384. config SH_SDK7780
  385. bool "SDK7780R3"
  386. depends on CPU_SUBTYPE_SH7780
  387. select SYS_SUPPORTS_PCI
  388. help
  389. Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
  390. evaluation board.
  391. config SH_HIGHLANDER
  392. bool "Highlander"
  393. depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
  394. select SYS_SUPPORTS_PCI
  395. select IO_TRAPPED
  396. config SH_MIGOR
  397. bool "Migo-R"
  398. depends on CPU_SUBTYPE_SH7722
  399. help
  400. Select Migo-R if configuring for the SH7722 Migo-R platform
  401. by Renesas System Solutions Asia Pte. Ltd.
  402. config SH_AP325RXA
  403. bool "AP-325RXA"
  404. select CPU_SUBTYPE_SH7723
  405. help
  406. Renesas "AP-325RXA" support.
  407. Compatible with ALGO SYSTEM CO.,LTD. "AP-320A"
  408. config SH_EDOSK7705
  409. bool "EDOSK7705"
  410. depends on CPU_SUBTYPE_SH7705
  411. config SH_SH4202_MICRODEV
  412. bool "SH4-202 MicroDev"
  413. depends on CPU_SUBTYPE_SH4_202
  414. help
  415. Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
  416. with an SH4-202 CPU.
  417. config SH_LANDISK
  418. bool "LANDISK"
  419. depends on CPU_SUBTYPE_SH7751R
  420. select SYS_SUPPORTS_PCI
  421. help
  422. I-O DATA DEVICE, INC. "LANDISK Series" support.
  423. config SH_TITAN
  424. bool "TITAN"
  425. depends on CPU_SUBTYPE_SH7751R
  426. select CPU_HAS_IPR_IRQ
  427. select SYS_SUPPORTS_PCI
  428. help
  429. Select Titan if you are configuring for a Nimble Microsystems
  430. NetEngine NP51R.
  431. config SH_SHMIN
  432. bool "SHMIN"
  433. depends on CPU_SUBTYPE_SH7706
  434. select CPU_HAS_IPR_IRQ
  435. help
  436. Select SHMIN if configuring for the SHMIN board.
  437. config SH_LBOX_RE2
  438. bool "L-BOX RE2"
  439. depends on CPU_SUBTYPE_SH7751R
  440. select SYS_SUPPORTS_PCI
  441. help
  442. Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
  443. config SH_X3PROTO
  444. bool "SH-X3 Prototype board"
  445. depends on CPU_SUBTYPE_SHX3
  446. config SH_MAGIC_PANEL_R2
  447. bool "Magic Panel R2"
  448. depends on CPU_SUBTYPE_SH7720
  449. help
  450. Select Magic Panel R2 if configuring for Magic Panel R2.
  451. config SH_CAYMAN
  452. bool "Hitachi Cayman"
  453. depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
  454. select SYS_SUPPORTS_PCI
  455. endmenu
  456. source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
  457. source "arch/sh/boards/renesas/r7780rp/Kconfig"
  458. source "arch/sh/boards/renesas/sdk7780/Kconfig"
  459. source "arch/sh/boards/magicpanelr2/Kconfig"
  460. menu "Timer and clock configuration"
  461. config SH_TMU
  462. def_bool y
  463. prompt "TMU timer support"
  464. depends on CPU_SH3 || CPU_SH4
  465. select GENERIC_TIME
  466. select GENERIC_CLOCKEVENTS
  467. help
  468. This enables the use of the TMU as the system timer.
  469. config SH_CMT
  470. def_bool y
  471. prompt "CMT timer support"
  472. depends on CPU_SH2 && !CPU_SUBTYPE_MXG
  473. help
  474. This enables the use of the CMT as the system timer.
  475. config SH_MTU2
  476. def_bool n
  477. prompt "MTU2 timer support"
  478. depends on CPU_SH2A
  479. help
  480. This enables the use of the MTU2 as the system timer.
  481. config SH_TIMER_IRQ
  482. int
  483. default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
  484. CPU_SUBTYPE_SH7763
  485. default "86" if CPU_SUBTYPE_SH7619
  486. default "140" if CPU_SUBTYPE_SH7206
  487. default "142" if CPU_SUBTYPE_SH7203
  488. default "238" if CPU_SUBTYPE_MXG
  489. default "16"
  490. config SH_PCLK_FREQ
  491. int "Peripheral clock frequency (in Hz)"
  492. default "27000000" if CPU_SUBTYPE_SH7343
  493. default "31250000" if CPU_SUBTYPE_SH7619
  494. default "32000000" if CPU_SUBTYPE_SH7722
  495. default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
  496. CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
  497. CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
  498. CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG
  499. default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
  500. default "66000000" if CPU_SUBTYPE_SH4_202
  501. default "50000000"
  502. help
  503. This option is used to specify the peripheral clock frequency.
  504. This is necessary for determining the reference clock value on
  505. platforms lacking an RTC.
  506. config SH_CLK_MD
  507. int "CPU Mode Pin Setting"
  508. depends on CPU_SH2
  509. default 6 if CPU_SUBTYPE_SH7206
  510. default 5 if CPU_SUBTYPE_SH7619
  511. default 0
  512. help
  513. MD2 - MD0 pin setting.
  514. source "kernel/time/Kconfig"
  515. endmenu
  516. menu "CPU Frequency scaling"
  517. source "drivers/cpufreq/Kconfig"
  518. config SH_CPU_FREQ
  519. tristate "SuperH CPU Frequency driver"
  520. depends on CPU_FREQ
  521. select CPU_FREQ_TABLE
  522. help
  523. This adds the cpufreq driver for SuperH. At present, only
  524. the SH-4 is supported.
  525. For details, take a look at <file:Documentation/cpu-freq>.
  526. If unsure, say N.
  527. endmenu
  528. source "arch/sh/drivers/Kconfig"
  529. endmenu
  530. config ISA_DMA_API
  531. bool
  532. menu "Kernel features"
  533. source kernel/Kconfig.hz
  534. config KEXEC
  535. bool "kexec system call (EXPERIMENTAL)"
  536. depends on SUPERH32 && EXPERIMENTAL
  537. help
  538. kexec is a system call that implements the ability to shutdown your
  539. current kernel, and to start another kernel. It is like a reboot
  540. but it is independent of the system firmware. And like a reboot
  541. you can start any kernel with it, not just Linux.
  542. The name comes from the similarity to the exec system call.
  543. It is an ongoing process to be certain the hardware in a machine
  544. is properly shutdown, so do not be surprised if this code does not
  545. initially work for you. It may help to enable device hotplugging
  546. support. As of this writing the exact hardware interface is
  547. strongly in flux, so no good recommendation can be made.
  548. config CRASH_DUMP
  549. bool "kernel crash dumps (EXPERIMENTAL)"
  550. depends on SUPERH32 && EXPERIMENTAL
  551. help
  552. Generate crash dump after being started by kexec.
  553. This should be normally only set in special crash dump kernels
  554. which are loaded in the main kernel with kexec-tools into
  555. a specially reserved region and then later executed after
  556. a crash by kdump/kexec. The crash dump kernel must be compiled
  557. to a memory address not used by the main kernel using
  558. MEMORY_START.
  559. For more details see Documentation/kdump/kdump.txt
  560. config SMP
  561. bool "Symmetric multi-processing support"
  562. depends on SYS_SUPPORTS_SMP
  563. select USE_GENERIC_SMP_HELPERS
  564. ---help---
  565. This enables support for systems with more than one CPU. If you have
  566. a system with only one CPU, like most personal computers, say N. If
  567. you have a system with more than one CPU, say Y.
  568. If you say N here, the kernel will run on single and multiprocessor
  569. machines, but will use only one CPU of a multiprocessor machine. If
  570. you say Y here, the kernel will run on many, but not all,
  571. singleprocessor machines. On a singleprocessor machine, the kernel
  572. will run faster if you say N here.
  573. People using multiprocessor machines who say Y here should also say
  574. Y to "Enhanced Real Time Clock Support", below.
  575. See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  576. available at <http://www.tldp.org/docs.html#howto>.
  577. If you don't know what to do here, say N.
  578. config NR_CPUS
  579. int "Maximum number of CPUs (2-32)"
  580. range 2 32
  581. depends on SMP
  582. default "4" if CPU_SHX3
  583. default "2"
  584. help
  585. This allows you to specify the maximum number of CPUs which this
  586. kernel will support. The maximum supported value is 32 and the
  587. minimum value which makes sense is 2.
  588. This is purely to save memory - each supported CPU adds
  589. approximately eight kilobytes to the kernel image.
  590. source "kernel/Kconfig.preempt"
  591. config GUSA
  592. def_bool y
  593. depends on !SMP && SUPERH32
  594. help
  595. This enables support for gUSA (general UserSpace Atomicity).
  596. This is the default implementation for both UP and non-ll/sc
  597. CPUs, and is used by the libc, amongst others.
  598. For additional information, design information can be found
  599. in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
  600. This should only be disabled for special cases where alternate
  601. atomicity implementations exist.
  602. config GUSA_RB
  603. bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
  604. depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
  605. help
  606. Enabling this option will allow the kernel to implement some
  607. atomic operations using a software implemention of load-locked/
  608. store-conditional (LLSC). On machines which do not have hardware
  609. LLSC, this should be more efficient than the other alternative of
  610. disabling insterrupts around the atomic sequence.
  611. endmenu
  612. menu "Boot options"
  613. config ZERO_PAGE_OFFSET
  614. hex "Zero page offset"
  615. default "0x00004000" if SH_SH03
  616. default "0x00010000" if PAGE_SIZE_64KB
  617. default "0x00002000" if PAGE_SIZE_8KB
  618. default "0x00001000"
  619. help
  620. This sets the default offset of zero page.
  621. config BOOT_LINK_OFFSET
  622. hex "Link address offset for booting"
  623. default "0x00800000"
  624. help
  625. This option allows you to set the link address offset of the zImage.
  626. This can be useful if you are on a board which has a small amount of
  627. memory.
  628. config UBC_WAKEUP
  629. bool "Wakeup UBC on startup"
  630. depends on CPU_SH4 && !CPU_SH4A
  631. help
  632. Selecting this option will wakeup the User Break Controller (UBC) on
  633. startup. Although the UBC is left in an awake state when the processor
  634. comes up, some boot loaders misbehave by putting the UBC to sleep in a
  635. power saving state, which causes issues with things like ptrace().
  636. If unsure, say N.
  637. config CMDLINE_BOOL
  638. bool "Default bootloader kernel arguments"
  639. config CMDLINE
  640. string "Initial kernel command string"
  641. depends on CMDLINE_BOOL
  642. default "console=ttySC1,115200"
  643. endmenu
  644. menu "Bus options"
  645. # Even on SuperH devices which don't have an ISA bus,
  646. # this variable helps the PCMCIA modules handle
  647. # IRQ requesting properly -- Greg Banks.
  648. #
  649. # Though we're generally not interested in it when
  650. # we're not using PCMCIA, so we make it dependent on
  651. # PCMCIA outright. -- PFM.
  652. config ISA
  653. def_bool y
  654. depends on PCMCIA && HD6446X_SERIES
  655. help
  656. Find out whether you have ISA slots on your motherboard. ISA is the
  657. name of a bus system, i.e. the way the CPU talks to the other stuff
  658. inside your box. Other bus systems are PCI, EISA, MicroChannel
  659. (MCA) or VESA. ISA is an older system, now being displaced by PCI;
  660. newer boards don't support it. If you have ISA, say Y, otherwise N.
  661. config EISA
  662. bool
  663. ---help---
  664. The Extended Industry Standard Architecture (EISA) bus was
  665. developed as an open alternative to the IBM MicroChannel bus.
  666. The EISA bus provided some of the features of the IBM MicroChannel
  667. bus while maintaining backward compatibility with cards made for
  668. the older ISA bus. The EISA bus saw limited use between 1988 and
  669. 1995 when it was made obsolete by the PCI bus.
  670. Say Y here if you are building a kernel for an EISA-based machine.
  671. Otherwise, say N.
  672. config MCA
  673. bool
  674. help
  675. MicroChannel Architecture is found in some IBM PS/2 machines and
  676. laptops. It is a bus system similar to PCI or ISA. See
  677. <file:Documentation/mca.txt> (and especially the web page given
  678. there) before attempting to build an MCA bus kernel.
  679. config SBUS
  680. bool
  681. config SUPERHYWAY
  682. tristate "SuperHyway Bus support"
  683. depends on CPU_SUBTYPE_SH4_202
  684. config MAPLE
  685. bool "Maple Bus support"
  686. depends on SH_DREAMCAST
  687. help
  688. The Maple Bus is SEGA's serial communication bus for peripherals
  689. on the Dreamcast. Without this bus support you won't be able to
  690. get your Dreamcast keyboard etc to work, so most users
  691. probably want to say 'Y' here, unless you are only using the
  692. Dreamcast with a serial line terminal or a remote network
  693. connection.
  694. config CF_ENABLER
  695. bool "Compact Flash Enabler support"
  696. depends on SOLUTION_ENGINE || SH_SH03
  697. ---help---
  698. Compact Flash is a small, removable mass storage device introduced
  699. in 1994 originally as a PCMCIA device. If you say `Y' here, you
  700. compile in support for Compact Flash devices directly connected to
  701. a SuperH processor. A Compact Flash FAQ is available at
  702. <http://www.compactflash.org/faqs/faq.htm>.
  703. If your board has "Directly Connected" CompactFlash at area 5 or 6,
  704. you may want to enable this option. Then, you can use CF as
  705. primary IDE drive (only tested for SanDisk).
  706. If in doubt, select 'N'.
  707. choice
  708. prompt "Compact Flash Connection Area"
  709. depends on CF_ENABLER
  710. default CF_AREA6
  711. config CF_AREA5
  712. bool "Area5"
  713. help
  714. If your board has "Directly Connected" CompactFlash, You should
  715. select the area where your CF is connected to.
  716. - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
  717. - "Area6" if it is connected to Area 6 (0x18000000)
  718. "Area6" will work for most boards.
  719. config CF_AREA6
  720. bool "Area6"
  721. endchoice
  722. config CF_BASE_ADDR
  723. hex
  724. depends on CF_ENABLER
  725. default "0xb8000000" if CF_AREA6
  726. default "0xb4000000" if CF_AREA5
  727. source "arch/sh/drivers/pci/Kconfig"
  728. source "drivers/pci/Kconfig"
  729. source "drivers/pcmcia/Kconfig"
  730. source "drivers/pci/hotplug/Kconfig"
  731. endmenu
  732. menu "Executable file formats"
  733. source "fs/Kconfig.binfmt"
  734. endmenu
  735. menu "Power management options (EXPERIMENTAL)"
  736. depends on EXPERIMENTAL && SYS_SUPPORTS_PM
  737. config ARCH_SUSPEND_POSSIBLE
  738. def_bool y
  739. depends on !SMP
  740. source kernel/power/Kconfig
  741. endmenu
  742. source "net/Kconfig"
  743. source "drivers/Kconfig"
  744. source "fs/Kconfig"
  745. source "arch/sh/Kconfig.debug"
  746. source "security/Kconfig"
  747. source "crypto/Kconfig"
  748. source "lib/Kconfig"