Kconfig 7.0 KB

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