Kconfig 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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_LMB
  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_DMA_ATTRS
  16. select HAVE_DMA_API_DEBUG
  17. select TRACING_SUPPORT
  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
  39. def_bool y
  40. config GENERIC_TIME_VSYSCALL
  41. def_bool n
  42. config GENERIC_CLOCKEVENTS
  43. def_bool y
  44. config GENERIC_HARDIRQS_NO__DO_IRQ
  45. def_bool y
  46. config GENERIC_GPIO
  47. def_bool y
  48. config GENERIC_CSUM
  49. def_bool y
  50. config STACKTRACE_SUPPORT
  51. def_bool y
  52. config LOCKDEP_SUPPORT
  53. def_bool y
  54. config HAVE_LATENCYTOP_SUPPORT
  55. def_bool y
  56. config PCI
  57. def_bool n
  58. config DTC
  59. def_bool y
  60. source "init/Kconfig"
  61. source "kernel/Kconfig.freezer"
  62. source "arch/microblaze/platform/Kconfig.platform"
  63. menu "Processor type and features"
  64. source "kernel/time/Kconfig"
  65. source "kernel/Kconfig.preempt"
  66. source "kernel/Kconfig.hz"
  67. config MMU
  68. bool "MMU support"
  69. default n
  70. config NO_MMU
  71. bool
  72. depends on !MMU
  73. default y
  74. comment "Boot options"
  75. config CMDLINE_BOOL
  76. bool "Default bootloader kernel arguments"
  77. config CMDLINE
  78. string "Default kernel command string"
  79. depends on CMDLINE_BOOL
  80. default "console=ttyUL0,115200"
  81. help
  82. On some architectures there is currently no way for the boot loader
  83. to pass arguments to the kernel. For these architectures, you should
  84. supply some command-line options at build time by entering them
  85. here.
  86. config CMDLINE_FORCE
  87. bool "Force default kernel command string"
  88. depends on CMDLINE_BOOL
  89. default n
  90. help
  91. Set this to have arguments from the default kernel command string
  92. override those passed by the boot loader.
  93. config OF
  94. def_bool y
  95. select OF_FLATTREE
  96. config PROC_DEVICETREE
  97. bool "Support for device tree in /proc"
  98. depends on PROC_FS
  99. help
  100. This option adds a device-tree directory under /proc which contains
  101. an image of the device tree that the kernel copies from Open
  102. Firmware or other boot firmware. If unsure, say Y here.
  103. endmenu
  104. menu "Advanced setup"
  105. config ADVANCED_OPTIONS
  106. bool "Prompt for advanced kernel configuration options"
  107. depends on MMU
  108. help
  109. This option will enable prompting for a variety of advanced kernel
  110. configuration options. These options can cause the kernel to not
  111. work if they are set incorrectly, but can be used to optimize certain
  112. aspects of kernel memory management.
  113. Unless you know what you are doing, say N here.
  114. comment "Default settings for advanced configuration options are used"
  115. depends on !ADVANCED_OPTIONS
  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
  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. depends on MMU
  141. default "0x30000000"
  142. config KERNEL_START_BOOL
  143. bool "Set custom kernel base address"
  144. depends on ADVANCED_OPTIONS
  145. help
  146. This option allows you to set the kernel virtual address at which
  147. the kernel will map low memory (the kernel image will be linked at
  148. this address). This can be useful in optimizing the virtual memory
  149. layout of the system.
  150. Say N here unless you know what you are doing.
  151. config KERNEL_START
  152. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  153. default "0xc0000000" if MMU
  154. default KERNEL_BASE_ADDR if !MMU
  155. config TASK_SIZE_BOOL
  156. bool "Set custom user task size"
  157. depends on ADVANCED_OPTIONS
  158. help
  159. This option allows you to set the amount of virtual address space
  160. allocated to user tasks. This can be useful in optimizing the
  161. virtual memory layout of the system.
  162. Say N here unless you know what you are doing.
  163. config TASK_SIZE
  164. hex "Size of user task space" if TASK_SIZE_BOOL
  165. depends on MMU
  166. default "0x80000000"
  167. config CONSISTENT_START_BOOL
  168. bool "Set custom consistent memory pool address"
  169. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  170. help
  171. This option allows you to set the base virtual address
  172. of the the consistent memory pool. This pool of virtual
  173. memory is used to make consistent memory allocations.
  174. config CONSISTENT_START
  175. hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
  176. depends on MMU
  177. default "0xff100000" if NOT_COHERENT_CACHE
  178. config CONSISTENT_SIZE_BOOL
  179. bool "Set custom consistent memory pool size"
  180. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  181. help
  182. This option allows you to set the size of the the
  183. consistent memory pool. This pool of virtual memory
  184. is used to make consistent memory allocations.
  185. config CONSISTENT_SIZE
  186. hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
  187. depends on MMU
  188. default "0x00200000" if NOT_COHERENT_CACHE
  189. endmenu
  190. source "mm/Kconfig"
  191. menu "Exectuable file formats"
  192. source "fs/Kconfig.binfmt"
  193. endmenu
  194. source "net/Kconfig"
  195. source "drivers/Kconfig"
  196. source "fs/Kconfig"
  197. source "arch/microblaze/Kconfig.debug"
  198. source "security/Kconfig"
  199. source "crypto/Kconfig"
  200. source "lib/Kconfig"