Kconfig 16 KB

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