Kconfig 9.1 KB

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