Kconfig 16 KB

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