Kconfig 16 KB

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