Kconfig 5.7 KB

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