Kconfig 6.0 KB

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