microblaze: Support brki rX, 0x18 for user application debugging
[deliverable/linux.git] / arch / microblaze / Kconfig
CommitLineData
575ca288
MS
1# For a description of the syntax of this configuration file,
2# see Documentation/kbuild/kconfig-language.txt.
3
4mainmenu "Linux/Microblaze Kernel Configuration"
5
6config MICROBLAZE
7 def_bool y
95f72d1e 8 select HAVE_MEMBLOCK
2fd7c761 9 select HAVE_FUNCTION_TRACER
6d9e60ce 10 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
a0d3e665 11 select HAVE_FUNCTION_GRAPH_TRACER
7d241ff0
MS
12 select HAVE_DYNAMIC_FTRACE
13 select HAVE_FTRACE_MCOUNT_RECORD
afc26cb3 14 select USB_ARCH_HAS_EHCI
6fa612b5 15 select ARCH_WANT_OPTIONAL_GPIOLIB
3540ce82 16 select HAVE_OPROFILE
ccfe27d7
MS
17 select HAVE_DMA_ATTRS
18 select HAVE_DMA_API_DEBUG
3540ce82 19 select TRACING_SUPPORT
575ca288
MS
20
21config SWAP
22 def_bool n
23
24config RWSEM_GENERIC_SPINLOCK
25 def_bool y
26
27config RWSEM_XCHGADD_ALGORITHM
28 bool
29
30config ARCH_HAS_ILOG2_U32
31 def_bool n
32
33config ARCH_HAS_ILOG2_U64
34 def_bool n
35
36config GENERIC_FIND_NEXT_BIT
37 def_bool y
38
39config GENERIC_HWEIGHT
40 def_bool y
41
42config GENERIC_HARDIRQS
43 def_bool y
44
45config GENERIC_IRQ_PROBE
46 def_bool y
47
48config GENERIC_CALIBRATE_DELAY
49 def_bool y
50
51config GENERIC_TIME
52 def_bool y
53
54config GENERIC_TIME_VSYSCALL
55 def_bool n
56
57config GENERIC_CLOCKEVENTS
58 def_bool y
59
60config GENERIC_HARDIRQS_NO__DO_IRQ
61 def_bool y
62
6fa612b5
MS
63config GENERIC_GPIO
64 def_bool y
65
14f87389
RLB
66config GENERIC_CSUM
67 def_bool y
68
24b45a12
MS
69config STACKTRACE_SUPPORT
70 def_bool y
71
bf2d8096
MS
72config LOCKDEP_SUPPORT
73 def_bool y
74
fb5a32dc
MS
75config HAVE_LATENCYTOP_SUPPORT
76 def_bool y
77
3c5e5672
MS
78config DTC
79 def_bool y
80
575ca288
MS
81source "init/Kconfig"
82
83source "kernel/Kconfig.freezer"
84
85source "arch/microblaze/platform/Kconfig.platform"
86
87menu "Processor type and features"
88
296e2603 89source "kernel/time/Kconfig"
575ca288
MS
90
91source "kernel/Kconfig.preempt"
92
93source "kernel/Kconfig.hz"
94
95config MMU
a116f6d5
MS
96 bool "MMU support"
97 default n
575ca288
MS
98
99config NO_MMU
100 bool
101 depends on !MMU
102 default y
103
104comment "Boot options"
105
106config CMDLINE_BOOL
107 bool "Default bootloader kernel arguments"
108
109config CMDLINE
110 string "Default kernel command string"
111 depends on CMDLINE_BOOL
112 default "console=ttyUL0,115200"
113 help
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
117 here.
118
119config CMDLINE_FORCE
120 bool "Force default kernel command string"
121 depends on CMDLINE_BOOL
122 default n
123 help
124 Set this to have arguments from the default kernel command string
125 override those passed by the boot loader.
126
127config OF
128 def_bool y
e169cfbe 129 select OF_FLATTREE
575ca288 130
575ca288
MS
131config PROC_DEVICETREE
132 bool "Support for device tree in /proc"
133 depends on PROC_FS
134 help
135 This option adds a device-tree directory under /proc which contains
136 an image of the device tree that the kernel copies from Open
137 Firmware or other boot firmware. If unsure, say Y here.
138
139endmenu
140
a116f6d5
MS
141menu "Advanced setup"
142
143config ADVANCED_OPTIONS
144 bool "Prompt for advanced kernel configuration options"
a116f6d5
MS
145 help
146 This option will enable prompting for a variety of advanced kernel
147 configuration options. These options can cause the kernel to not
148 work if they are set incorrectly, but can be used to optimize certain
149 aspects of kernel memory management.
150
151 Unless you know what you are doing, say N here.
152
153comment "Default settings for advanced configuration options are used"
154 depends on !ADVANCED_OPTIONS
155
3a0d7a4d
MS
156config XILINX_UNCACHED_SHADOW
157 bool "Are you using uncached shadow for RAM ?"
158 depends on ADVANCED_OPTIONS && !MMU
159 default n
160 help
161 This is needed to be able to allocate uncachable memory regions.
162 The feature requires the design to define the RAM memory controller
163 window to be twice as large as the actual physical memory.
164
a116f6d5
MS
165config HIGHMEM_START_BOOL
166 bool "Set high memory pool address"
167 depends on ADVANCED_OPTIONS && HIGHMEM
168 help
169 This option allows you to set the base address of the kernel virtual
170 area used to map high memory pages. This can be useful in
171 optimizing the layout of kernel virtual memory.
172
173 Say N here unless you know what you are doing.
174
175config HIGHMEM_START
176 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
177 depends on MMU
178 default "0xfe000000"
179
180config LOWMEM_SIZE_BOOL
181 bool "Set maximum low memory"
b8a84059 182 depends on ADVANCED_OPTIONS && MMU
a116f6d5
MS
183 help
184 This option allows you to set the maximum amount of memory which
185 will be used as "low memory", that is, memory which the kernel can
186 access directly, without having to set up a kernel virtual mapping.
187 This can be useful in optimizing the layout of kernel virtual
188 memory.
189
190 Say N here unless you know what you are doing.
191
192config LOWMEM_SIZE
193 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
a116f6d5
MS
194 default "0x30000000"
195
196config KERNEL_START_BOOL
197 bool "Set custom kernel base address"
198 depends on ADVANCED_OPTIONS
199 help
200 This option allows you to set the kernel virtual address at which
201 the kernel will map low memory (the kernel image will be linked at
202 this address). This can be useful in optimizing the virtual memory
203 layout of the system.
204
205 Say N here unless you know what you are doing.
206
207config KERNEL_START
208 hex "Virtual address of kernel base" if KERNEL_START_BOOL
209 default "0xc0000000" if MMU
210 default KERNEL_BASE_ADDR if !MMU
211
212config TASK_SIZE_BOOL
213 bool "Set custom user task size"
b8a84059 214 depends on ADVANCED_OPTIONS && MMU
a116f6d5
MS
215 help
216 This option allows you to set the amount of virtual address space
217 allocated to user tasks. This can be useful in optimizing the
218 virtual memory layout of the system.
219
220 Say N here unless you know what you are doing.
221
222config TASK_SIZE
223 hex "Size of user task space" if TASK_SIZE_BOOL
a116f6d5
MS
224 default "0x80000000"
225
ba9c4f88
SM
226choice
227 prompt "Page size"
228 default MICROBLAZE_4K_PAGES
229 depends on ADVANCED_OPTIONS && !MMU
230 help
231 Select the kernel logical page size. Increasing the page size
232 will reduce software overhead at each page boundary, allow
233 hardware prefetch mechanisms to be more effective, and allow
234 larger dma transfers increasing IO efficiency and reducing
235 overhead. However the utilization of memory will increase.
236 For example, each cached file will using a multiple of the
237 page size to hold its contents and the difference between the
238 end of file and the end of page is wasted.
239
240 If unsure, choose 4K_PAGES.
241
242config MICROBLAZE_4K_PAGES
243 bool "4k page size"
244
245config MICROBLAZE_8K_PAGES
246 bool "8k page size"
247
248config MICROBLAZE_16K_PAGES
249 bool "16k page size"
250
251config MICROBLAZE_32K_PAGES
252 bool "32k page size"
253
254endchoice
255
a116f6d5
MS
256endmenu
257
575ca288
MS
258source "mm/Kconfig"
259
260menu "Exectuable file formats"
261
262source "fs/Kconfig.binfmt"
263
264endmenu
265
a6475c13
MS
266menu "Bus Options"
267
268config PCI
269 bool "PCI support"
270
271config PCI_DOMAINS
272 def_bool PCI
273
274config PCI_SYSCALL
275 def_bool PCI
276
733cc218
MS
277config PCI_XILINX
278 bool "Xilinx PCI host bridge support"
279 depends on PCI
280
a6475c13
MS
281source "drivers/pci/Kconfig"
282
283endmenu
284
575ca288
MS
285source "net/Kconfig"
286
287source "drivers/Kconfig"
288
289source "fs/Kconfig"
290
291source "arch/microblaze/Kconfig.debug"
292
293source "security/Kconfig"
294
295source "crypto/Kconfig"
296
297source "lib/Kconfig"
This page took 0.096118 seconds and 5 git commands to generate.