Kconfig 15 KB

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