Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954
  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. depends on CPU_SUBTYPE_SH7723
  405. help
  406. Renesas "AP-325RXA" support.
  407. Compatible with ALGO SYSTEM CO.,LTD. "AP-320A"
  408. config SH_SH7763RDP
  409. bool "SH7763RDP"
  410. depends on CPU_SUBTYPE_SH7763
  411. help
  412. Select SH7763RDP if configuring for a Renesas SH7763
  413. evaluation board.
  414. config SH_EDOSK7705
  415. bool "EDOSK7705"
  416. depends on CPU_SUBTYPE_SH7705
  417. config SH_SH4202_MICRODEV
  418. bool "SH4-202 MicroDev"
  419. depends on CPU_SUBTYPE_SH4_202
  420. help
  421. Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
  422. with an SH4-202 CPU.
  423. config SH_LANDISK
  424. bool "LANDISK"
  425. depends on CPU_SUBTYPE_SH7751R
  426. select SYS_SUPPORTS_PCI
  427. help
  428. I-O DATA DEVICE, INC. "LANDISK Series" support.
  429. config SH_TITAN
  430. bool "TITAN"
  431. depends on CPU_SUBTYPE_SH7751R
  432. select CPU_HAS_IPR_IRQ
  433. select SYS_SUPPORTS_PCI
  434. help
  435. Select Titan if you are configuring for a Nimble Microsystems
  436. NetEngine NP51R.
  437. config SH_SHMIN
  438. bool "SHMIN"
  439. depends on CPU_SUBTYPE_SH7706
  440. select CPU_HAS_IPR_IRQ
  441. help
  442. Select SHMIN if configuring for the SHMIN board.
  443. config SH_LBOX_RE2
  444. bool "L-BOX RE2"
  445. depends on CPU_SUBTYPE_SH7751R
  446. select SYS_SUPPORTS_PCI
  447. help
  448. Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
  449. config SH_X3PROTO
  450. bool "SH-X3 Prototype board"
  451. depends on CPU_SUBTYPE_SHX3
  452. config SH_MAGIC_PANEL_R2
  453. bool "Magic Panel R2"
  454. depends on CPU_SUBTYPE_SH7720
  455. help
  456. Select Magic Panel R2 if configuring for Magic Panel R2.
  457. config SH_CAYMAN
  458. bool "Hitachi Cayman"
  459. depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
  460. select SYS_SUPPORTS_PCI
  461. endmenu
  462. source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
  463. source "arch/sh/boards/renesas/r7780rp/Kconfig"
  464. source "arch/sh/boards/renesas/sdk7780/Kconfig"
  465. source "arch/sh/boards/magicpanelr2/Kconfig"
  466. menu "Timer and clock configuration"
  467. config SH_TMU
  468. def_bool y
  469. prompt "TMU timer support"
  470. depends on CPU_SH3 || CPU_SH4
  471. select GENERIC_TIME
  472. select GENERIC_CLOCKEVENTS
  473. help
  474. This enables the use of the TMU as the system timer.
  475. config SH_CMT
  476. def_bool y
  477. prompt "CMT timer support"
  478. depends on CPU_SH2 && !CPU_SUBTYPE_MXG
  479. help
  480. This enables the use of the CMT as the system timer.
  481. config SH_MTU2
  482. def_bool n
  483. prompt "MTU2 timer support"
  484. depends on CPU_SH2A
  485. help
  486. This enables the use of the MTU2 as the system timer.
  487. config SH_TIMER_IRQ
  488. int
  489. default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
  490. CPU_SUBTYPE_SH7763
  491. default "86" if CPU_SUBTYPE_SH7619
  492. default "140" if CPU_SUBTYPE_SH7206
  493. default "142" if CPU_SUBTYPE_SH7203
  494. default "238" if CPU_SUBTYPE_MXG
  495. default "16"
  496. config SH_PCLK_FREQ
  497. int "Peripheral clock frequency (in Hz)"
  498. default "27000000" if CPU_SUBTYPE_SH7343
  499. default "31250000" if CPU_SUBTYPE_SH7619
  500. default "32000000" if CPU_SUBTYPE_SH7722
  501. default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
  502. CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
  503. CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
  504. CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG
  505. default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
  506. default "66000000" if CPU_SUBTYPE_SH4_202
  507. default "50000000"
  508. help
  509. This option is used to specify the peripheral clock frequency.
  510. This is necessary for determining the reference clock value on
  511. platforms lacking an RTC.
  512. config SH_CLK_MD
  513. int "CPU Mode Pin Setting"
  514. depends on CPU_SH2
  515. default 6 if CPU_SUBTYPE_SH7206
  516. default 5 if CPU_SUBTYPE_SH7619
  517. default 0
  518. help
  519. MD2 - MD0 pin setting.
  520. source "kernel/time/Kconfig"
  521. endmenu
  522. menu "CPU Frequency scaling"
  523. source "drivers/cpufreq/Kconfig"
  524. config SH_CPU_FREQ
  525. tristate "SuperH CPU Frequency driver"
  526. depends on CPU_FREQ
  527. select CPU_FREQ_TABLE
  528. help
  529. This adds the cpufreq driver for SuperH. At present, only
  530. the SH-4 is supported.
  531. For details, take a look at <file:Documentation/cpu-freq>.
  532. If unsure, say N.
  533. endmenu
  534. source "arch/sh/drivers/Kconfig"
  535. endmenu
  536. config ISA_DMA_API
  537. bool
  538. menu "Kernel features"
  539. source kernel/Kconfig.hz
  540. config KEXEC
  541. bool "kexec system call (EXPERIMENTAL)"
  542. depends on SUPERH32 && EXPERIMENTAL
  543. help
  544. kexec is a system call that implements the ability to shutdown your
  545. current kernel, and to start another kernel. It is like a reboot
  546. but it is independent of the system firmware. And like a reboot
  547. you can start any kernel with it, not just Linux.
  548. The name comes from the similarity to the exec system call.
  549. It is an ongoing process to be certain the hardware in a machine
  550. is properly shutdown, so do not be surprised if this code does not
  551. initially work for you. It may help to enable device hotplugging
  552. support. As of this writing the exact hardware interface is
  553. strongly in flux, so no good recommendation can be made.
  554. config CRASH_DUMP
  555. bool "kernel crash dumps (EXPERIMENTAL)"
  556. depends on SUPERH32 && EXPERIMENTAL
  557. help
  558. Generate crash dump after being started by kexec.
  559. This should be normally only set in special crash dump kernels
  560. which are loaded in the main kernel with kexec-tools into
  561. a specially reserved region and then later executed after
  562. a crash by kdump/kexec. The crash dump kernel must be compiled
  563. to a memory address not used by the main kernel using
  564. MEMORY_START.
  565. For more details see Documentation/kdump/kdump.txt
  566. config SMP
  567. bool "Symmetric multi-processing support"
  568. depends on SYS_SUPPORTS_SMP
  569. select USE_GENERIC_SMP_HELPERS
  570. ---help---
  571. This enables support for systems with more than one CPU. If you have
  572. a system with only one CPU, like most personal computers, say N. If
  573. you have a system with more than one CPU, say Y.
  574. If you say N here, the kernel will run on single and multiprocessor
  575. machines, but will use only one CPU of a multiprocessor machine. If
  576. you say Y here, the kernel will run on many, but not all,
  577. singleprocessor machines. On a singleprocessor machine, the kernel
  578. will run faster if you say N here.
  579. People using multiprocessor machines who say Y here should also say
  580. Y to "Enhanced Real Time Clock Support", below.
  581. See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  582. available at <http://www.tldp.org/docs.html#howto>.
  583. If you don't know what to do here, say N.
  584. config NR_CPUS
  585. int "Maximum number of CPUs (2-32)"
  586. range 2 32
  587. depends on SMP
  588. default "4" if CPU_SHX3
  589. default "2"
  590. help
  591. This allows you to specify the maximum number of CPUs which this
  592. kernel will support. The maximum supported value is 32 and the
  593. minimum value which makes sense is 2.
  594. This is purely to save memory - each supported CPU adds
  595. approximately eight kilobytes to the kernel image.
  596. source "kernel/Kconfig.preempt"
  597. config GUSA
  598. def_bool y
  599. depends on !SMP && SUPERH32
  600. help
  601. This enables support for gUSA (general UserSpace Atomicity).
  602. This is the default implementation for both UP and non-ll/sc
  603. CPUs, and is used by the libc, amongst others.
  604. For additional information, design information can be found
  605. in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
  606. This should only be disabled for special cases where alternate
  607. atomicity implementations exist.
  608. config GUSA_RB
  609. bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
  610. depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
  611. help
  612. Enabling this option will allow the kernel to implement some
  613. atomic operations using a software implemention of load-locked/
  614. store-conditional (LLSC). On machines which do not have hardware
  615. LLSC, this should be more efficient than the other alternative of
  616. disabling insterrupts around the atomic sequence.
  617. endmenu
  618. menu "Boot options"
  619. config ZERO_PAGE_OFFSET
  620. hex "Zero page offset"
  621. default "0x00004000" if SH_SH03
  622. default "0x00010000" if PAGE_SIZE_64KB
  623. default "0x00002000" if PAGE_SIZE_8KB
  624. default "0x00001000"
  625. help
  626. This sets the default offset of zero page.
  627. config BOOT_LINK_OFFSET
  628. hex "Link address offset for booting"
  629. default "0x00800000"
  630. help
  631. This option allows you to set the link address offset of the zImage.
  632. This can be useful if you are on a board which has a small amount of
  633. memory.
  634. config UBC_WAKEUP
  635. bool "Wakeup UBC on startup"
  636. depends on CPU_SH4 && !CPU_SH4A
  637. help
  638. Selecting this option will wakeup the User Break Controller (UBC) on
  639. startup. Although the UBC is left in an awake state when the processor
  640. comes up, some boot loaders misbehave by putting the UBC to sleep in a
  641. power saving state, which causes issues with things like ptrace().
  642. If unsure, say N.
  643. config CMDLINE_BOOL
  644. bool "Default bootloader kernel arguments"
  645. config CMDLINE
  646. string "Initial kernel command string"
  647. depends on CMDLINE_BOOL
  648. default "console=ttySC1,115200"
  649. endmenu
  650. menu "Bus options"
  651. # Even on SuperH devices which don't have an ISA bus,
  652. # this variable helps the PCMCIA modules handle
  653. # IRQ requesting properly -- Greg Banks.
  654. #
  655. # Though we're generally not interested in it when
  656. # we're not using PCMCIA, so we make it dependent on
  657. # PCMCIA outright. -- PFM.
  658. config ISA
  659. def_bool y
  660. depends on PCMCIA && HD6446X_SERIES
  661. help
  662. Find out whether you have ISA slots on your motherboard. ISA is the
  663. name of a bus system, i.e. the way the CPU talks to the other stuff
  664. inside your box. Other bus systems are PCI, EISA, MicroChannel
  665. (MCA) or VESA. ISA is an older system, now being displaced by PCI;
  666. newer boards don't support it. If you have ISA, say Y, otherwise N.
  667. config EISA
  668. bool
  669. ---help---
  670. The Extended Industry Standard Architecture (EISA) bus was
  671. developed as an open alternative to the IBM MicroChannel bus.
  672. The EISA bus provided some of the features of the IBM MicroChannel
  673. bus while maintaining backward compatibility with cards made for
  674. the older ISA bus. The EISA bus saw limited use between 1988 and
  675. 1995 when it was made obsolete by the PCI bus.
  676. Say Y here if you are building a kernel for an EISA-based machine.
  677. Otherwise, say N.
  678. config MCA
  679. bool
  680. help
  681. MicroChannel Architecture is found in some IBM PS/2 machines and
  682. laptops. It is a bus system similar to PCI or ISA. See
  683. <file:Documentation/mca.txt> (and especially the web page given
  684. there) before attempting to build an MCA bus kernel.
  685. config SBUS
  686. bool
  687. config SUPERHYWAY
  688. tristate "SuperHyway Bus support"
  689. depends on CPU_SUBTYPE_SH4_202
  690. config MAPLE
  691. bool "Maple Bus support"
  692. depends on SH_DREAMCAST
  693. help
  694. The Maple Bus is SEGA's serial communication bus for peripherals
  695. on the Dreamcast. Without this bus support you won't be able to
  696. get your Dreamcast keyboard etc to work, so most users
  697. probably want to say 'Y' here, unless you are only using the
  698. Dreamcast with a serial line terminal or a remote network
  699. connection.
  700. config CF_ENABLER
  701. bool "Compact Flash Enabler support"
  702. depends on SOLUTION_ENGINE || SH_SH03
  703. ---help---
  704. Compact Flash is a small, removable mass storage device introduced
  705. in 1994 originally as a PCMCIA device. If you say `Y' here, you
  706. compile in support for Compact Flash devices directly connected to
  707. a SuperH processor. A Compact Flash FAQ is available at
  708. <http://www.compactflash.org/faqs/faq.htm>.
  709. If your board has "Directly Connected" CompactFlash at area 5 or 6,
  710. you may want to enable this option. Then, you can use CF as
  711. primary IDE drive (only tested for SanDisk).
  712. If in doubt, select 'N'.
  713. choice
  714. prompt "Compact Flash Connection Area"
  715. depends on CF_ENABLER
  716. default CF_AREA6
  717. config CF_AREA5
  718. bool "Area5"
  719. help
  720. If your board has "Directly Connected" CompactFlash, You should
  721. select the area where your CF is connected to.
  722. - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
  723. - "Area6" if it is connected to Area 6 (0x18000000)
  724. "Area6" will work for most boards.
  725. config CF_AREA6
  726. bool "Area6"
  727. endchoice
  728. config CF_BASE_ADDR
  729. hex
  730. depends on CF_ENABLER
  731. default "0xb8000000" if CF_AREA6
  732. default "0xb4000000" if CF_AREA5
  733. source "arch/sh/drivers/pci/Kconfig"
  734. source "drivers/pci/Kconfig"
  735. source "drivers/pcmcia/Kconfig"
  736. source "drivers/pci/hotplug/Kconfig"
  737. endmenu
  738. menu "Executable file formats"
  739. source "fs/Kconfig.binfmt"
  740. endmenu
  741. menu "Power management options (EXPERIMENTAL)"
  742. depends on EXPERIMENTAL && SYS_SUPPORTS_PM
  743. config ARCH_SUSPEND_POSSIBLE
  744. def_bool y
  745. depends on !SMP
  746. source kernel/power/Kconfig
  747. endmenu
  748. source "net/Kconfig"
  749. source "drivers/Kconfig"
  750. source "fs/Kconfig"
  751. source "arch/sh/Kconfig.debug"
  752. source "security/Kconfig"
  753. source "crypto/Kconfig"
  754. source "lib/Kconfig"