Kconfig 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. config FRV
  6. bool
  7. default y
  8. select HAVE_IDE
  9. config ZONE_DMA
  10. bool
  11. default y
  12. config RWSEM_GENERIC_SPINLOCK
  13. bool
  14. default y
  15. config RWSEM_XCHGADD_ALGORITHM
  16. bool
  17. config GENERIC_FIND_NEXT_BIT
  18. bool
  19. default y
  20. config GENERIC_HWEIGHT
  21. bool
  22. default y
  23. config GENERIC_CALIBRATE_DELAY
  24. bool
  25. default n
  26. config GENERIC_HARDIRQS
  27. bool
  28. default y
  29. config GENERIC_HARDIRQS_NO__DO_IRQ
  30. bool
  31. default y
  32. config GENERIC_TIME
  33. bool
  34. default y
  35. config TIME_LOW_RES
  36. bool
  37. default y
  38. config QUICKLIST
  39. bool
  40. default y
  41. config ARCH_HAS_ILOG2_U32
  42. bool
  43. default y
  44. config ARCH_HAS_ILOG2_U64
  45. bool
  46. default y
  47. config HZ
  48. int
  49. default 1000
  50. mainmenu "Fujitsu FR-V Kernel Configuration"
  51. source "init/Kconfig"
  52. source "kernel/Kconfig.freezer"
  53. menu "Fujitsu FR-V system setup"
  54. config MMU
  55. bool "MMU support"
  56. help
  57. This options switches on and off support for the FR-V MMU
  58. (effectively switching between vmlinux and uClinux). Not all FR-V
  59. CPUs support this. Currently only the FR451 has a sufficiently
  60. featured MMU.
  61. config FRV_OUTOFLINE_ATOMIC_OPS
  62. bool "Out-of-line the FRV atomic operations"
  63. default n
  64. help
  65. Setting this option causes the FR-V atomic operations to be mostly
  66. implemented out-of-line.
  67. See Documentation/frv/atomic-ops.txt for more information.
  68. config HIGHMEM
  69. bool "High memory support"
  70. depends on MMU
  71. default y
  72. help
  73. If you wish to use more than 256MB of memory with your MMU based
  74. system, you will need to select this option. The kernel can only see
  75. the memory between 0xC0000000 and 0xD0000000 directly... everything
  76. else must be kmapped.
  77. The arch is, however, capable of supporting up to 3GB of SDRAM.
  78. config HIGHPTE
  79. bool "Allocate page tables in highmem"
  80. depends on HIGHMEM
  81. default y
  82. help
  83. The VM uses one page of memory for each page table. For systems
  84. with a lot of RAM, this can be wasteful of precious low memory.
  85. Setting this option will put user-space page tables in high memory.
  86. source "mm/Kconfig"
  87. choice
  88. prompt "uClinux kernel load address"
  89. depends on !MMU
  90. default UCPAGE_OFFSET_C0000000
  91. help
  92. This option sets the base address for the uClinux kernel. The kernel
  93. will rearrange the SDRAM layout to start at this address, and move
  94. itself to start there. It must be greater than 0, and it must be
  95. sufficiently less than 0xE0000000 that the SDRAM does not intersect
  96. the I/O region.
  97. The base address must also be aligned such that the SDRAM controller
  98. can decode it. For instance, a 512MB SDRAM bank must be 512MB aligned.
  99. config UCPAGE_OFFSET_20000000
  100. bool "0x20000000"
  101. config UCPAGE_OFFSET_40000000
  102. bool "0x40000000"
  103. config UCPAGE_OFFSET_60000000
  104. bool "0x60000000"
  105. config UCPAGE_OFFSET_80000000
  106. bool "0x80000000"
  107. config UCPAGE_OFFSET_A0000000
  108. bool "0xA0000000"
  109. config UCPAGE_OFFSET_C0000000
  110. bool "0xC0000000 (Recommended)"
  111. endchoice
  112. config PAGE_OFFSET
  113. hex
  114. default 0x20000000 if UCPAGE_OFFSET_20000000
  115. default 0x40000000 if UCPAGE_OFFSET_40000000
  116. default 0x60000000 if UCPAGE_OFFSET_60000000
  117. default 0x80000000 if UCPAGE_OFFSET_80000000
  118. default 0xA0000000 if UCPAGE_OFFSET_A0000000
  119. default 0xC0000000
  120. config PROTECT_KERNEL
  121. bool "Protect core kernel against userspace"
  122. depends on !MMU
  123. default y
  124. help
  125. Selecting this option causes the uClinux kernel to change the
  126. permittivity of DAMPR register covering the core kernel image to
  127. prevent userspace accessing the underlying memory directly.
  128. choice
  129. prompt "CPU Caching mode"
  130. default FRV_DEFL_CACHE_WBACK
  131. help
  132. This option determines the default caching mode for the kernel.
  133. Write-Back caching mode involves the all reads and writes causing
  134. the affected cacheline to be read into the cache first before being
  135. operated upon. Memory is not then updated by a write until the cache
  136. is filled and a cacheline needs to be displaced from the cache to
  137. make room. Only at that point is it written back.
  138. Write-Behind caching is similar to Write-Back caching, except that a
  139. write won't fetch a cacheline into the cache if there isn't already
  140. one there; it will write directly to memory instead.
  141. Write-Through caching only fetches cachelines from memory on a
  142. read. Writes always get written directly to memory. If the affected
  143. cacheline is also in cache, it will be updated too.
  144. The final option is to turn of caching entirely.
  145. Note that not all CPUs support Write-Behind caching. If the CPU on
  146. which the kernel is running doesn't, it'll fall back to Write-Back
  147. caching.
  148. config FRV_DEFL_CACHE_WBACK
  149. bool "Write-Back"
  150. config FRV_DEFL_CACHE_WBEHIND
  151. bool "Write-Behind"
  152. config FRV_DEFL_CACHE_WTHRU
  153. bool "Write-Through"
  154. config FRV_DEFL_CACHE_DISABLED
  155. bool "Disabled"
  156. endchoice
  157. menu "CPU core support"
  158. config CPU_FR401
  159. bool "Include FR401 core support"
  160. depends on !MMU
  161. default y
  162. help
  163. This enables support for the FR401, FR401A and FR403 CPUs
  164. config CPU_FR405
  165. bool "Include FR405 core support"
  166. depends on !MMU
  167. default y
  168. help
  169. This enables support for the FR405 CPU
  170. config CPU_FR451
  171. bool "Include FR451 core support"
  172. default y
  173. help
  174. This enables support for the FR451 CPU
  175. config CPU_FR451_COMPILE
  176. bool "Specifically compile for FR451 core"
  177. depends on CPU_FR451 && !CPU_FR401 && !CPU_FR405 && !CPU_FR551
  178. default y
  179. help
  180. This causes appropriate flags to be passed to the compiler to
  181. optimise for the FR451 CPU
  182. config CPU_FR551
  183. bool "Include FR551 core support"
  184. depends on !MMU
  185. default y
  186. help
  187. This enables support for the FR555 CPU
  188. config CPU_FR551_COMPILE
  189. bool "Specifically compile for FR551 core"
  190. depends on CPU_FR551 && !CPU_FR401 && !CPU_FR405 && !CPU_FR451
  191. default y
  192. help
  193. This causes appropriate flags to be passed to the compiler to
  194. optimise for the FR555 CPU
  195. config FRV_L1_CACHE_SHIFT
  196. int
  197. default "5" if CPU_FR401 || CPU_FR405 || CPU_FR451
  198. default "6" if CPU_FR551
  199. endmenu
  200. choice
  201. prompt "System support"
  202. default MB93091_VDK
  203. config MB93091_VDK
  204. bool "MB93091 CPU board with or without motherboard"
  205. config MB93093_PDK
  206. bool "MB93093 PDK unit"
  207. endchoice
  208. if MB93091_VDK
  209. choice
  210. prompt "Motherboard support"
  211. default MB93090_MB00
  212. config MB93090_MB00
  213. bool "Use the MB93090-MB00 motherboard"
  214. help
  215. Select this option if the MB93091 CPU board is going to be used with
  216. a MB93090-MB00 VDK motherboard
  217. config MB93091_NO_MB
  218. bool "Use standalone"
  219. help
  220. Select this option if the MB93091 CPU board is going to be used
  221. without a motherboard
  222. endchoice
  223. endif
  224. config FUJITSU_MB93493
  225. bool "MB93493 Multimedia chip"
  226. help
  227. Select this option if the MB93493 multimedia chip is going to be
  228. used.
  229. choice
  230. prompt "GP-Relative data support"
  231. default GPREL_DATA_8
  232. help
  233. This option controls what data, if any, should be placed in the GP
  234. relative data sections. Using this means that the compiler can
  235. generate accesses to the data using GR16-relative addressing which
  236. is faster than absolute instructions and saves space (2 instructions
  237. per access).
  238. However, the GPREL region is limited in size because the immediate
  239. value used in the load and store instructions is limited to a 12-bit
  240. signed number.
  241. So if the linker starts complaining that accesses to GPREL data are
  242. out of range, try changing this option from the default.
  243. Note that modules will always be compiled with this feature disabled
  244. as the module data will not be in range of the GP base address.
  245. config GPREL_DATA_8
  246. bool "Put data objects of up to 8 bytes into GP-REL"
  247. config GPREL_DATA_4
  248. bool "Put data objects of up to 4 bytes into GP-REL"
  249. config GPREL_DATA_NONE
  250. bool "Don't use GP-REL"
  251. endchoice
  252. config FRV_ONCPU_SERIAL
  253. bool "Use on-CPU serial ports"
  254. select SERIAL_8250
  255. default y
  256. config PCI
  257. bool "Use PCI"
  258. depends on MB93090_MB00
  259. default y
  260. help
  261. Some FR-V systems (such as the MB93090-MB00 VDK) have PCI
  262. onboard. If you have one of these boards and you wish to use the PCI
  263. facilities, say Y here.
  264. config RESERVE_DMA_COHERENT
  265. bool "Reserve DMA coherent memory"
  266. depends on PCI && !MMU
  267. default y
  268. help
  269. Many PCI drivers require access to uncached memory for DMA device
  270. communications (such as is done with some Ethernet buffer rings). If
  271. a fully featured MMU is available, this can be done through page
  272. table settings, but if not, a region has to be set aside and marked
  273. with a special DAMPR register.
  274. Setting this option causes uClinux to set aside a portion of the
  275. available memory for use in this manner. The memory will then be
  276. unavailable for normal kernel use.
  277. source "drivers/pci/Kconfig"
  278. source "drivers/pcmcia/Kconfig"
  279. #config MATH_EMULATION
  280. # bool "Math emulation support (EXPERIMENTAL)"
  281. # depends on EXPERIMENTAL
  282. # help
  283. # At some point in the future, this will cause floating-point math
  284. # instructions to be emulated by the kernel on machines that lack a
  285. # floating-point math coprocessor. Thrill-seekers and chronically
  286. # sleep-deprived psychotic hacker types can say Y now, everyone else
  287. # should probably wait a while.
  288. menu "Power management options"
  289. config ARCH_SUSPEND_POSSIBLE
  290. def_bool y
  291. depends on !SMP
  292. source kernel/power/Kconfig
  293. endmenu
  294. endmenu
  295. menu "Executable formats"
  296. source "fs/Kconfig.binfmt"
  297. endmenu
  298. source "net/Kconfig"
  299. source "drivers/Kconfig"
  300. source "fs/Kconfig"
  301. source "arch/frv/Kconfig.debug"
  302. source "security/Kconfig"
  303. source "crypto/Kconfig"
  304. source "lib/Kconfig"