Kconfig 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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. select OF_FLATTREE
  81. config PROC_DEVICETREE
  82. bool "Support for device tree in /proc"
  83. depends on PROC_FS
  84. help
  85. This option adds a device-tree directory under /proc which contains
  86. an image of the device tree that the kernel copies from Open
  87. Firmware or other boot firmware. If unsure, say Y here.
  88. endmenu
  89. menu "Advanced setup"
  90. config ADVANCED_OPTIONS
  91. bool "Prompt for advanced kernel configuration options"
  92. depends on MMU
  93. help
  94. This option will enable prompting for a variety of advanced kernel
  95. configuration options. These options can cause the kernel to not
  96. work if they are set incorrectly, but can be used to optimize certain
  97. aspects of kernel memory management.
  98. Unless you know what you are doing, say N here.
  99. comment "Default settings for advanced configuration options are used"
  100. depends on !ADVANCED_OPTIONS
  101. config HIGHMEM_START_BOOL
  102. bool "Set high memory pool address"
  103. depends on ADVANCED_OPTIONS && HIGHMEM
  104. help
  105. This option allows you to set the base address of the kernel virtual
  106. area used to map high memory pages. This can be useful in
  107. optimizing the layout of kernel virtual memory.
  108. Say N here unless you know what you are doing.
  109. config HIGHMEM_START
  110. hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
  111. depends on MMU
  112. default "0xfe000000"
  113. config LOWMEM_SIZE_BOOL
  114. bool "Set maximum low memory"
  115. depends on ADVANCED_OPTIONS
  116. help
  117. This option allows you to set the maximum amount of memory which
  118. will be used as "low memory", that is, memory which the kernel can
  119. access directly, without having to set up a kernel virtual mapping.
  120. This can be useful in optimizing the layout of kernel virtual
  121. memory.
  122. Say N here unless you know what you are doing.
  123. config LOWMEM_SIZE
  124. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  125. depends on MMU
  126. default "0x30000000"
  127. config KERNEL_START_BOOL
  128. bool "Set custom kernel base address"
  129. depends on ADVANCED_OPTIONS
  130. help
  131. This option allows you to set the kernel virtual address at which
  132. the kernel will map low memory (the kernel image will be linked at
  133. this address). This can be useful in optimizing the virtual memory
  134. layout of the system.
  135. Say N here unless you know what you are doing.
  136. config KERNEL_START
  137. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  138. default "0xc0000000" if MMU
  139. default KERNEL_BASE_ADDR if !MMU
  140. config TASK_SIZE_BOOL
  141. bool "Set custom user task size"
  142. depends on ADVANCED_OPTIONS
  143. help
  144. This option allows you to set the amount of virtual address space
  145. allocated to user tasks. This can be useful in optimizing the
  146. virtual memory layout of the system.
  147. Say N here unless you know what you are doing.
  148. config TASK_SIZE
  149. hex "Size of user task space" if TASK_SIZE_BOOL
  150. depends on MMU
  151. default "0x80000000"
  152. config CONSISTENT_START_BOOL
  153. bool "Set custom consistent memory pool address"
  154. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  155. help
  156. This option allows you to set the base virtual address
  157. of the the consistent memory pool. This pool of virtual
  158. memory is used to make consistent memory allocations.
  159. config CONSISTENT_START
  160. hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
  161. depends on MMU
  162. default "0xff100000" if NOT_COHERENT_CACHE
  163. config CONSISTENT_SIZE_BOOL
  164. bool "Set custom consistent memory pool size"
  165. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  166. help
  167. This option allows you to set the size of the the
  168. consistent memory pool. This pool of virtual memory
  169. is used to make consistent memory allocations.
  170. config CONSISTENT_SIZE
  171. hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
  172. depends on MMU
  173. default "0x00200000" if NOT_COHERENT_CACHE
  174. endmenu
  175. source "mm/Kconfig"
  176. menu "Exectuable file formats"
  177. source "fs/Kconfig.binfmt"
  178. endmenu
  179. source "net/Kconfig"
  180. source "drivers/Kconfig"
  181. source "fs/Kconfig"
  182. source "arch/microblaze/Kconfig.debug"
  183. source "security/Kconfig"
  184. source "crypto/Kconfig"
  185. source "lib/Kconfig"