Kconfig 5.8 KB

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