Kconfig 6.8 KB

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