Kconfig 7.3 KB

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