Kconfig 23 KB

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