Kconfig 23 KB

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