Kconfig 8.9 KB

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