Kconfig 17 KB

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