Kconfig 9.2 KB

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