Kconfig 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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 TRACING_SUPPORT
  16. config SWAP
  17. def_bool n
  18. config RWSEM_GENERIC_SPINLOCK
  19. def_bool y
  20. config RWSEM_XCHGADD_ALGORITHM
  21. bool
  22. config ARCH_HAS_ILOG2_U32
  23. def_bool n
  24. config ARCH_HAS_ILOG2_U64
  25. def_bool n
  26. config GENERIC_FIND_NEXT_BIT
  27. def_bool y
  28. config GENERIC_HWEIGHT
  29. def_bool y
  30. config GENERIC_HARDIRQS
  31. def_bool y
  32. config GENERIC_IRQ_PROBE
  33. def_bool y
  34. config GENERIC_CALIBRATE_DELAY
  35. def_bool y
  36. config GENERIC_TIME
  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. config PCI
  55. def_bool n
  56. config NO_DMA
  57. def_bool y
  58. source "init/Kconfig"
  59. source "kernel/Kconfig.freezer"
  60. source "arch/microblaze/platform/Kconfig.platform"
  61. menu "Processor type and features"
  62. source kernel/time/Kconfig
  63. source "kernel/Kconfig.preempt"
  64. source "kernel/Kconfig.hz"
  65. config MMU
  66. bool "MMU support"
  67. default n
  68. config NO_MMU
  69. bool
  70. depends on !MMU
  71. default y
  72. comment "Boot options"
  73. config CMDLINE_BOOL
  74. bool "Default bootloader kernel arguments"
  75. config CMDLINE
  76. string "Default kernel command string"
  77. depends on CMDLINE_BOOL
  78. default "console=ttyUL0,115200"
  79. help
  80. On some architectures there is currently no way for the boot loader
  81. to pass arguments to the kernel. For these architectures, you should
  82. supply some command-line options at build time by entering them
  83. here.
  84. config CMDLINE_FORCE
  85. bool "Force default kernel command string"
  86. depends on CMDLINE_BOOL
  87. default n
  88. help
  89. Set this to have arguments from the default kernel command string
  90. override those passed by the boot loader.
  91. config OF
  92. def_bool y
  93. config PROC_DEVICETREE
  94. bool "Support for device tree in /proc"
  95. depends on PROC_FS
  96. help
  97. This option adds a device-tree directory under /proc which contains
  98. an image of the device tree that the kernel copies from Open
  99. Firmware or other boot firmware. If unsure, say Y here.
  100. endmenu
  101. menu "Advanced setup"
  102. config ADVANCED_OPTIONS
  103. bool "Prompt for advanced kernel configuration options"
  104. depends on MMU
  105. help
  106. This option will enable prompting for a variety of advanced kernel
  107. configuration options. These options can cause the kernel to not
  108. work if they are set incorrectly, but can be used to optimize certain
  109. aspects of kernel memory management.
  110. Unless you know what you are doing, say N here.
  111. comment "Default settings for advanced configuration options are used"
  112. depends on !ADVANCED_OPTIONS
  113. config HIGHMEM_START_BOOL
  114. bool "Set high memory pool address"
  115. depends on ADVANCED_OPTIONS && HIGHMEM
  116. help
  117. This option allows you to set the base address of the kernel virtual
  118. area used to map high memory pages. This can be useful in
  119. optimizing the layout of kernel virtual memory.
  120. Say N here unless you know what you are doing.
  121. config HIGHMEM_START
  122. hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
  123. depends on MMU
  124. default "0xfe000000"
  125. config LOWMEM_SIZE_BOOL
  126. bool "Set maximum low memory"
  127. depends on ADVANCED_OPTIONS
  128. help
  129. This option allows you to set the maximum amount of memory which
  130. will be used as "low memory", that is, memory which the kernel can
  131. access directly, without having to set up a kernel virtual mapping.
  132. This can be useful in optimizing the layout of kernel virtual
  133. memory.
  134. Say N here unless you know what you are doing.
  135. config LOWMEM_SIZE
  136. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  137. depends on MMU
  138. default "0x30000000"
  139. config KERNEL_START_BOOL
  140. bool "Set custom kernel base address"
  141. depends on ADVANCED_OPTIONS
  142. help
  143. This option allows you to set the kernel virtual address at which
  144. the kernel will map low memory (the kernel image will be linked at
  145. this address). This can be useful in optimizing the virtual memory
  146. layout of the system.
  147. Say N here unless you know what you are doing.
  148. config KERNEL_START
  149. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  150. default "0xc0000000" if MMU
  151. default KERNEL_BASE_ADDR if !MMU
  152. config TASK_SIZE_BOOL
  153. bool "Set custom user task size"
  154. depends on ADVANCED_OPTIONS
  155. help
  156. This option allows you to set the amount of virtual address space
  157. allocated to user tasks. This can be useful in optimizing the
  158. virtual memory layout of the system.
  159. Say N here unless you know what you are doing.
  160. config TASK_SIZE
  161. hex "Size of user task space" if TASK_SIZE_BOOL
  162. depends on MMU
  163. default "0x80000000"
  164. config CONSISTENT_START_BOOL
  165. bool "Set custom consistent memory pool address"
  166. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  167. help
  168. This option allows you to set the base virtual address
  169. of the the consistent memory pool. This pool of virtual
  170. memory is used to make consistent memory allocations.
  171. config CONSISTENT_START
  172. hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
  173. depends on MMU
  174. default "0xff100000" if NOT_COHERENT_CACHE
  175. config CONSISTENT_SIZE_BOOL
  176. bool "Set custom consistent memory pool size"
  177. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  178. help
  179. This option allows you to set the size of the the
  180. consistent memory pool. This pool of virtual memory
  181. is used to make consistent memory allocations.
  182. config CONSISTENT_SIZE
  183. hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
  184. depends on MMU
  185. default "0x00200000" if NOT_COHERENT_CACHE
  186. endmenu
  187. source "mm/Kconfig"
  188. menu "Exectuable file formats"
  189. source "fs/Kconfig.binfmt"
  190. endmenu
  191. source "net/Kconfig"
  192. source "drivers/Kconfig"
  193. source "fs/Kconfig"
  194. source "arch/microblaze/Kconfig.debug"
  195. source "security/Kconfig"
  196. source "crypto/Kconfig"
  197. source "lib/Kconfig"