Kconfig 22 KB

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