Kconfig 9.5 KB

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