Kconfig 5.8 KB

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