Kconfig.sh 22 KB

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