Kconfig 6.1 KB

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