Kconfig 8.9 KB

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