Kconfig 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. config MICROBLAZE
  2. def_bool y
  3. select ARCH_MIGHT_HAVE_PC_PARPORT
  4. select HAVE_MEMBLOCK
  5. select HAVE_MEMBLOCK_NODE_MAP
  6. select HAVE_FUNCTION_TRACER
  7. select HAVE_FUNCTION_TRACE_MCOUNT_TEST
  8. select HAVE_FUNCTION_GRAPH_TRACER
  9. select HAVE_DYNAMIC_FTRACE
  10. select HAVE_FTRACE_MCOUNT_RECORD
  11. select ARCH_WANT_OPTIONAL_GPIOLIB
  12. select HAVE_OPROFILE
  13. select HAVE_ARCH_KGDB
  14. select HAVE_DMA_ATTRS
  15. select HAVE_DMA_API_DEBUG
  16. select TRACING_SUPPORT
  17. select OF
  18. select OF_EARLY_FLATTREE
  19. select ARCH_WANT_IPC_PARSE_VERSION
  20. select HAVE_DEBUG_KMEMLEAK
  21. select IRQ_DOMAIN
  22. select VIRT_TO_BUS
  23. select GENERIC_IRQ_PROBE
  24. select GENERIC_IRQ_SHOW
  25. select GENERIC_PCI_IOMAP
  26. select GENERIC_CPU_DEVICES
  27. select GENERIC_ATOMIC64
  28. select GENERIC_CLOCKEVENTS
  29. select GENERIC_IDLE_POLL_SETUP
  30. select MODULES_USE_ELF_RELA
  31. select CLONE_BACKWARDS3
  32. select CLKSRC_OF
  33. config SWAP
  34. def_bool n
  35. config RWSEM_GENERIC_SPINLOCK
  36. def_bool y
  37. config ZONE_DMA
  38. def_bool y
  39. config RWSEM_XCHGADD_ALGORITHM
  40. bool
  41. config ARCH_HAS_ILOG2_U32
  42. def_bool n
  43. config ARCH_HAS_ILOG2_U64
  44. def_bool n
  45. config GENERIC_HWEIGHT
  46. def_bool y
  47. config GENERIC_CALIBRATE_DELAY
  48. def_bool y
  49. config GENERIC_CSUM
  50. def_bool y
  51. config STACKTRACE_SUPPORT
  52. def_bool y
  53. config LOCKDEP_SUPPORT
  54. def_bool y
  55. config HAVE_LATENCYTOP_SUPPORT
  56. def_bool y
  57. source "init/Kconfig"
  58. source "kernel/Kconfig.freezer"
  59. source "arch/microblaze/platform/Kconfig.platform"
  60. menu "Processor type and features"
  61. source "kernel/Kconfig.preempt"
  62. source "kernel/Kconfig.hz"
  63. config MMU
  64. bool "MMU support"
  65. default n
  66. comment "Boot options"
  67. config CMDLINE_BOOL
  68. bool "Default bootloader kernel arguments"
  69. config CMDLINE
  70. string "Default kernel command string"
  71. depends on CMDLINE_BOOL
  72. default "console=ttyUL0,115200"
  73. help
  74. On some architectures there is currently no way for the boot loader
  75. to pass arguments to the kernel. For these architectures, you should
  76. supply some command-line options at build time by entering them
  77. here.
  78. config CMDLINE_FORCE
  79. bool "Force default kernel command string"
  80. depends on CMDLINE_BOOL
  81. default n
  82. help
  83. Set this to have arguments from the default kernel command string
  84. override those passed by the boot loader.
  85. config SECCOMP
  86. bool "Enable seccomp to safely compute untrusted bytecode"
  87. depends on PROC_FS
  88. default y
  89. help
  90. This kernel feature is useful for number crunching applications
  91. that may need to compute untrusted bytecode during their
  92. execution. By using pipes or other transports made available to
  93. the process as file descriptors supporting the read/write
  94. syscalls, it's possible to isolate those applications in
  95. their own address space using seccomp. Once seccomp is
  96. enabled via /proc/<pid>/seccomp, it cannot be disabled
  97. and the task is only allowed to execute a few safe syscalls
  98. defined by each seccomp mode.
  99. If unsure, say Y. Only embedded should say N here.
  100. endmenu
  101. menu "Advanced setup"
  102. config ADVANCED_OPTIONS
  103. bool "Prompt for advanced kernel configuration options"
  104. help
  105. This option will enable prompting for a variety of advanced kernel
  106. configuration options. These options can cause the kernel to not
  107. work if they are set incorrectly, but can be used to optimize certain
  108. aspects of kernel memory management.
  109. Unless you know what you are doing, say N here.
  110. comment "Default settings for advanced configuration options are used"
  111. depends on !ADVANCED_OPTIONS
  112. config XILINX_UNCACHED_SHADOW
  113. bool "Are you using uncached shadow for RAM ?"
  114. depends on ADVANCED_OPTIONS && !MMU
  115. default n
  116. help
  117. This is needed to be able to allocate uncachable memory regions.
  118. The feature requires the design to define the RAM memory controller
  119. window to be twice as large as the actual physical memory.
  120. config HIGHMEM
  121. bool "High memory support"
  122. depends on MMU
  123. help
  124. The address space of Microblaze processors is only 4 Gigabytes large
  125. and it has to accommodate user address space, kernel address
  126. space as well as some memory mapped IO. That means that, if you
  127. have a large amount of physical memory and/or IO, not all of the
  128. memory can be "permanently mapped" by the kernel. The physical
  129. memory that is not permanently mapped is called "high memory".
  130. If unsure, say n.
  131. config LOWMEM_SIZE_BOOL
  132. bool "Set maximum low memory"
  133. depends on ADVANCED_OPTIONS && MMU
  134. help
  135. This option allows you to set the maximum amount of memory which
  136. will be used as "low memory", that is, memory which the kernel can
  137. access directly, without having to set up a kernel virtual mapping.
  138. This can be useful in optimizing the layout of kernel virtual
  139. memory.
  140. Say N here unless you know what you are doing.
  141. config LOWMEM_SIZE
  142. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  143. default "0x30000000"
  144. config MANUAL_RESET_VECTOR
  145. hex "Microblaze reset vector address setup"
  146. default "0x0"
  147. help
  148. Set this option to have the kernel override the CPU Reset vector.
  149. If zero, no change will be made to the MicroBlaze reset vector at
  150. address 0x0.
  151. If non-zero, a jump instruction to this address, will be written
  152. to the reset vector at address 0x0.
  153. If you are unsure, set it to default value 0x0.
  154. config KERNEL_START_BOOL
  155. bool "Set custom kernel base address"
  156. depends on ADVANCED_OPTIONS
  157. help
  158. This option allows you to set the kernel virtual address at which
  159. the kernel will map low memory (the kernel image will be linked at
  160. this address). This can be useful in optimizing the virtual memory
  161. layout of the system.
  162. Say N here unless you know what you are doing.
  163. config KERNEL_START
  164. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  165. default "0xc0000000" if MMU
  166. default KERNEL_BASE_ADDR if !MMU
  167. config TASK_SIZE_BOOL
  168. bool "Set custom user task size"
  169. depends on ADVANCED_OPTIONS && MMU
  170. help
  171. This option allows you to set the amount of virtual address space
  172. allocated to user tasks. This can be useful in optimizing the
  173. virtual memory layout of the system.
  174. Say N here unless you know what you are doing.
  175. config TASK_SIZE
  176. hex "Size of user task space" if TASK_SIZE_BOOL
  177. default "0x80000000"
  178. choice
  179. prompt "Page size"
  180. default MICROBLAZE_4K_PAGES
  181. depends on ADVANCED_OPTIONS && !MMU
  182. help
  183. Select the kernel logical page size. Increasing the page size
  184. will reduce software overhead at each page boundary, allow
  185. hardware prefetch mechanisms to be more effective, and allow
  186. larger dma transfers increasing IO efficiency and reducing
  187. overhead. However the utilization of memory will increase.
  188. For example, each cached file will using a multiple of the
  189. page size to hold its contents and the difference between the
  190. end of file and the end of page is wasted.
  191. If unsure, choose 4K_PAGES.
  192. config MICROBLAZE_4K_PAGES
  193. bool "4k page size"
  194. config MICROBLAZE_16K_PAGES
  195. bool "16k page size"
  196. config MICROBLAZE_64K_PAGES
  197. bool "64k page size"
  198. endchoice
  199. endmenu
  200. source "mm/Kconfig"
  201. menu "Executable file formats"
  202. source "fs/Kconfig.binfmt"
  203. endmenu
  204. menu "Bus Options"
  205. config PCI
  206. bool "PCI support"
  207. config PCI_DOMAINS
  208. def_bool PCI
  209. config PCI_SYSCALL
  210. def_bool PCI
  211. config PCI_XILINX
  212. bool "Xilinx PCI host bridge support"
  213. depends on PCI
  214. source "drivers/pci/Kconfig"
  215. endmenu
  216. source "net/Kconfig"
  217. source "drivers/Kconfig"
  218. source "fs/Kconfig"
  219. source "arch/microblaze/Kconfig.debug"
  220. source "security/Kconfig"
  221. source "crypto/Kconfig"
  222. source "lib/Kconfig"