Kconfig 7.5 KB

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