Kconfig 16 KB

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