microblaze: Show more detailed information about memory
[deliverable/linux.git] / arch / microblaze / Kconfig
CommitLineData
575ca288
MS
1config MICROBLAZE
2 def_bool y
95f72d1e 3 select HAVE_MEMBLOCK
2fd7c761 4 select HAVE_FUNCTION_TRACER
6d9e60ce 5 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
a0d3e665 6 select HAVE_FUNCTION_GRAPH_TRACER
7d241ff0
MS
7 select HAVE_DYNAMIC_FTRACE
8 select HAVE_FTRACE_MCOUNT_RECORD
6fa612b5 9 select ARCH_WANT_OPTIONAL_GPIOLIB
3540ce82 10 select HAVE_OPROFILE
2d5973cb 11 select HAVE_ARCH_KGDB
ccfe27d7
MS
12 select HAVE_DMA_ATTRS
13 select HAVE_DMA_API_DEBUG
3540ce82 14 select TRACING_SUPPORT
ae5bf63f 15 select OF
e6ce1324 16 select OF_EARLY_FLATTREE
b6e31629
TG
17 select HAVE_GENERIC_HARDIRQS
18 select GENERIC_IRQ_PROBE
9d61c18b 19 select GENERIC_IRQ_SHOW
1b34d160 20 select GENERIC_PCI_IOMAP
9f13a1fd 21 select GENERIC_CPU_DEVICES
eacb6ec9 22 select GENERIC_ATOMIC64
575ca288
MS
23
24config SWAP
25 def_bool n
26
27config RWSEM_GENERIC_SPINLOCK
28 def_bool y
29
4e2e4124
MS
30config ZONE_DMA
31 def_bool y
32
575ca288
MS
33config RWSEM_XCHGADD_ALGORITHM
34 bool
35
36config ARCH_HAS_ILOG2_U32
37 def_bool n
38
39config ARCH_HAS_ILOG2_U64
40 def_bool n
41
575ca288
MS
42config GENERIC_HWEIGHT
43 def_bool y
44
575ca288
MS
45config GENERIC_CALIBRATE_DELAY
46 def_bool y
47
575ca288
MS
48config GENERIC_TIME_VSYSCALL
49 def_bool n
50
51config GENERIC_CLOCKEVENTS
52 def_bool y
53
6fa612b5
MS
54config GENERIC_GPIO
55 def_bool y
56
14f87389
RLB
57config GENERIC_CSUM
58 def_bool y
59
24b45a12
MS
60config STACKTRACE_SUPPORT
61 def_bool y
62
bf2d8096
MS
63config LOCKDEP_SUPPORT
64 def_bool y
65
fb5a32dc
MS
66config HAVE_LATENCYTOP_SUPPORT
67 def_bool y
68
575ca288
MS
69source "init/Kconfig"
70
71source "kernel/Kconfig.freezer"
72
73source "arch/microblaze/platform/Kconfig.platform"
74
75menu "Processor type and features"
76
296e2603 77source "kernel/time/Kconfig"
575ca288
MS
78
79source "kernel/Kconfig.preempt"
80
81source "kernel/Kconfig.hz"
82
83config MMU
a116f6d5
MS
84 bool "MMU support"
85 default n
575ca288
MS
86
87config NO_MMU
88 bool
89 depends on !MMU
90 default y
91
92comment "Boot options"
93
94config CMDLINE_BOOL
95 bool "Default bootloader kernel arguments"
96
97config CMDLINE
98 string "Default kernel command string"
99 depends on CMDLINE_BOOL
100 default "console=ttyUL0,115200"
101 help
102 On some architectures there is currently no way for the boot loader
103 to pass arguments to the kernel. For these architectures, you should
104 supply some command-line options at build time by entering them
105 here.
106
107config CMDLINE_FORCE
108 bool "Force default kernel command string"
109 depends on CMDLINE_BOOL
110 default n
111 help
112 Set this to have arguments from the default kernel command string
113 override those passed by the boot loader.
114
68c6ac33
MS
115config SECCOMP
116 bool "Enable seccomp to safely compute untrusted bytecode"
117 depends on PROC_FS
118 default y
119 help
120 This kernel feature is useful for number crunching applications
121 that may need to compute untrusted bytecode during their
122 execution. By using pipes or other transports made available to
123 the process as file descriptors supporting the read/write
124 syscalls, it's possible to isolate those applications in
125 their own address space using seccomp. Once seccomp is
126 enabled via /proc/<pid>/seccomp, it cannot be disabled
127 and the task is only allowed to execute a few safe syscalls
128 defined by each seccomp mode.
129
130 If unsure, say Y. Only embedded should say N here.
131
575ca288
MS
132endmenu
133
a116f6d5
MS
134menu "Advanced setup"
135
136config ADVANCED_OPTIONS
137 bool "Prompt for advanced kernel configuration options"
a116f6d5
MS
138 help
139 This option will enable prompting for a variety of advanced kernel
140 configuration options. These options can cause the kernel to not
141 work if they are set incorrectly, but can be used to optimize certain
142 aspects of kernel memory management.
143
144 Unless you know what you are doing, say N here.
145
146comment "Default settings for advanced configuration options are used"
147 depends on !ADVANCED_OPTIONS
148
3a0d7a4d
MS
149config XILINX_UNCACHED_SHADOW
150 bool "Are you using uncached shadow for RAM ?"
151 depends on ADVANCED_OPTIONS && !MMU
152 default n
153 help
154 This is needed to be able to allocate uncachable memory regions.
155 The feature requires the design to define the RAM memory controller
156 window to be twice as large as the actual physical memory.
157
a116f6d5
MS
158config HIGHMEM_START_BOOL
159 bool "Set high memory pool address"
160 depends on ADVANCED_OPTIONS && HIGHMEM
161 help
162 This option allows you to set the base address of the kernel virtual
163 area used to map high memory pages. This can be useful in
164 optimizing the layout of kernel virtual memory.
165
166 Say N here unless you know what you are doing.
167
168config HIGHMEM_START
169 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
170 depends on MMU
171 default "0xfe000000"
172
173config LOWMEM_SIZE_BOOL
174 bool "Set maximum low memory"
b8a84059 175 depends on ADVANCED_OPTIONS && MMU
a116f6d5
MS
176 help
177 This option allows you to set the maximum amount of memory which
178 will be used as "low memory", that is, memory which the kernel can
179 access directly, without having to set up a kernel virtual mapping.
180 This can be useful in optimizing the layout of kernel virtual
181 memory.
182
183 Say N here unless you know what you are doing.
184
185config LOWMEM_SIZE
186 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
a116f6d5
MS
187 default "0x30000000"
188
0b9b0200
MS
189config MANUAL_RESET_VECTOR
190 hex "Microblaze reset vector address setup"
191 default "0x0"
192 help
193 Set this option to have the kernel override the CPU Reset vector.
194 If zero, no change will be made to the MicroBlaze reset vector at
195 address 0x0.
196 If non-zero, a jump instruction to this address, will be written
197 to the reset vector at address 0x0.
198 If you are unsure, set it to default value 0x0.
199
a116f6d5
MS
200config KERNEL_START_BOOL
201 bool "Set custom kernel base address"
202 depends on ADVANCED_OPTIONS
203 help
204 This option allows you to set the kernel virtual address at which
205 the kernel will map low memory (the kernel image will be linked at
206 this address). This can be useful in optimizing the virtual memory
207 layout of the system.
208
209 Say N here unless you know what you are doing.
210
211config KERNEL_START
212 hex "Virtual address of kernel base" if KERNEL_START_BOOL
213 default "0xc0000000" if MMU
214 default KERNEL_BASE_ADDR if !MMU
215
216config TASK_SIZE_BOOL
217 bool "Set custom user task size"
b8a84059 218 depends on ADVANCED_OPTIONS && MMU
a116f6d5
MS
219 help
220 This option allows you to set the amount of virtual address space
221 allocated to user tasks. This can be useful in optimizing the
222 virtual memory layout of the system.
223
224 Say N here unless you know what you are doing.
225
226config TASK_SIZE
227 hex "Size of user task space" if TASK_SIZE_BOOL
a116f6d5
MS
228 default "0x80000000"
229
ba9c4f88
SM
230choice
231 prompt "Page size"
232 default MICROBLAZE_4K_PAGES
233 depends on ADVANCED_OPTIONS && !MMU
234 help
235 Select the kernel logical page size. Increasing the page size
236 will reduce software overhead at each page boundary, allow
237 hardware prefetch mechanisms to be more effective, and allow
238 larger dma transfers increasing IO efficiency and reducing
239 overhead. However the utilization of memory will increase.
240 For example, each cached file will using a multiple of the
241 page size to hold its contents and the difference between the
242 end of file and the end of page is wasted.
243
244 If unsure, choose 4K_PAGES.
245
246config MICROBLAZE_4K_PAGES
247 bool "4k page size"
248
249config MICROBLAZE_8K_PAGES
250 bool "8k page size"
251
252config MICROBLAZE_16K_PAGES
253 bool "16k page size"
254
255config MICROBLAZE_32K_PAGES
256 bool "32k page size"
257
258endchoice
259
a116f6d5
MS
260endmenu
261
575ca288
MS
262source "mm/Kconfig"
263
910672de 264menu "Executable file formats"
575ca288
MS
265
266source "fs/Kconfig.binfmt"
267
268endmenu
269
a6475c13
MS
270menu "Bus Options"
271
272config PCI
273 bool "PCI support"
274
275config PCI_DOMAINS
276 def_bool PCI
277
278config PCI_SYSCALL
279 def_bool PCI
280
733cc218
MS
281config PCI_XILINX
282 bool "Xilinx PCI host bridge support"
283 depends on PCI
284
a6475c13
MS
285source "drivers/pci/Kconfig"
286
287endmenu
288
575ca288
MS
289source "net/Kconfig"
290
291source "drivers/Kconfig"
292
293source "fs/Kconfig"
294
295source "arch/microblaze/Kconfig.debug"
296
297source "security/Kconfig"
298
299source "crypto/Kconfig"
300
301source "lib/Kconfig"
This page took 0.163917 seconds and 5 git commands to generate.