Kconfig 7.3 KB

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