Kconfig 9.1 KB

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