Kconfig 8.7 KB

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