Kconfig 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. config MICROBLAZE
  2. def_bool y
  3. select HAVE_MEMBLOCK
  4. select HAVE_FUNCTION_TRACER
  5. select HAVE_FUNCTION_TRACE_MCOUNT_TEST
  6. select HAVE_FUNCTION_GRAPH_TRACER
  7. select HAVE_DYNAMIC_FTRACE
  8. select HAVE_FTRACE_MCOUNT_RECORD
  9. select USB_ARCH_HAS_EHCI
  10. select ARCH_WANT_OPTIONAL_GPIOLIB
  11. select HAVE_OPROFILE
  12. select HAVE_ARCH_KGDB
  13. select HAVE_DMA_ATTRS
  14. select HAVE_DMA_API_DEBUG
  15. select TRACING_SUPPORT
  16. select OF
  17. select OF_EARLY_FLATTREE
  18. select HAVE_GENERIC_HARDIRQS
  19. select GENERIC_IRQ_PROBE
  20. select GENERIC_IRQ_SHOW
  21. config SWAP
  22. def_bool n
  23. config RWSEM_GENERIC_SPINLOCK
  24. def_bool y
  25. config RWSEM_XCHGADD_ALGORITHM
  26. bool
  27. config ARCH_HAS_ILOG2_U32
  28. def_bool n
  29. config ARCH_HAS_ILOG2_U64
  30. def_bool n
  31. config GENERIC_FIND_NEXT_BIT
  32. def_bool y
  33. config GENERIC_FIND_BIT_LE
  34. def_bool y
  35. config GENERIC_HWEIGHT
  36. def_bool y
  37. config GENERIC_CALIBRATE_DELAY
  38. def_bool y
  39. config GENERIC_TIME_VSYSCALL
  40. def_bool n
  41. config GENERIC_CLOCKEVENTS
  42. def_bool y
  43. config GENERIC_GPIO
  44. def_bool y
  45. config GENERIC_CSUM
  46. def_bool y
  47. config STACKTRACE_SUPPORT
  48. def_bool y
  49. config LOCKDEP_SUPPORT
  50. def_bool y
  51. config HAVE_LATENCYTOP_SUPPORT
  52. def_bool y
  53. source "init/Kconfig"
  54. source "kernel/Kconfig.freezer"
  55. source "arch/microblaze/platform/Kconfig.platform"
  56. menu "Processor type and features"
  57. source "kernel/time/Kconfig"
  58. source "kernel/Kconfig.preempt"
  59. source "kernel/Kconfig.hz"
  60. config MMU
  61. bool "MMU support"
  62. default n
  63. config NO_MMU
  64. bool
  65. depends on !MMU
  66. default y
  67. comment "Boot options"
  68. config CMDLINE_BOOL
  69. bool "Default bootloader kernel arguments"
  70. config CMDLINE
  71. string "Default kernel command string"
  72. depends on CMDLINE_BOOL
  73. default "console=ttyUL0,115200"
  74. help
  75. On some architectures there is currently no way for the boot loader
  76. to pass arguments to the kernel. For these architectures, you should
  77. supply some command-line options at build time by entering them
  78. here.
  79. config CMDLINE_FORCE
  80. bool "Force default kernel command string"
  81. depends on CMDLINE_BOOL
  82. default n
  83. help
  84. Set this to have arguments from the default kernel command string
  85. override those passed by the boot loader.
  86. config SECCOMP
  87. bool "Enable seccomp to safely compute untrusted bytecode"
  88. depends on PROC_FS
  89. default y
  90. help
  91. This kernel feature is useful for number crunching applications
  92. that may need to compute untrusted bytecode during their
  93. execution. By using pipes or other transports made available to
  94. the process as file descriptors supporting the read/write
  95. syscalls, it's possible to isolate those applications in
  96. their own address space using seccomp. Once seccomp is
  97. enabled via /proc/<pid>/seccomp, it cannot be disabled
  98. and the task is only allowed to execute a few safe syscalls
  99. defined by each seccomp mode.
  100. If unsure, say Y. Only embedded should say N here.
  101. endmenu
  102. menu "Advanced setup"
  103. config ADVANCED_OPTIONS
  104. bool "Prompt for advanced kernel configuration options"
  105. help
  106. This option will enable prompting for a variety of advanced kernel
  107. configuration options. These options can cause the kernel to not
  108. work if they are set incorrectly, but can be used to optimize certain
  109. aspects of kernel memory management.
  110. Unless you know what you are doing, say N here.
  111. comment "Default settings for advanced configuration options are used"
  112. depends on !ADVANCED_OPTIONS
  113. config XILINX_UNCACHED_SHADOW
  114. bool "Are you using uncached shadow for RAM ?"
  115. depends on ADVANCED_OPTIONS && !MMU
  116. default n
  117. help
  118. This is needed to be able to allocate uncachable memory regions.
  119. The feature requires the design to define the RAM memory controller
  120. window to be twice as large as the actual physical memory.
  121. config HIGHMEM_START_BOOL
  122. bool "Set high memory pool address"
  123. depends on ADVANCED_OPTIONS && HIGHMEM
  124. help
  125. This option allows you to set the base address of the kernel virtual
  126. area used to map high memory pages. This can be useful in
  127. optimizing the layout of kernel virtual memory.
  128. Say N here unless you know what you are doing.
  129. config HIGHMEM_START
  130. hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
  131. depends on MMU
  132. default "0xfe000000"
  133. config LOWMEM_SIZE_BOOL
  134. bool "Set maximum low memory"
  135. depends on ADVANCED_OPTIONS && MMU
  136. help
  137. This option allows you to set the maximum amount of memory which
  138. will be used as "low memory", that is, memory which the kernel can
  139. access directly, without having to set up a kernel virtual mapping.
  140. This can be useful in optimizing the layout of kernel virtual
  141. memory.
  142. Say N here unless you know what you are doing.
  143. config LOWMEM_SIZE
  144. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  145. default "0x30000000"
  146. config MANUAL_RESET_VECTOR
  147. hex "Microblaze reset vector address setup"
  148. default "0x0"
  149. help
  150. Set this option to have the kernel override the CPU Reset vector.
  151. If zero, no change will be made to the MicroBlaze reset vector at
  152. address 0x0.
  153. If non-zero, a jump instruction to this address, will be written
  154. to the reset vector at address 0x0.
  155. If you are unsure, set it to default value 0x0.
  156. config KERNEL_START_BOOL
  157. bool "Set custom kernel base address"
  158. depends on ADVANCED_OPTIONS
  159. help
  160. This option allows you to set the kernel virtual address at which
  161. the kernel will map low memory (the kernel image will be linked at
  162. this address). This can be useful in optimizing the virtual memory
  163. layout of the system.
  164. Say N here unless you know what you are doing.
  165. config KERNEL_START
  166. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  167. default "0xc0000000" if MMU
  168. default KERNEL_BASE_ADDR if !MMU
  169. config TASK_SIZE_BOOL
  170. bool "Set custom user task size"
  171. depends on ADVANCED_OPTIONS && MMU
  172. help
  173. This option allows you to set the amount of virtual address space
  174. allocated to user tasks. This can be useful in optimizing the
  175. virtual memory layout of the system.
  176. Say N here unless you know what you are doing.
  177. config TASK_SIZE
  178. hex "Size of user task space" if TASK_SIZE_BOOL
  179. default "0x80000000"
  180. choice
  181. prompt "Page size"
  182. default MICROBLAZE_4K_PAGES
  183. depends on ADVANCED_OPTIONS && !MMU
  184. help
  185. Select the kernel logical page size. Increasing the page size
  186. will reduce software overhead at each page boundary, allow
  187. hardware prefetch mechanisms to be more effective, and allow
  188. larger dma transfers increasing IO efficiency and reducing
  189. overhead. However the utilization of memory will increase.
  190. For example, each cached file will using a multiple of the
  191. page size to hold its contents and the difference between the
  192. end of file and the end of page is wasted.
  193. If unsure, choose 4K_PAGES.
  194. config MICROBLAZE_4K_PAGES
  195. bool "4k page size"
  196. config MICROBLAZE_8K_PAGES
  197. bool "8k page size"
  198. config MICROBLAZE_16K_PAGES
  199. bool "16k page size"
  200. config MICROBLAZE_32K_PAGES
  201. bool "32k page size"
  202. endchoice
  203. endmenu
  204. source "mm/Kconfig"
  205. menu "Executable file formats"
  206. source "fs/Kconfig.binfmt"
  207. endmenu
  208. menu "Bus Options"
  209. config PCI
  210. bool "PCI support"
  211. config PCI_DOMAINS
  212. def_bool PCI
  213. config PCI_SYSCALL
  214. def_bool PCI
  215. config PCI_XILINX
  216. bool "Xilinx PCI host bridge support"
  217. depends on PCI
  218. source "drivers/pci/Kconfig"
  219. endmenu
  220. source "net/Kconfig"
  221. source "drivers/Kconfig"
  222. source "fs/Kconfig"
  223. source "arch/microblaze/Kconfig.debug"
  224. source "security/Kconfig"
  225. source "crypto/Kconfig"
  226. source "lib/Kconfig"