Kconfig 7.1 KB

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