3 select ARCH_HAS_GCOV_PROFILE_ALL
4 select ARCH_MIGHT_HAVE_PC_PARPORT
5 select ARCH_NO_COHERENT_DMA_MMAP if !MMU
6 select ARCH_WANT_IPC_PARSE_VERSION
7 select BUILDTIME_EXTABLE_SORT
9 select CLONE_BACKWARDS3
11 select GENERIC_ATOMIC64
12 select GENERIC_CLOCKEVENTS
13 select GENERIC_CPU_DEVICES
14 select GENERIC_IDLE_POLL_SETUP
15 select GENERIC_IRQ_PROBE
16 select GENERIC_IRQ_SHOW
17 select GENERIC_PCI_IOMAP
18 select GENERIC_SCHED_CLOCK
21 select HAVE_DEBUG_KMEMLEAK
22 select HAVE_DMA_API_DEBUG
23 select HAVE_DYNAMIC_FTRACE
24 select HAVE_FTRACE_MCOUNT_RECORD
25 select HAVE_FUNCTION_GRAPH_TRACER
26 select HAVE_FUNCTION_TRACER
28 select HAVE_MEMBLOCK_NODE_MAP
32 select MODULES_USE_ELF_RELA
34 select OF_EARLY_FLATTREE
35 select TRACING_SUPPORT
37 select CPU_NO_EFFICIENT_FFS
39 # Endianness selection
41 prompt "Endianness selection"
42 default CPU_LITTLE_ENDIAN
44 microblaze architectures can be configured for either little or
45 big endian formats. Be sure to select the appropriate mode.
50 config CPU_LITTLE_ENDIAN
58 config RWSEM_GENERIC_SPINLOCK
64 config RWSEM_XCHGADD_ALGORITHM
67 config ARCH_HAS_ILOG2_U32
70 config ARCH_HAS_ILOG2_U64
73 config GENERIC_HWEIGHT
76 config GENERIC_CALIBRATE_DELAY
82 config STACKTRACE_SUPPORT
85 config LOCKDEP_SUPPORT
90 source "kernel/Kconfig.freezer"
92 source "arch/microblaze/Kconfig.platform"
94 menu "Processor type and features"
96 source "kernel/Kconfig.preempt"
98 source "kernel/Kconfig.hz"
104 comment "Boot options"
107 bool "Default bootloader kernel arguments"
110 string "Default kernel command string"
111 depends on CMDLINE_BOOL
112 default "console=ttyUL0,115200"
114 On some architectures there is currently no way for the boot loader
115 to pass arguments to the kernel. For these architectures, you should
116 supply some command-line options at build time by entering them
120 bool "Force default kernel command string"
121 depends on CMDLINE_BOOL
124 Set this to have arguments from the default kernel command string
125 override those passed by the boot loader.
128 bool "Enable seccomp to safely compute untrusted bytecode"
132 This kernel feature is useful for number crunching applications
133 that may need to compute untrusted bytecode during their
134 execution. By using pipes or other transports made available to
135 the process as file descriptors supporting the read/write
136 syscalls, it's possible to isolate those applications in
137 their own address space using seccomp. Once seccomp is
138 enabled via /proc/<pid>/seccomp, it cannot be disabled
139 and the task is only allowed to execute a few safe syscalls
140 defined by each seccomp mode.
142 If unsure, say Y. Only embedded should say N here.
146 menu "Kernel features"
152 config ADVANCED_OPTIONS
153 bool "Prompt for advanced kernel configuration options"
155 This option will enable prompting for a variety of advanced kernel
156 configuration options. These options can cause the kernel to not
157 work if they are set incorrectly, but can be used to optimize certain
158 aspects of kernel memory management.
160 Unless you know what you are doing, say N here.
162 comment "Default settings for advanced configuration options are used"
163 depends on !ADVANCED_OPTIONS
165 config XILINX_UNCACHED_SHADOW
166 bool "Are you using uncached shadow for RAM ?"
167 depends on ADVANCED_OPTIONS && !MMU
170 This is needed to be able to allocate uncachable memory regions.
171 The feature requires the design to define the RAM memory controller
172 window to be twice as large as the actual physical memory.
175 bool "High memory support"
178 The address space of Microblaze processors is only 4 Gigabytes large
179 and it has to accommodate user address space, kernel address
180 space as well as some memory mapped IO. That means that, if you
181 have a large amount of physical memory and/or IO, not all of the
182 memory can be "permanently mapped" by the kernel. The physical
183 memory that is not permanently mapped is called "high memory".
187 config LOWMEM_SIZE_BOOL
188 bool "Set maximum low memory"
189 depends on ADVANCED_OPTIONS && MMU
191 This option allows you to set the maximum amount of memory which
192 will be used as "low memory", that is, memory which the kernel can
193 access directly, without having to set up a kernel virtual mapping.
194 This can be useful in optimizing the layout of kernel virtual
197 Say N here unless you know what you are doing.
200 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
203 config MANUAL_RESET_VECTOR
204 hex "Microblaze reset vector address setup"
207 Set this option to have the kernel override the CPU Reset vector.
208 If zero, no change will be made to the MicroBlaze reset vector at
210 If non-zero, a jump instruction to this address, will be written
211 to the reset vector at address 0x0.
212 If you are unsure, set it to default value 0x0.
214 config KERNEL_START_BOOL
215 bool "Set custom kernel base address"
216 depends on ADVANCED_OPTIONS
218 This option allows you to set the kernel virtual address at which
219 the kernel will map low memory (the kernel image will be linked at
220 this address). This can be useful in optimizing the virtual memory
221 layout of the system.
223 Say N here unless you know what you are doing.
226 hex "Virtual address of kernel base" if KERNEL_START_BOOL
227 default "0xc0000000" if MMU
228 default KERNEL_BASE_ADDR if !MMU
230 config TASK_SIZE_BOOL
231 bool "Set custom user task size"
232 depends on ADVANCED_OPTIONS && MMU
234 This option allows you to set the amount of virtual address space
235 allocated to user tasks. This can be useful in optimizing the
236 virtual memory layout of the system.
238 Say N here unless you know what you are doing.
241 hex "Size of user task space" if TASK_SIZE_BOOL
246 default MICROBLAZE_4K_PAGES
247 depends on ADVANCED_OPTIONS && !MMU
249 Select the kernel logical page size. Increasing the page size
250 will reduce software overhead at each page boundary, allow
251 hardware prefetch mechanisms to be more effective, and allow
252 larger dma transfers increasing IO efficiency and reducing
253 overhead. However the utilization of memory will increase.
254 For example, each cached file will using a multiple of the
255 page size to hold its contents and the difference between the
256 end of file and the end of page is wasted.
258 If unsure, choose 4K_PAGES.
260 config MICROBLAZE_4K_PAGES
263 config MICROBLAZE_16K_PAGES
266 config MICROBLAZE_64K_PAGES
275 menu "Executable file formats"
277 source "fs/Kconfig.binfmt"
289 config PCI_DOMAINS_GENERIC
296 bool "Xilinx PCI host bridge support"
299 source "drivers/pci/Kconfig"
305 source "drivers/Kconfig"
309 source "arch/microblaze/Kconfig.debug"
311 source "security/Kconfig"
313 source "crypto/Kconfig"