Kconfig 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  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_FIND_NEXT_BIT
  21. bool
  22. default y
  23. config GENERIC_HWEIGHT
  24. bool
  25. default y
  26. config GENERIC_HARDIRQS
  27. bool
  28. default y
  29. config GENERIC_IRQ_PROBE
  30. bool
  31. default y
  32. config GENERIC_CALIBRATE_DELAY
  33. bool
  34. default y
  35. config GENERIC_IOMAP
  36. bool
  37. config GENERIC_TIME
  38. def_bool n
  39. config ARCH_MAY_HAVE_PC_FDC
  40. bool
  41. source "init/Kconfig"
  42. menu "System type"
  43. config SOLUTION_ENGINE
  44. bool
  45. choice
  46. prompt "SuperH system type"
  47. default SH_UNKNOWN
  48. config SH_SOLUTION_ENGINE
  49. bool "SolutionEngine"
  50. select SOLUTION_ENGINE
  51. help
  52. Select SolutionEngine if configuring for a Hitachi SH7709
  53. or SH7750 evaluation board.
  54. config SH_7751_SOLUTION_ENGINE
  55. bool "SolutionEngine7751"
  56. select SOLUTION_ENGINE
  57. select CPU_SUBTYPE_SH7751
  58. help
  59. Select 7751 SolutionEngine if configuring for a Hitachi SH7751
  60. evaluation board.
  61. config SH_7300_SOLUTION_ENGINE
  62. bool "SolutionEngine7300"
  63. select SOLUTION_ENGINE
  64. select CPU_SUBTYPE_SH7300
  65. help
  66. Select 7300 SolutionEngine if configuring for a Hitachi
  67. SH7300(SH-Mobile V) evaluation board.
  68. config SH_7343_SOLUTION_ENGINE
  69. bool "SolutionEngine7343"
  70. select SOLUTION_ENGINE
  71. select CPU_SUBTYPE_SH7343
  72. help
  73. Select 7343 SolutionEngine if configuring for a Hitachi
  74. SH7343 (SH-Mobile 3AS) evaluation board.
  75. config SH_73180_SOLUTION_ENGINE
  76. bool "SolutionEngine73180"
  77. select SOLUTION_ENGINE
  78. select CPU_SUBTYPE_SH73180
  79. help
  80. Select 73180 SolutionEngine if configuring for a Hitachi
  81. SH73180(SH-Mobile 3) evaluation board.
  82. config SH_7751_SYSTEMH
  83. bool "SystemH7751R"
  84. select CPU_SUBTYPE_SH7751R
  85. help
  86. Select SystemH if you are configuring for a Renesas SystemH
  87. 7751R evaluation board.
  88. config SH_HP6XX
  89. bool "HP6XX"
  90. help
  91. Select HP6XX if configuring for a HP jornada HP6xx.
  92. More information (hardware only) at
  93. <http://www.hp.com/jornada/>.
  94. config SH_EC3104
  95. bool "EC3104"
  96. help
  97. Select EC3104 if configuring for a system with an Eclipse
  98. International EC3104 chip, e.g. the Harris AD2000.
  99. config SH_SATURN
  100. bool "Saturn"
  101. select CPU_SUBTYPE_SH7604
  102. help
  103. Select Saturn if configuring for a SEGA Saturn.
  104. config SH_DREAMCAST
  105. bool "Dreamcast"
  106. select CPU_SUBTYPE_SH7091
  107. help
  108. Select Dreamcast if configuring for a SEGA Dreamcast.
  109. More information at
  110. <http://www.m17n.org/linux-sh/dreamcast/>. There is a
  111. Dreamcast project is at <http://linuxdc.sourceforge.net/>.
  112. config SH_BIGSUR
  113. bool "BigSur"
  114. config SH_MPC1211
  115. bool "Interface MPC1211"
  116. help
  117. CTP/PCI-SH02 is a CPU module computer that is produced
  118. by Interface Corporation.
  119. More information at <http://www.interface.co.jp>
  120. config SH_SH03
  121. bool "Interface CTP/PCI-SH03"
  122. help
  123. CTP/PCI-SH03 is a CPU module computer that is produced
  124. by Interface Corporation.
  125. More information at <http://www.interface.co.jp>
  126. config SH_SECUREEDGE5410
  127. bool "SecureEdge5410"
  128. select CPU_SUBTYPE_SH7751R
  129. help
  130. Select SecureEdge5410 if configuring for a SnapGear SH board.
  131. This includes both the OEM SecureEdge products as well as the
  132. SME product line.
  133. config SH_HS7751RVOIP
  134. bool "HS7751RVOIP"
  135. select CPU_SUBTYPE_SH7751R
  136. help
  137. Select HS7751RVOIP if configuring for a Renesas Technology
  138. Sales VoIP board.
  139. config SH_7710VOIPGW
  140. bool "SH7710-VOIP-GW"
  141. select CPU_SUBTYPE_SH7710
  142. help
  143. Select this option to build a kernel for the SH7710 based
  144. VOIP GW.
  145. config SH_RTS7751R2D
  146. bool "RTS7751R2D"
  147. select CPU_SUBTYPE_SH7751R
  148. help
  149. Select RTS7751R2D if configuring for a Renesas Technology
  150. Sales SH-Graphics board.
  151. config SH_R7780RP
  152. bool "R7780RP-1"
  153. select CPU_SUBTYPE_SH7780
  154. help
  155. Select R7780RP-1 if configuring for a Renesas Solutions
  156. HIGHLANDER board.
  157. config SH_EDOSK7705
  158. bool "EDOSK7705"
  159. select CPU_SUBTYPE_SH7705
  160. config SH_SH4202_MICRODEV
  161. bool "SH4-202 MicroDev"
  162. select CPU_SUBTYPE_SH4_202
  163. help
  164. Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
  165. with an SH4-202 CPU.
  166. config SH_LANDISK
  167. bool "LANDISK"
  168. select CPU_SUBTYPE_SH7751R
  169. help
  170. I-O DATA DEVICE, INC. "LANDISK Series" support.
  171. config SH_TITAN
  172. bool "TITAN"
  173. select CPU_SUBTYPE_SH7751R
  174. help
  175. Select Titan if you are configuring for a Nimble Microsystems
  176. NetEngine NP51R.
  177. config SH_SHMIN
  178. bool "SHMIN"
  179. select CPU_SUBTYPE_SH7706
  180. help
  181. Select SHMIN if configuring for the SHMIN board.
  182. config SH_7206_SOLUTION_ENGINE
  183. bool "SolutionEngine7206"
  184. select CPU_SUBTYPE_SH7206
  185. help
  186. Select 7206 SolutionEngine if configuring for a Hitachi SH7206
  187. evaluation board.
  188. config SH_7619_SOLUTION_ENGINE
  189. bool "SolutionEngine7619"
  190. select CPU_SUBTYPE_SH7619
  191. help
  192. Select 7619 SolutionEngine if configuring for a Hitachi SH7619
  193. evaluation board.
  194. config SH_UNKNOWN
  195. bool "BareCPU"
  196. help
  197. "Bare CPU" aka "unknown" means an SH-based system which is not one
  198. of the specific ones mentioned above, which means you need to enter
  199. all sorts of stuff like CONFIG_MEMORY_START because the config
  200. system doesn't already know what it is. You get a machine vector
  201. without any platform-specific code in it, so things like the RTC may
  202. not work.
  203. This option is for the early stages of porting to a new machine.
  204. endchoice
  205. source "arch/sh/mm/Kconfig"
  206. config CF_ENABLER
  207. bool "Compact Flash Enabler support"
  208. depends on SH_SOLUTION_ENGINE || SH_UNKNOWN || SH_SH03
  209. ---help---
  210. Compact Flash is a small, removable mass storage device introduced
  211. in 1994 originally as a PCMCIA device. If you say `Y' here, you
  212. compile in support for Compact Flash devices directly connected to
  213. a SuperH processor. A Compact Flash FAQ is available at
  214. <http://www.compactflash.org/faqs/faq.htm>.
  215. If your board has "Directly Connected" CompactFlash at area 5 or 6,
  216. you may want to enable this option. Then, you can use CF as
  217. primary IDE drive (only tested for SanDisk).
  218. If in doubt, select 'N'.
  219. choice
  220. prompt "Compact Flash Connection Area"
  221. depends on CF_ENABLER
  222. default CF_AREA6
  223. config CF_AREA5
  224. bool "Area5"
  225. help
  226. If your board has "Directly Connected" CompactFlash, You should
  227. select the area where your CF is connected to.
  228. - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
  229. - "Area6" if it is connected to Area 6 (0x18000000)
  230. "Area6" will work for most boards.
  231. config CF_AREA6
  232. bool "Area6"
  233. endchoice
  234. config CF_BASE_ADDR
  235. hex
  236. depends on CF_ENABLER
  237. default "0xb8000000" if CF_AREA6
  238. default "0xb4000000" if CF_AREA5
  239. menu "Processor features"
  240. config CPU_LITTLE_ENDIAN
  241. bool "Little Endian"
  242. help
  243. Some SuperH machines can be configured for either little or big
  244. endian byte order. These modes require different kernels. Say Y if
  245. your machine is little endian, N if it's a big endian machine.
  246. config SH_FPU
  247. bool "FPU support"
  248. depends on !CPU_SH3
  249. default y
  250. help
  251. Selecting this option will enable support for SH processors that
  252. have FPU units (ie, SH77xx).
  253. This option must be set in order to enable the FPU.
  254. config SH_FPU_EMU
  255. bool "FPU emulation support"
  256. depends on !SH_FPU && EXPERIMENTAL
  257. default n
  258. help
  259. Selecting this option will enable support for software FPU emulation.
  260. Most SH-3 users will want to say Y here, whereas most SH-4 users will
  261. want to say N.
  262. config SH_DSP
  263. bool "DSP support"
  264. default y if SH4AL_DSP || !CPU_SH4
  265. default n
  266. help
  267. Selecting this option will enable support for SH processors that
  268. have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
  269. This option must be set in order to enable the DSP.
  270. config SH_ADC
  271. bool "ADC support"
  272. depends on CPU_SH3
  273. default y
  274. help
  275. Selecting this option will allow the Linux kernel to use SH3 on-chip
  276. ADC module.
  277. If unsure, say N.
  278. config SH_STORE_QUEUES
  279. bool "Support for Store Queues"
  280. depends on CPU_SH4
  281. help
  282. Selecting this option will enable an in-kernel API for manipulating
  283. the store queues integrated in the SH-4 processors.
  284. config CPU_HAS_INTEVT
  285. bool
  286. config CPU_HAS_PINT_IRQ
  287. bool
  288. config CPU_HAS_MASKREG_IRQ
  289. bool
  290. config CPU_HAS_INTC2_IRQ
  291. bool
  292. config CPU_HAS_SR_RB
  293. bool "CPU has SR.RB"
  294. depends on CPU_SH3 || CPU_SH4
  295. default y
  296. help
  297. This will enable the use of SR.RB register bank usage. Processors
  298. that are lacking this bit must have another method in place for
  299. accomplishing what is taken care of by the banked registers.
  300. See <file:Documentation/sh/register-banks.txt> for further
  301. information on SR.RB and register banking in the kernel in general.
  302. endmenu
  303. menu "Timer support"
  304. depends on !GENERIC_TIME
  305. config SH_TMU
  306. bool "TMU timer support"
  307. depends on CPU_SH3 || CPU_SH4
  308. default y
  309. help
  310. This enables the use of the TMU as the system timer.
  311. config SH_CMT
  312. bool "CMT timer support"
  313. depends on CPU_SH2
  314. default y
  315. help
  316. This enables the use of the CMT as the system timer.
  317. config SH_MTU2
  318. bool "MTU2 timer support"
  319. depends on CPU_SH2A
  320. default n
  321. help
  322. This enables the use of the MTU2 as the system timer.
  323. endmenu
  324. source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
  325. source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
  326. source "arch/sh/boards/renesas/r7780rp/Kconfig"
  327. config SH_TIMER_IRQ
  328. int
  329. default "28" if CPU_SUBTYPE_SH7780
  330. default "86" if CPU_SUBTYPE_SH7619
  331. default "140" if CPU_SUBTYPE_SH7206
  332. default "16"
  333. config SH_PCLK_FREQ
  334. int "Peripheral clock frequency (in Hz)"
  335. default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343
  336. default "31250000" if CPU_SUBTYPE_SH7619
  337. default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \
  338. CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
  339. CPU_SUBTYPE_SH7206
  340. default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780
  341. default "60000000" if CPU_SUBTYPE_SH7751
  342. default "66000000" if CPU_SUBTYPE_SH4_202
  343. help
  344. This option is used to specify the peripheral clock frequency.
  345. This is necessary for determining the reference clock value on
  346. platforms lacking an RTC.
  347. config SH_CLK_MD
  348. int "CPU Mode Pin Setting"
  349. depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206
  350. help
  351. MD2 - MD0 Setting.
  352. menu "CPU Frequency scaling"
  353. source "drivers/cpufreq/Kconfig"
  354. config SH_CPU_FREQ
  355. tristate "SuperH CPU Frequency driver"
  356. depends on CPU_FREQ
  357. select CPU_FREQ_TABLE
  358. help
  359. This adds the cpufreq driver for SuperH. At present, only
  360. the SH-4 is supported.
  361. For details, take a look at <file:Documentation/cpu-freq>.
  362. If unsure, say N.
  363. endmenu
  364. source "arch/sh/drivers/dma/Kconfig"
  365. source "arch/sh/cchips/Kconfig"
  366. config HEARTBEAT
  367. bool "Heartbeat LED"
  368. depends on SH_MPC1211 || SH_SH03 || \
  369. SH_BIGSUR || SOLUTION_ENGINE || \
  370. SH_RTS7751R2D || SH_SH4202_MICRODEV || SH_LANDISK
  371. help
  372. Use the power-on LED on your machine as a load meter. The exact
  373. behavior is platform-dependent, but normally the flash frequency is
  374. a hyperbolic function of the 5-minute load average.
  375. endmenu
  376. config ISA_DMA_API
  377. bool
  378. depends on SH_MPC1211
  379. default y
  380. menu "Kernel features"
  381. source kernel/Kconfig.hz
  382. config KEXEC
  383. bool "kexec system call (EXPERIMENTAL)"
  384. depends on EXPERIMENTAL
  385. help
  386. kexec is a system call that implements the ability to shutdown your
  387. current kernel, and to start another kernel. It is like a reboot
  388. but it is independent of the system firmware. And like a reboot
  389. you can start any kernel with it, not just Linux.
  390. The name comes from the similarity to the exec system call.
  391. It is an ongoing process to be certain the hardware in a machine
  392. is properly shutdown, so do not be surprised if this code does not
  393. initially work for you. It may help to enable device hotplugging
  394. support. As of this writing the exact hardware interface is
  395. strongly in flux, so no good recommendation can be made.
  396. config SMP
  397. bool "Symmetric multi-processing support"
  398. ---help---
  399. This enables support for systems with more than one CPU. If you have
  400. a system with only one CPU, like most personal computers, say N. If
  401. you have a system with more than one CPU, say Y.
  402. If you say N here, the kernel will run on single and multiprocessor
  403. machines, but will use only one CPU of a multiprocessor machine. If
  404. you say Y here, the kernel will run on many, but not all,
  405. singleprocessor machines. On a singleprocessor machine, the kernel
  406. will run faster if you say N here.
  407. People using multiprocessor machines who say Y here should also say
  408. Y to "Enhanced Real Time Clock Support", below.
  409. See also the <file:Documentation/smp.txt>,
  410. <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
  411. at <http://www.tldp.org/docs.html#howto>.
  412. If you don't know what to do here, say N.
  413. config NR_CPUS
  414. int "Maximum number of CPUs (2-32)"
  415. range 2 32
  416. depends on SMP
  417. default "2"
  418. help
  419. This allows you to specify the maximum number of CPUs which this
  420. kernel will support. The maximum supported value is 32 and the
  421. minimum value which makes sense is 2.
  422. This is purely to save memory - each supported CPU adds
  423. approximately eight kilobytes to the kernel image.
  424. source "kernel/Kconfig.preempt"
  425. config CPU_HAS_SR_RB
  426. bool "CPU has SR.RB"
  427. depends on CPU_SH3 || CPU_SH4
  428. default y
  429. help
  430. This will enable the use of SR.RB register bank usage. Processors
  431. that are lacking this bit must have another method in place for
  432. accomplishing what is taken care of by the banked registers.
  433. See <file:Documentation/sh/register-banks.txt> for further
  434. information on SR.RB and register banking in the kernel in general.
  435. config NODES_SHIFT
  436. int
  437. default "1"
  438. depends on NEED_MULTIPLE_NODES
  439. endmenu
  440. menu "Boot options"
  441. config ZERO_PAGE_OFFSET
  442. hex "Zero page offset"
  443. default "0x00004000" if SH_MPC1211 || SH_SH03
  444. default "0x00001000"
  445. help
  446. This sets the default offset of zero page.
  447. config BOOT_LINK_OFFSET
  448. hex "Link address offset for booting"
  449. default "0x00800000"
  450. help
  451. This option allows you to set the link address offset of the zImage.
  452. This can be useful if you are on a board which has a small amount of
  453. memory.
  454. config UBC_WAKEUP
  455. bool "Wakeup UBC on startup"
  456. help
  457. Selecting this option will wakeup the User Break Controller (UBC) on
  458. startup. Although the UBC is left in an awake state when the processor
  459. comes up, some boot loaders misbehave by putting the UBC to sleep in a
  460. power saving state, which causes issues with things like ptrace().
  461. If unsure, say N.
  462. config CMDLINE_BOOL
  463. bool "Default bootloader kernel arguments"
  464. config CMDLINE
  465. string "Initial kernel command string"
  466. depends on CMDLINE_BOOL
  467. default "console=ttySC1,115200"
  468. endmenu
  469. menu "Bus options"
  470. # Even on SuperH devices which don't have an ISA bus,
  471. # this variable helps the PCMCIA modules handle
  472. # IRQ requesting properly -- Greg Banks.
  473. #
  474. # Though we're generally not interested in it when
  475. # we're not using PCMCIA, so we make it dependent on
  476. # PCMCIA outright. -- PFM.
  477. config ISA
  478. bool
  479. default y if PCMCIA
  480. help
  481. Find out whether you have ISA slots on your motherboard. ISA is the
  482. name of a bus system, i.e. the way the CPU talks to the other stuff
  483. inside your box. Other bus systems are PCI, EISA, MicroChannel
  484. (MCA) or VESA. ISA is an older system, now being displaced by PCI;
  485. newer boards don't support it. If you have ISA, say Y, otherwise N.
  486. config EISA
  487. bool
  488. ---help---
  489. The Extended Industry Standard Architecture (EISA) bus was
  490. developed as an open alternative to the IBM MicroChannel bus.
  491. The EISA bus provided some of the features of the IBM MicroChannel
  492. bus while maintaining backward compatibility with cards made for
  493. the older ISA bus. The EISA bus saw limited use between 1988 and
  494. 1995 when it was made obsolete by the PCI bus.
  495. Say Y here if you are building a kernel for an EISA-based machine.
  496. Otherwise, say N.
  497. config MCA
  498. bool
  499. help
  500. MicroChannel Architecture is found in some IBM PS/2 machines and
  501. laptops. It is a bus system similar to PCI or ISA. See
  502. <file:Documentation/mca.txt> (and especially the web page given
  503. there) before attempting to build an MCA bus kernel.
  504. config SBUS
  505. bool
  506. config SUPERHYWAY
  507. tristate "SuperHyway Bus support"
  508. depends on CPU_SUBTYPE_SH4_202
  509. source "arch/sh/drivers/pci/Kconfig"
  510. source "drivers/pci/Kconfig"
  511. source "drivers/pcmcia/Kconfig"
  512. source "drivers/pci/hotplug/Kconfig"
  513. endmenu
  514. menu "Executable file formats"
  515. source "fs/Kconfig.binfmt"
  516. endmenu
  517. menu "Power management options (EXPERIMENTAL)"
  518. depends on EXPERIMENTAL
  519. source kernel/power/Kconfig
  520. config APM
  521. bool "Advanced Power Management Emulation"
  522. depends on PM
  523. endmenu
  524. source "net/Kconfig"
  525. source "drivers/Kconfig"
  526. source "fs/Kconfig"
  527. source "arch/sh/oprofile/Kconfig"
  528. source "arch/sh/Kconfig.debug"
  529. source "security/Kconfig"
  530. source "crypto/Kconfig"
  531. source "lib/Kconfig"