Kconfig 6.3 KB

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