Kconfig 15 KB

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