Kconfig 5.9 KB

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