Kconfig 7.4 KB

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