Kconfig 17 KB

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