Kconfig.sh 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957
  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. bool
  8. default y
  9. select EMBEDDED
  10. help
  11. The SuperH is a RISC processor targeted for use in embedded systems
  12. and consumer electronics; it was also used in the Sega Dreamcast
  13. gaming console. The SuperH port has a home page at
  14. <http://www.linux-sh.org/>.
  15. config RWSEM_GENERIC_SPINLOCK
  16. bool
  17. default y
  18. config RWSEM_XCHGADD_ALGORITHM
  19. bool
  20. config GENERIC_BUG
  21. def_bool y
  22. depends on BUG
  23. config GENERIC_FIND_NEXT_BIT
  24. bool
  25. default y
  26. config GENERIC_HWEIGHT
  27. bool
  28. default y
  29. config GENERIC_HARDIRQS
  30. bool
  31. default y
  32. config GENERIC_IRQ_PROBE
  33. bool
  34. default y
  35. config GENERIC_CALIBRATE_DELAY
  36. bool
  37. default 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 ARCH_MAY_HAVE_PC_FDC
  56. bool
  57. config STACKTRACE_SUPPORT
  58. bool
  59. default y
  60. config LOCKDEP_SUPPORT
  61. bool
  62. default y
  63. config ARCH_HAS_ILOG2_U32
  64. bool
  65. default n
  66. config ARCH_HAS_ILOG2_U64
  67. bool
  68. default n
  69. config ARCH_NO_VIRT_TO_BUS
  70. def_bool y
  71. source "init/Kconfig"
  72. menu "System type"
  73. #
  74. # Processor families
  75. #
  76. config CPU_SH2
  77. bool
  78. config CPU_SH2A
  79. bool
  80. select CPU_SH2
  81. config CPU_SH3
  82. bool
  83. select CPU_HAS_INTEVT
  84. select CPU_HAS_SR_RB
  85. config CPU_SH4
  86. bool
  87. select CPU_HAS_INTEVT
  88. select CPU_HAS_SR_RB
  89. select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
  90. select CPU_HAS_FPU if !CPU_SH4AL_DSP
  91. config CPU_SH4A
  92. bool
  93. select CPU_SH4
  94. config CPU_SH4AL_DSP
  95. bool
  96. select CPU_SH4A
  97. select CPU_HAS_DSP
  98. config CPU_SHX2
  99. bool
  100. config CPU_SHX3
  101. bool
  102. choice
  103. prompt "Processor sub-type selection"
  104. #
  105. # Processor subtypes
  106. #
  107. # SH-2 Processor Support
  108. config CPU_SUBTYPE_SH7619
  109. bool "Support SH7619 processor"
  110. select CPU_SH2
  111. # SH-2A Processor Support
  112. config CPU_SUBTYPE_SH7206
  113. bool "Support SH7206 processor"
  114. select CPU_SH2A
  115. # SH-3 Processor Support
  116. config CPU_SUBTYPE_SH7705
  117. bool "Support SH7705 processor"
  118. select CPU_SH3
  119. config CPU_SUBTYPE_SH7706
  120. bool "Support SH7706 processor"
  121. select CPU_SH3
  122. help
  123. Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
  124. config CPU_SUBTYPE_SH7707
  125. bool "Support SH7707 processor"
  126. select CPU_SH3
  127. help
  128. Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
  129. config CPU_SUBTYPE_SH7708
  130. bool "Support SH7708 processor"
  131. select CPU_SH3
  132. help
  133. Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
  134. if you have a 100 Mhz SH-3 HD6417708R CPU.
  135. config CPU_SUBTYPE_SH7709
  136. bool "Support SH7709 processor"
  137. select CPU_SH3
  138. help
  139. Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
  140. config CPU_SUBTYPE_SH7710
  141. bool "Support SH7710 processor"
  142. select CPU_SH3
  143. select CPU_HAS_DSP
  144. help
  145. Select SH7710 if you have a SH3-DSP SH7710 CPU.
  146. config CPU_SUBTYPE_SH7712
  147. bool "Support SH7712 processor"
  148. select CPU_SH3
  149. select CPU_HAS_DSP
  150. help
  151. Select SH7712 if you have a SH3-DSP SH7712 CPU.
  152. config CPU_SUBTYPE_SH7720
  153. bool "Support SH7720 processor"
  154. select CPU_SH3
  155. select CPU_HAS_DSP
  156. help
  157. Select SH7720 if you have a SH3-DSP SH7720 CPU.
  158. # SH-4 Processor Support
  159. config CPU_SUBTYPE_SH7750
  160. bool "Support SH7750 processor"
  161. select CPU_SH4
  162. help
  163. Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
  164. config CPU_SUBTYPE_SH7091
  165. bool "Support SH7091 processor"
  166. select CPU_SH4
  167. help
  168. Select SH7091 if you have an SH-4 based Sega device (such as
  169. the Dreamcast, Naomi, and Naomi 2).
  170. config CPU_SUBTYPE_SH7750R
  171. bool "Support SH7750R processor"
  172. select CPU_SH4
  173. config CPU_SUBTYPE_SH7750S
  174. bool "Support SH7750S processor"
  175. select CPU_SH4
  176. config CPU_SUBTYPE_SH7751
  177. bool "Support SH7751 processor"
  178. select CPU_SH4
  179. help
  180. Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
  181. or if you have a HD6417751R CPU.
  182. config CPU_SUBTYPE_SH7751R
  183. bool "Support SH7751R processor"
  184. select CPU_SH4
  185. config CPU_SUBTYPE_SH7760
  186. bool "Support SH7760 processor"
  187. select CPU_SH4
  188. config CPU_SUBTYPE_SH4_202
  189. bool "Support SH4-202 processor"
  190. select CPU_SH4
  191. # SH-4A Processor Support
  192. config CPU_SUBTYPE_SH7770
  193. bool "Support SH7770 processor"
  194. select CPU_SH4A
  195. config CPU_SUBTYPE_SH7780
  196. bool "Support SH7780 processor"
  197. select CPU_SH4A
  198. config CPU_SUBTYPE_SH7785
  199. bool "Support SH7785 processor"
  200. select CPU_SH4A
  201. select CPU_SHX2
  202. select ARCH_SPARSEMEM_ENABLE
  203. select SYS_SUPPORTS_NUMA
  204. config CPU_SUBTYPE_SHX3
  205. bool "Support SH-X3 processor"
  206. select CPU_SH4A
  207. select CPU_SHX3
  208. select ARCH_SPARSEMEM_ENABLE
  209. select SYS_SUPPORTS_NUMA
  210. select SYS_SUPPORTS_SMP
  211. # SH4AL-DSP Processor Support
  212. config CPU_SUBTYPE_SH7343
  213. bool "Support SH7343 processor"
  214. select CPU_SH4AL_DSP
  215. config CPU_SUBTYPE_SH7722
  216. bool "Support SH7722 processor"
  217. select CPU_SH4AL_DSP
  218. select CPU_SHX2
  219. select ARCH_SPARSEMEM_ENABLE
  220. select SYS_SUPPORTS_NUMA
  221. endchoice
  222. source "arch/sh/mm/Kconfig"
  223. menu "Processor features"
  224. choice
  225. prompt "Endianess selection"
  226. default CPU_LITTLE_ENDIAN
  227. help
  228. Some SuperH machines can be configured for either little or big
  229. endian byte order. These modes require different kernels.
  230. config CPU_LITTLE_ENDIAN
  231. bool "Little Endian"
  232. config CPU_BIG_ENDIAN
  233. bool "Big Endian"
  234. endchoice
  235. config SH_FPU
  236. bool "FPU support"
  237. depends on CPU_HAS_FPU
  238. default y
  239. help
  240. Selecting this option will enable support for SH processors that
  241. have FPU units (ie, SH77xx).
  242. This option must be set in order to enable the FPU.
  243. config SH_FPU_EMU
  244. bool "FPU emulation support"
  245. depends on !SH_FPU && EXPERIMENTAL
  246. default n
  247. help
  248. Selecting this option will enable support for software FPU emulation.
  249. Most SH-3 users will want to say Y here, whereas most SH-4 users will
  250. want to say N.
  251. config SH_DSP
  252. bool "DSP support"
  253. depends on CPU_HAS_DSP
  254. default y
  255. help
  256. Selecting this option will enable support for SH processors that
  257. have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
  258. This option must be set in order to enable the DSP.
  259. config SH_ADC
  260. bool "ADC support"
  261. depends on CPU_SH3
  262. default y
  263. help
  264. Selecting this option will allow the Linux kernel to use SH3 on-chip
  265. ADC module.
  266. If unsure, say N.
  267. config SH_STORE_QUEUES
  268. bool "Support for Store Queues"
  269. depends on CPU_SH4
  270. help
  271. Selecting this option will enable an in-kernel API for manipulating
  272. the store queues integrated in the SH-4 processors.
  273. config SPECULATIVE_EXECUTION
  274. bool "Speculative subroutine return"
  275. depends on CPU_SUBTYPE_SH7780 && EXPERIMENTAL
  276. help
  277. This enables support for a speculative instruction fetch for
  278. subroutine return. There are various pitfalls associated with
  279. this, as outlined in the SH7780 hardware manual.
  280. If unsure, say N.
  281. config CPU_HAS_INTEVT
  282. bool
  283. config CPU_HAS_MASKREG_IRQ
  284. bool
  285. config CPU_HAS_IPR_IRQ
  286. bool
  287. config CPU_HAS_SR_RB
  288. bool
  289. help
  290. This will enable the use of SR.RB register bank usage. Processors
  291. that are lacking this bit must have another method in place for
  292. accomplishing what is taken care of by the banked registers.
  293. See <file:Documentation/sh/register-banks.txt> for further
  294. information on SR.RB and register banking in the kernel in general.
  295. config CPU_HAS_PTEA
  296. bool
  297. config CPU_HAS_DSP
  298. bool
  299. config CPU_HAS_FPU
  300. bool
  301. endmenu
  302. menu "Board support"
  303. config SOLUTION_ENGINE
  304. bool
  305. config SH_SOLUTION_ENGINE
  306. bool "SolutionEngine"
  307. select SOLUTION_ENGINE
  308. select CPU_HAS_IPR_IRQ
  309. depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
  310. CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
  311. CPU_SUBTYPE_SH7750R
  312. help
  313. Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
  314. SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
  315. config SH_7206_SOLUTION_ENGINE
  316. bool "SolutionEngine7206"
  317. select SOLUTION_ENGINE
  318. depends on CPU_SUBTYPE_SH7206
  319. help
  320. Select 7206 SolutionEngine if configuring for a Hitachi SH7206
  321. evaluation board.
  322. config SH_7619_SOLUTION_ENGINE
  323. bool "SolutionEngine7619"
  324. select SOLUTION_ENGINE
  325. depends on CPU_SUBTYPE_SH7619
  326. help
  327. Select 7619 SolutionEngine if configuring for a Hitachi SH7619
  328. evaluation board.
  329. config SH_7722_SOLUTION_ENGINE
  330. bool "SolutionEngine7722"
  331. select SOLUTION_ENGINE
  332. depends on CPU_SUBTYPE_SH7722
  333. help
  334. Select 7722 SolutionEngine if configuring for a Hitachi SH772
  335. evaluation board.
  336. config SH_7751_SOLUTION_ENGINE
  337. bool "SolutionEngine7751"
  338. select SOLUTION_ENGINE
  339. select CPU_HAS_IPR_IRQ
  340. depends on CPU_SUBTYPE_SH7751
  341. help
  342. Select 7751 SolutionEngine if configuring for a Hitachi SH7751
  343. evaluation board.
  344. config SH_7780_SOLUTION_ENGINE
  345. bool "SolutionEngine7780"
  346. select SOLUTION_ENGINE
  347. select SYS_SUPPORTS_PCI
  348. depends on CPU_SUBTYPE_SH7780
  349. help
  350. Select 7780 SolutionEngine if configuring for a Renesas SH7780
  351. evaluation board.
  352. config SH_7343_SOLUTION_ENGINE
  353. bool "SolutionEngine7343"
  354. select SOLUTION_ENGINE
  355. depends on CPU_SUBTYPE_SH7343
  356. help
  357. Select 7343 SolutionEngine if configuring for a Hitachi
  358. SH7343 (SH-Mobile 3AS) evaluation board.
  359. config SH_7751_SYSTEMH
  360. bool "SystemH7751R"
  361. depends on CPU_SUBTYPE_SH7751R
  362. help
  363. Select SystemH if you are configuring for a Renesas SystemH
  364. 7751R evaluation board.
  365. config SH_HP6XX
  366. bool "HP6XX"
  367. select SYS_SUPPORTS_APM_EMULATION
  368. select HD6446X_SERIES
  369. depends on CPU_SUBTYPE_SH7709
  370. help
  371. Select HP6XX if configuring for a HP jornada HP6xx.
  372. More information (hardware only) at
  373. <http://www.hp.com/jornada/>.
  374. config SH_DREAMCAST
  375. bool "Dreamcast"
  376. select SYS_SUPPORTS_PCI
  377. depends on CPU_SUBTYPE_SH7091
  378. help
  379. Select Dreamcast if configuring for a SEGA Dreamcast.
  380. More information at <http://www.linux-sh.org>
  381. config SH_MPC1211
  382. bool "Interface MPC1211"
  383. depends on CPU_SUBTYPE_SH7751 && BROKEN
  384. help
  385. CTP/PCI-SH02 is a CPU module computer that is produced
  386. by Interface Corporation.
  387. More information at <http://www.interface.co.jp>
  388. config SH_SH03
  389. bool "Interface CTP/PCI-SH03"
  390. depends on CPU_SUBTYPE_SH7751
  391. select CPU_HAS_IPR_IRQ
  392. select SYS_SUPPORTS_PCI
  393. help
  394. CTP/PCI-SH03 is a CPU module computer that is produced
  395. by Interface Corporation.
  396. More information at <http://www.interface.co.jp>
  397. config SH_SECUREEDGE5410
  398. bool "SecureEdge5410"
  399. depends on CPU_SUBTYPE_SH7751R
  400. select CPU_HAS_IPR_IRQ
  401. select SYS_SUPPORTS_PCI
  402. help
  403. Select SecureEdge5410 if configuring for a SnapGear SH board.
  404. This includes both the OEM SecureEdge products as well as the
  405. SME product line.
  406. config SH_HS7751RVOIP
  407. bool "HS7751RVOIP"
  408. depends on CPU_SUBTYPE_SH7751R
  409. help
  410. Select HS7751RVOIP if configuring for a Renesas Technology
  411. Sales VoIP board.
  412. config SH_7710VOIPGW
  413. bool "SH7710-VOIP-GW"
  414. depends on CPU_SUBTYPE_SH7710
  415. help
  416. Select this option to build a kernel for the SH7710 based
  417. VOIP GW.
  418. config SH_RTS7751R2D
  419. bool "RTS7751R2D"
  420. depends on CPU_SUBTYPE_SH7751R
  421. select SYS_SUPPORTS_PCI
  422. help
  423. Select RTS7751R2D if configuring for a Renesas Technology
  424. Sales SH-Graphics board.
  425. config SH_HIGHLANDER
  426. bool "Highlander"
  427. depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
  428. select SYS_SUPPORTS_PCI
  429. config SH_EDOSK7705
  430. bool "EDOSK7705"
  431. depends on CPU_SUBTYPE_SH7705
  432. config SH_SH4202_MICRODEV
  433. bool "SH4-202 MicroDev"
  434. depends on CPU_SUBTYPE_SH4_202
  435. help
  436. Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
  437. with an SH4-202 CPU.
  438. config SH_LANDISK
  439. bool "LANDISK"
  440. depends on CPU_SUBTYPE_SH7751R
  441. select SYS_SUPPORTS_PCI
  442. help
  443. I-O DATA DEVICE, INC. "LANDISK Series" support.
  444. config SH_TITAN
  445. bool "TITAN"
  446. depends on CPU_SUBTYPE_SH7751R
  447. select CPU_HAS_IPR_IRQ
  448. select SYS_SUPPORTS_PCI
  449. help
  450. Select Titan if you are configuring for a Nimble Microsystems
  451. NetEngine NP51R.
  452. config SH_SHMIN
  453. bool "SHMIN"
  454. depends on CPU_SUBTYPE_SH7706
  455. select CPU_HAS_IPR_IRQ
  456. help
  457. Select SHMIN if configuring for the SHMIN board.
  458. config SH_LBOX_RE2
  459. bool "L-BOX RE2"
  460. depends on CPU_SUBTYPE_SH7751R
  461. select SYS_SUPPORTS_PCI
  462. help
  463. Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
  464. config SH_X3PROTO
  465. bool "SH-X3 Prototype board"
  466. depends on CPU_SUBTYPE_SHX3
  467. config SH_MAGIC_PANEL_R2
  468. bool "Magic Panel R2"
  469. depends on CPU_SUBTYPE_SH7720
  470. help
  471. Select Magic Panel R2 if configuring for Magic Panel R2.
  472. endmenu
  473. source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
  474. source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
  475. source "arch/sh/boards/renesas/r7780rp/Kconfig"
  476. source "arch/sh/boards/magicpanelr2/Kconfig"
  477. menu "Timer and clock configuration"
  478. config SH_TMU
  479. bool "TMU timer support"
  480. depends on CPU_SH3 || CPU_SH4
  481. select GENERIC_TIME
  482. select GENERIC_CLOCKEVENTS
  483. default y
  484. help
  485. This enables the use of the TMU as the system timer.
  486. config SH_CMT
  487. bool "CMT timer support"
  488. depends on CPU_SH2
  489. default y
  490. help
  491. This enables the use of the CMT as the system timer.
  492. config SH_MTU2
  493. bool "MTU2 timer support"
  494. depends on CPU_SH2A
  495. default n
  496. help
  497. This enables the use of the MTU2 as the system timer.
  498. config SH_TIMER_IRQ
  499. int
  500. default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
  501. default "86" if CPU_SUBTYPE_SH7619
  502. default "140" if CPU_SUBTYPE_SH7206
  503. default "16"
  504. config SH_PCLK_FREQ
  505. int "Peripheral clock frequency (in Hz)"
  506. default "27000000" if CPU_SUBTYPE_SH7343
  507. default "31250000" if CPU_SUBTYPE_SH7619
  508. default "32000000" if CPU_SUBTYPE_SH7722
  509. default "33333333" if CPU_SUBTYPE_SH7770 || \
  510. CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
  511. CPU_SUBTYPE_SH7206
  512. default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
  513. default "66000000" if CPU_SUBTYPE_SH4_202
  514. default "50000000"
  515. help
  516. This option is used to specify the peripheral clock frequency.
  517. This is necessary for determining the reference clock value on
  518. platforms lacking an RTC.
  519. config SH_CLK_MD
  520. int "CPU Mode Pin Setting"
  521. depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206
  522. default 6 if CPU_SUBTYPE_SH7206
  523. default 5 if CPU_SUBTYPE_SH7619
  524. default 0
  525. help
  526. MD2 - MD0 pin setting.
  527. source "kernel/time/Kconfig"
  528. endmenu
  529. menu "CPU Frequency scaling"
  530. source "drivers/cpufreq/Kconfig"
  531. config SH_CPU_FREQ
  532. tristate "SuperH CPU Frequency driver"
  533. depends on CPU_FREQ
  534. select CPU_FREQ_TABLE
  535. help
  536. This adds the cpufreq driver for SuperH. At present, only
  537. the SH-4 is supported.
  538. For details, take a look at <file:Documentation/cpu-freq>.
  539. If unsure, say N.
  540. endmenu
  541. source "arch/sh/drivers/Kconfig"
  542. endmenu
  543. config ISA_DMA_API
  544. bool
  545. depends on SH_MPC1211
  546. default y
  547. menu "Kernel features"
  548. source kernel/Kconfig.hz
  549. config KEXEC
  550. bool "kexec system call (EXPERIMENTAL)"
  551. depends on EXPERIMENTAL
  552. help
  553. kexec is a system call that implements the ability to shutdown your
  554. current kernel, and to start another kernel. It is like a reboot
  555. but it is independent of the system firmware. And like a reboot
  556. you can start any kernel with it, not just Linux.
  557. The name comes from the similarity to the exec system call.
  558. It is an ongoing process to be certain the hardware in a machine
  559. is properly shutdown, so do not be surprised if this code does not
  560. initially work for you. It may help to enable device hotplugging
  561. support. As of this writing the exact hardware interface is
  562. strongly in flux, so no good recommendation can be made.
  563. config CRASH_DUMP
  564. bool "kernel crash dumps (EXPERIMENTAL)"
  565. depends on EXPERIMENTAL
  566. help
  567. Generate crash dump after being started by kexec.
  568. This should be normally only set in special crash dump kernels
  569. which are loaded in the main kernel with kexec-tools into
  570. a specially reserved region and then later executed after
  571. a crash by kdump/kexec. The crash dump kernel must be compiled
  572. to a memory address not used by the main kernel using
  573. MEMORY_START.
  574. For more details see Documentation/kdump/kdump.txt
  575. config SMP
  576. bool "Symmetric multi-processing support"
  577. depends on SYS_SUPPORTS_SMP
  578. ---help---
  579. This enables support for systems with more than one CPU. If you have
  580. a system with only one CPU, like most personal computers, say N. If
  581. you have a system with more than one CPU, say Y.
  582. If you say N here, the kernel will run on single and multiprocessor
  583. machines, but will use only one CPU of a multiprocessor machine. If
  584. you say Y here, the kernel will run on many, but not all,
  585. singleprocessor machines. On a singleprocessor machine, the kernel
  586. will run faster if you say N here.
  587. People using multiprocessor machines who say Y here should also say
  588. Y to "Enhanced Real Time Clock Support", below.
  589. See also the <file:Documentation/smp.txt>,
  590. <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
  591. at <http://www.tldp.org/docs.html#howto>.
  592. If you don't know what to do here, say N.
  593. config NR_CPUS
  594. int "Maximum number of CPUs (2-32)"
  595. range 2 32
  596. depends on SMP
  597. default "4" if CPU_SHX3
  598. default "2"
  599. help
  600. This allows you to specify the maximum number of CPUs which this
  601. kernel will support. The maximum supported value is 32 and the
  602. minimum value which makes sense is 2.
  603. This is purely to save memory - each supported CPU adds
  604. approximately eight kilobytes to the kernel image.
  605. source "kernel/Kconfig.preempt"
  606. config GUSA
  607. def_bool y
  608. depends on !SMP
  609. help
  610. This enables support for gUSA (general UserSpace Atomicity).
  611. This is the default implementation for both UP and non-ll/sc
  612. CPUs, and is used by the libc, amongst others.
  613. For additional information, design information can be found
  614. in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
  615. This should only be disabled for special cases where alternate
  616. atomicity implementations exist.
  617. endmenu
  618. menu "Boot options"
  619. config ZERO_PAGE_OFFSET
  620. hex "Zero page offset"
  621. default "0x00004000" if SH_MPC1211 || 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. source kernel/power/Kconfig
  744. endmenu
  745. source "net/Kconfig"
  746. source "drivers/Kconfig"
  747. source "fs/Kconfig"
  748. source "kernel/Kconfig.instrumentation"
  749. source "arch/sh/Kconfig.debug"
  750. source "security/Kconfig"
  751. source "crypto/Kconfig"
  752. source "lib/Kconfig"