Kconfig 18 KB

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