Kconfig 7.1 KB

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