Kconfig 17 KB

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