Kconfig 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  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 ARCH_DISCONTIGMEM_ENABLE
  136. bool "Internal RAM Support"
  137. depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP
  138. default y
  139. source "mm/Kconfig"
  140. config IRAM_START
  141. hex "Internal memory start address (hex)"
  142. default "00f00000"
  143. depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP) && DISCONTIGMEM
  144. config IRAM_SIZE
  145. hex "Internal memory size (hex)"
  146. depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP) && DISCONTIGMEM
  147. default "00080000" if CHIP_M32700
  148. default "00010000" if CHIP_M32102 || CHIP_OPSP
  149. default "00008000" if CHIP_VDEC2
  150. #
  151. # Define implied options from the CPU selection here
  152. #
  153. config RWSEM_GENERIC_SPINLOCK
  154. bool
  155. depends on M32R
  156. default y
  157. config RWSEM_XCHGADD_ALGORITHM
  158. bool
  159. default n
  160. config GENERIC_CALIBRATE_DELAY
  161. bool
  162. default y
  163. config PREEMPT
  164. bool "Preemptible Kernel"
  165. help
  166. This option reduces the latency of the kernel when reacting to
  167. real-time or interactive events by allowing a low priority process to
  168. be preempted even if it is in kernel mode executing a system call.
  169. This allows applications to run more reliably even when the system is
  170. under load.
  171. Say Y here if you are building a kernel for a desktop, embedded
  172. or real-time system. Say N if you are unsure.
  173. config HAVE_DEC_LOCK
  174. bool
  175. depends on (SMP || PREEMPT)
  176. default n
  177. config SMP
  178. bool "Symmetric multi-processing support"
  179. ---help---
  180. This enables support for systems with more than one CPU. If you have
  181. a system with only one CPU, like most personal computers, say N. If
  182. you have a system with more than one CPU, say Y.
  183. If you say N here, the kernel will run on single and multiprocessor
  184. machines, but will use only one CPU of a multiprocessor machine. If
  185. you say Y here, the kernel will run on many, but not all,
  186. singleprocessor machines. On a singleprocessor machine, the kernel
  187. will run faster if you say N here.
  188. People using multiprocessor machines who say Y here should also say
  189. Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
  190. Management" code will be disabled if you say Y here.
  191. See also the <file:Documentation/smp.tex>,
  192. <file:Documentation/smp.txt> and the SMP-HOWTO available at
  193. <http://www.linuxdoc.org/docs.html#howto>.
  194. If you don't know what to do here, say N.
  195. config CHIP_M32700_TS1
  196. bool "Workaround code for the M32700 TS1 chip's bug"
  197. depends on (CHIP_M32700 && SMP)
  198. default n
  199. config NR_CPUS
  200. int "Maximum number of CPUs (2-32)"
  201. range 2 32
  202. depends on SMP
  203. default "2"
  204. help
  205. This allows you to specify the maximum number of CPUs which this
  206. kernel will support. The maximum supported value is 32 and the
  207. minimum value which makes sense is 2.
  208. This is purely to save memory - each supported CPU adds
  209. approximately eight kilobytes to the kernel image.
  210. # Common NUMA Features
  211. config NUMA
  212. bool "Numa Memory Allocation Support"
  213. depends on SMP && BROKEN
  214. default n
  215. # turning this on wastes a bunch of space.
  216. # Summit needs it only when NUMA is on
  217. config BOOT_IOREMAP
  218. bool
  219. depends on NUMA
  220. default n
  221. endmenu
  222. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  223. config PCI
  224. bool "PCI support"
  225. depends on BROKEN
  226. default n
  227. help
  228. Find out whether you have a PCI motherboard. PCI is the name of a
  229. bus system, i.e. the way the CPU talks to the other stuff inside
  230. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  231. VESA. If you have PCI, say Y, otherwise N.
  232. The PCI-HOWTO, available from
  233. <http://www.linuxdoc.org/docs.html#howto>, contains valuable
  234. information about which PCI hardware does work under Linux and which
  235. doesn't.
  236. choice
  237. prompt "PCI access mode"
  238. depends on PCI
  239. default PCI_GOANY
  240. config PCI_GOBIOS
  241. bool "BIOS"
  242. ---help---
  243. On PCI systems, the BIOS can be used to detect the PCI devices and
  244. determine their configuration. However, some old PCI motherboards
  245. have BIOS bugs and may crash if this is done. Also, some embedded
  246. PCI-based systems don't have any BIOS at all. Linux can also try to
  247. detect the PCI hardware directly without using the BIOS.
  248. With this option, you can specify how Linux should detect the PCI
  249. devices. If you choose "BIOS", the BIOS will be used, if you choose
  250. "Direct", the BIOS won't be used, and if you choose "Any", the
  251. kernel will try the direct access method and falls back to the BIOS
  252. if that doesn't work. If unsure, go with the default, which is
  253. "Any".
  254. config PCI_GODIRECT
  255. bool "Direct"
  256. config PCI_GOANY
  257. bool "Any"
  258. endchoice
  259. config PCI_BIOS
  260. bool
  261. depends on PCI && (PCI_GOBIOS || PCI_GOANY)
  262. default y
  263. config PCI_DIRECT
  264. bool
  265. depends on PCI && (PCI_GODIRECT || PCI_GOANY)
  266. default y
  267. source "drivers/pci/Kconfig"
  268. config ISA
  269. bool "ISA support"
  270. help
  271. Find out whether you have ISA slots on your motherboard. ISA is the
  272. name of a bus system, i.e. the way the CPU talks to the other stuff
  273. inside your box. If you have ISA, say Y, otherwise N.
  274. source "drivers/pcmcia/Kconfig"
  275. source "drivers/pci/hotplug/Kconfig"
  276. endmenu
  277. menu "Executable file formats"
  278. source "fs/Kconfig.binfmt"
  279. endmenu
  280. source "net/Kconfig"
  281. source "drivers/Kconfig"
  282. source "fs/Kconfig"
  283. source "arch/m32r/oprofile/Kconfig"
  284. source "arch/m32r/Kconfig.debug"
  285. source "security/Kconfig"
  286. source "crypto/Kconfig"
  287. source "lib/Kconfig"