Kconfig 9.3 KB

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