Kconfig 6.1 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 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. 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. config PROC_DEVICETREE
  96. bool "Support for device tree in /proc"
  97. depends on PROC_FS
  98. help
  99. This option adds a device-tree directory under /proc which contains
  100. an image of the device tree that the kernel copies from Open
  101. Firmware or other boot firmware. If unsure, say Y here.
  102. endmenu
  103. menu "Advanced setup"
  104. config ADVANCED_OPTIONS
  105. bool "Prompt for advanced kernel configuration options"
  106. depends on MMU
  107. help
  108. This option will enable prompting for a variety of advanced kernel
  109. configuration options. These options can cause the kernel to not
  110. work if they are set incorrectly, but can be used to optimize certain
  111. aspects of kernel memory management.
  112. Unless you know what you are doing, say N here.
  113. comment "Default settings for advanced configuration options are used"
  114. depends on !ADVANCED_OPTIONS
  115. config HIGHMEM_START_BOOL
  116. bool "Set high memory pool address"
  117. depends on ADVANCED_OPTIONS && HIGHMEM
  118. help
  119. This option allows you to set the base address of the kernel virtual
  120. area used to map high memory pages. This can be useful in
  121. optimizing the layout of kernel virtual memory.
  122. Say N here unless you know what you are doing.
  123. config HIGHMEM_START
  124. hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
  125. depends on MMU
  126. default "0xfe000000"
  127. config LOWMEM_SIZE_BOOL
  128. bool "Set maximum low memory"
  129. depends on ADVANCED_OPTIONS
  130. help
  131. This option allows you to set the maximum amount of memory which
  132. will be used as "low memory", that is, memory which the kernel can
  133. access directly, without having to set up a kernel virtual mapping.
  134. This can be useful in optimizing the layout of kernel virtual
  135. memory.
  136. Say N here unless you know what you are doing.
  137. config LOWMEM_SIZE
  138. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  139. depends on MMU
  140. default "0x30000000"
  141. config KERNEL_START_BOOL
  142. bool "Set custom kernel base address"
  143. depends on ADVANCED_OPTIONS
  144. help
  145. This option allows you to set the kernel virtual address at which
  146. the kernel will map low memory (the kernel image will be linked at
  147. this address). This can be useful in optimizing the virtual memory
  148. layout of the system.
  149. Say N here unless you know what you are doing.
  150. config KERNEL_START
  151. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  152. default "0xc0000000" if MMU
  153. default KERNEL_BASE_ADDR if !MMU
  154. config TASK_SIZE_BOOL
  155. bool "Set custom user task size"
  156. depends on ADVANCED_OPTIONS
  157. help
  158. This option allows you to set the amount of virtual address space
  159. allocated to user tasks. This can be useful in optimizing the
  160. virtual memory layout of the system.
  161. Say N here unless you know what you are doing.
  162. config TASK_SIZE
  163. hex "Size of user task space" if TASK_SIZE_BOOL
  164. depends on MMU
  165. default "0x80000000"
  166. config CONSISTENT_START_BOOL
  167. bool "Set custom consistent memory pool address"
  168. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  169. help
  170. This option allows you to set the base virtual address
  171. of the the consistent memory pool. This pool of virtual
  172. memory is used to make consistent memory allocations.
  173. config CONSISTENT_START
  174. hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
  175. depends on MMU
  176. default "0xff100000" if NOT_COHERENT_CACHE
  177. config CONSISTENT_SIZE_BOOL
  178. bool "Set custom consistent memory pool size"
  179. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  180. help
  181. This option allows you to set the size of the the
  182. consistent memory pool. This pool of virtual memory
  183. is used to make consistent memory allocations.
  184. config CONSISTENT_SIZE
  185. hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
  186. depends on MMU
  187. default "0x00200000" if NOT_COHERENT_CACHE
  188. endmenu
  189. source "mm/Kconfig"
  190. menu "Exectuable file formats"
  191. source "fs/Kconfig.binfmt"
  192. endmenu
  193. source "net/Kconfig"
  194. source "drivers/Kconfig"
  195. source "fs/Kconfig"
  196. source "arch/microblaze/Kconfig.debug"
  197. source "security/Kconfig"
  198. source "crypto/Kconfig"
  199. source "lib/Kconfig"