Kconfig 5.5 KB

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