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