Kconfig 8.9 KB

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