Kconfig 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "Linux/M32R Kernel Configuration"
  6. config M32R
  7. bool
  8. default y
  9. config SBUS
  10. bool
  11. config UID16
  12. bool
  13. default n
  14. config GENERIC_ISA_DMA
  15. bool
  16. default y
  17. config GENERIC_HARDIRQS
  18. bool
  19. default y
  20. config GENERIC_IRQ_PROBE
  21. bool
  22. default y
  23. source "init/Kconfig"
  24. menu "Processor type and features"
  25. choice
  26. prompt "Platform Type"
  27. default PLAT_MAPPI
  28. config PLAT_MAPPI
  29. bool "Mappi-I"
  30. help
  31. The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
  32. You can operate a Linux system on this board by using an M32R
  33. softmacro core, which is a fully-synthesizable functional model
  34. described in Verilog-HDL.
  35. The Mappi-I board was the first platform, which had been used
  36. to port and develop a Linux system for the M32R processor.
  37. Currently, the Mappi-II, an heir to the Mappi-I, is available.
  38. config PLAT_USRV
  39. bool "uServer"
  40. config PLAT_M32700UT
  41. bool "M32700UT"
  42. help
  43. The M3T-M32700UT is an evaluation board based on uT-Engine
  44. specification. This board has an M32700 (Chaos) evaluation chip.
  45. You can say Y for SMP, because the M32700 is a single chip
  46. multiprocessor.
  47. config PLAT_OPSPUT
  48. bool "OPSPUT"
  49. help
  50. The OPSPUT is an evaluation board based on uT-Engine
  51. specification. This board has a OPSP-REP chip.
  52. config PLAT_OAKS32R
  53. bool "OAKS32R"
  54. help
  55. The OAKS32R is a tiny, inexpensive evaluation board.
  56. Please note that if you say Y here and choose chip "M32102",
  57. say N for MMU and select a no-MMU version kernel, otherwise
  58. a kernel with MMU support will not work, because the M32102
  59. is a microcontroller for embedded systems and it has no MMU.
  60. config PLAT_MAPPI2
  61. bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
  62. endchoice
  63. choice
  64. prompt "Processor family"
  65. default CHIP_M32700
  66. config CHIP_M32700
  67. bool "M32700 (Chaos)"
  68. config CHIP_M32102
  69. bool "M32102"
  70. config CHIP_VDEC2
  71. bool "VDEC2"
  72. config CHIP_OPSP
  73. bool "OPSP"
  74. endchoice
  75. config MMU
  76. bool "Support for memory management hardware"
  77. depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
  78. default y
  79. config TLB_ENTRIES
  80. int "TLB Entries"
  81. depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
  82. default 32 if CHIP_M32700 || CHIP_OPSP
  83. default 16 if CHIP_VDEC2
  84. config ISA_M32R
  85. bool
  86. depends on CHIP_M32102
  87. default y
  88. config ISA_M32R2
  89. bool
  90. depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
  91. default y
  92. config ISA_DSP_LEVEL2
  93. bool
  94. depends on CHIP_M32700 || CHIP_OPSP
  95. default y
  96. config ISA_DUAL_ISSUE
  97. bool
  98. depends on CHIP_M32700 || CHIP_OPSP
  99. default y
  100. config BUS_CLOCK
  101. int "Bus Clock [Hz] (integer)"
  102. default "70000000" if PLAT_MAPPI
  103. default "25000000" if PLAT_USRV
  104. default "50000000" if PLAT_M32700UT
  105. default "50000000" if PLAT_OPSPUT
  106. default "33333333" if PLAT_OAKS32R
  107. default "20000000" if PLAT_MAPPI2
  108. config TIMER_DIVIDE
  109. int "Timer divider (integer)"
  110. default "128"
  111. config CPU_LITTLE_ENDIAN
  112. bool "Generate little endian code"
  113. default n
  114. config MEMORY_START
  115. hex "Physical memory start address (hex)"
  116. default "08000000" if PLAT_MAPPI || PLAT_MAPPI2
  117. default "08000000" if PLAT_USRV
  118. default "08000000" if PLAT_M32700UT
  119. default "08000000" if PLAT_OPSPUT
  120. default "01000000" if PLAT_OAKS32R
  121. config MEMORY_SIZE
  122. hex "Physical memory size (hex)"
  123. default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
  124. default "02000000" if PLAT_USRV
  125. default "01000000" if PLAT_M32700UT
  126. default "01000000" if PLAT_OPSPUT
  127. default "00800000" if PLAT_OAKS32R
  128. config NOHIGHMEM
  129. bool
  130. default y
  131. config DISCONTIGMEM
  132. bool "Internal RAM Support"
  133. depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP
  134. default y
  135. config IRAM_START
  136. hex "Internal memory start address (hex)"
  137. default "00f00000"
  138. depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP) && DISCONTIGMEM
  139. config IRAM_SIZE
  140. hex "Internal memory size (hex)"
  141. depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP) && DISCONTIGMEM
  142. default "00080000" if CHIP_M32700
  143. default "00010000" if CHIP_M32102 || CHIP_OPSP
  144. default "00008000" if CHIP_VDEC2
  145. #
  146. # Define implied options from the CPU selection here
  147. #
  148. config RWSEM_GENERIC_SPINLOCK
  149. bool
  150. depends on M32R
  151. default y
  152. config RWSEM_XCHGADD_ALGORITHM
  153. bool
  154. default n
  155. config GENERIC_CALIBRATE_DELAY
  156. bool
  157. default y
  158. config PREEMPT
  159. bool "Preemptible Kernel"
  160. help
  161. This option reduces the latency of the kernel when reacting to
  162. real-time or interactive events by allowing a low priority process to
  163. be preempted even if it is in kernel mode executing a system call.
  164. This allows applications to run more reliably even when the system is
  165. under load.
  166. Say Y here if you are building a kernel for a desktop, embedded
  167. or real-time system. Say N if you are unsure.
  168. config HAVE_DEC_LOCK
  169. bool
  170. depends on (SMP || PREEMPT)
  171. default n
  172. config SMP
  173. bool "Symmetric multi-processing support"
  174. ---help---
  175. This enables support for systems with more than one CPU. If you have
  176. a system with only one CPU, like most personal computers, say N. If
  177. you have a system with more than one CPU, say Y.
  178. If you say N here, the kernel will run on single and multiprocessor
  179. machines, but will use only one CPU of a multiprocessor machine. If
  180. you say Y here, the kernel will run on many, but not all,
  181. singleprocessor machines. On a singleprocessor machine, the kernel
  182. will run faster if you say N here.
  183. People using multiprocessor machines who say Y here should also say
  184. Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
  185. Management" code will be disabled if you say Y here.
  186. See also the <file:Documentation/smp.tex>,
  187. <file:Documentation/smp.txt> and the SMP-HOWTO available at
  188. <http://www.linuxdoc.org/docs.html#howto>.
  189. If you don't know what to do here, say N.
  190. config CHIP_M32700_TS1
  191. bool "Workaround code for the M32700 TS1 chip's bug"
  192. depends on (CHIP_M32700 && SMP)
  193. default n
  194. config NR_CPUS
  195. int "Maximum number of CPUs (2-32)"
  196. range 2 32
  197. depends on SMP
  198. default "2"
  199. help
  200. This allows you to specify the maximum number of CPUs which this
  201. kernel will support. The maximum supported value is 32 and the
  202. minimum value which makes sense is 2.
  203. This is purely to save memory - each supported CPU adds
  204. approximately eight kilobytes to the kernel image.
  205. # Common NUMA Features
  206. config NUMA
  207. bool "Numa Memory Allocation Support"
  208. depends on SMP
  209. default n
  210. # turning this on wastes a bunch of space.
  211. # Summit needs it only when NUMA is on
  212. config BOOT_IOREMAP
  213. bool
  214. depends on NUMA
  215. default n
  216. endmenu
  217. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  218. config PCI
  219. bool "PCI support"
  220. default n
  221. help
  222. Find out whether you have a PCI motherboard. PCI is the name of a
  223. bus system, i.e. the way the CPU talks to the other stuff inside
  224. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  225. VESA. If you have PCI, say Y, otherwise N.
  226. The PCI-HOWTO, available from
  227. <http://www.linuxdoc.org/docs.html#howto>, contains valuable
  228. information about which PCI hardware does work under Linux and which
  229. doesn't.
  230. choice
  231. prompt "PCI access mode"
  232. depends on PCI
  233. default PCI_GOANY
  234. config PCI_GOBIOS
  235. bool "BIOS"
  236. ---help---
  237. On PCI systems, the BIOS can be used to detect the PCI devices and
  238. determine their configuration. However, some old PCI motherboards
  239. have BIOS bugs and may crash if this is done. Also, some embedded
  240. PCI-based systems don't have any BIOS at all. Linux can also try to
  241. detect the PCI hardware directly without using the BIOS.
  242. With this option, you can specify how Linux should detect the PCI
  243. devices. If you choose "BIOS", the BIOS will be used, if you choose
  244. "Direct", the BIOS won't be used, and if you choose "Any", the
  245. kernel will try the direct access method and falls back to the BIOS
  246. if that doesn't work. If unsure, go with the default, which is
  247. "Any".
  248. config PCI_GODIRECT
  249. bool "Direct"
  250. config PCI_GOANY
  251. bool "Any"
  252. endchoice
  253. config PCI_BIOS
  254. bool
  255. depends on PCI && (PCI_GOBIOS || PCI_GOANY)
  256. default y
  257. config PCI_DIRECT
  258. bool
  259. depends on PCI && (PCI_GODIRECT || PCI_GOANY)
  260. default y
  261. source "drivers/pci/Kconfig"
  262. config ISA
  263. bool "ISA support"
  264. help
  265. Find out whether you have ISA slots on your motherboard. ISA is the
  266. name of a bus system, i.e. the way the CPU talks to the other stuff
  267. inside your box. If you have ISA, say Y, otherwise N.
  268. source "drivers/pcmcia/Kconfig"
  269. source "drivers/pci/hotplug/Kconfig"
  270. endmenu
  271. menu "Executable file formats"
  272. source "fs/Kconfig.binfmt"
  273. endmenu
  274. source "drivers/Kconfig"
  275. source "fs/Kconfig"
  276. source "arch/m32r/oprofile/Kconfig"
  277. source "arch/m32r/Kconfig.debug"
  278. source "security/Kconfig"
  279. source "crypto/Kconfig"
  280. source "lib/Kconfig"