blob: be3855250db65625f68019449db839fbbc895e76 [file] [log] [blame]
Michal Simek575ca282009-03-27 14:25:50 +01001# 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
Yinghai Lu95f72d12010-07-12 14:36:09 +10008 select HAVE_MEMBLOCK
Michal Simek2fd7c762009-11-16 09:40:14 +01009 select HAVE_FUNCTION_TRACER
Michal Simek6d9e60c2009-11-16 09:55:08 +010010 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
Michal Simeka0d3e662009-11-16 10:32:10 +010011 select HAVE_FUNCTION_GRAPH_TRACER
Michal Simek7d241ff2009-12-10 14:15:44 +010012 select HAVE_DYNAMIC_FTRACE
13 select HAVE_FTRACE_MCOUNT_RECORD
Julie Zhuafc26cb2009-07-27 11:45:32 -060014 select USB_ARCH_HAS_EHCI
Michal Simek6fa612b2009-05-11 15:49:12 +020015 select ARCH_WANT_OPTIONAL_GPIOLIB
John Williams3540ce82009-11-24 20:27:54 +100016 select HAVE_OPROFILE
Michal Simek2d5973c2010-08-03 11:45:08 +020017 select HAVE_ARCH_KGDB
Michal Simekccfe27d2010-01-14 11:21:02 +010018 select HAVE_DMA_ATTRS
19 select HAVE_DMA_API_DEBUG
John Williams3540ce82009-11-24 20:27:54 +100020 select TRACING_SUPPORT
Michal Simek575ca282009-03-27 14:25:50 +010021
22config SWAP
23 def_bool n
24
25config RWSEM_GENERIC_SPINLOCK
26 def_bool y
27
28config RWSEM_XCHGADD_ALGORITHM
29 bool
30
31config ARCH_HAS_ILOG2_U32
32 def_bool n
33
34config ARCH_HAS_ILOG2_U64
35 def_bool n
36
37config GENERIC_FIND_NEXT_BIT
38 def_bool y
39
40config GENERIC_HWEIGHT
41 def_bool y
42
43config GENERIC_HARDIRQS
44 def_bool y
45
46config GENERIC_IRQ_PROBE
47 def_bool y
48
49config GENERIC_CALIBRATE_DELAY
50 def_bool y
51
52config GENERIC_TIME
53 def_bool y
54
55config GENERIC_TIME_VSYSCALL
56 def_bool n
57
58config GENERIC_CLOCKEVENTS
59 def_bool y
60
61config GENERIC_HARDIRQS_NO__DO_IRQ
62 def_bool y
63
Michal Simek6fa612b2009-05-11 15:49:12 +020064config GENERIC_GPIO
65 def_bool y
66
Remis Lima Baima14f87382009-06-18 19:55:32 +020067config GENERIC_CSUM
68 def_bool y
69
Michal Simek24b45a12009-11-10 15:57:01 +010070config STACKTRACE_SUPPORT
71 def_bool y
72
Michal Simekbf2d8092009-12-10 12:07:02 +010073config LOCKDEP_SUPPORT
74 def_bool y
75
Michal Simekfb5a32d2009-11-16 09:09:47 +010076config HAVE_LATENCYTOP_SUPPORT
77 def_bool y
78
Michal Simek3c5e5672009-11-30 09:26:09 +010079config DTC
80 def_bool y
81
Michal Simek575ca282009-03-27 14:25:50 +010082source "init/Kconfig"
83
84source "kernel/Kconfig.freezer"
85
86source "arch/microblaze/platform/Kconfig.platform"
87
88menu "Processor type and features"
89
Michal Simek296e2602010-01-12 11:05:49 +010090source "kernel/time/Kconfig"
Michal Simek575ca282009-03-27 14:25:50 +010091
92source "kernel/Kconfig.preempt"
93
94source "kernel/Kconfig.hz"
95
96config MMU
Michal Simeka116f6d2009-05-26 16:30:31 +020097 bool "MMU support"
98 default n
Michal Simek575ca282009-03-27 14:25:50 +010099
100config NO_MMU
101 bool
102 depends on !MMU
103 default y
104
105comment "Boot options"
106
107config CMDLINE_BOOL
108 bool "Default bootloader kernel arguments"
109
110config CMDLINE
111 string "Default kernel command string"
112 depends on CMDLINE_BOOL
113 default "console=ttyUL0,115200"
114 help
115 On some architectures there is currently no way for the boot loader
116 to pass arguments to the kernel. For these architectures, you should
117 supply some command-line options at build time by entering them
118 here.
119
120config CMDLINE_FORCE
121 bool "Force default kernel command string"
122 depends on CMDLINE_BOOL
123 default n
124 help
125 Set this to have arguments from the default kernel command string
126 override those passed by the boot loader.
127
128config OF
129 def_bool y
Grant Likelye169cfb2009-11-23 14:53:09 -0700130 select OF_FLATTREE
Michal Simek575ca282009-03-27 14:25:50 +0100131
Michal Simek575ca282009-03-27 14:25:50 +0100132config PROC_DEVICETREE
133 bool "Support for device tree in /proc"
134 depends on PROC_FS
135 help
136 This option adds a device-tree directory under /proc which contains
137 an image of the device tree that the kernel copies from Open
138 Firmware or other boot firmware. If unsure, say Y here.
139
140endmenu
141
Michal Simeka116f6d2009-05-26 16:30:31 +0200142menu "Advanced setup"
143
144config ADVANCED_OPTIONS
145 bool "Prompt for advanced kernel configuration options"
Michal Simeka116f6d2009-05-26 16:30:31 +0200146 help
147 This option will enable prompting for a variety of advanced kernel
148 configuration options. These options can cause the kernel to not
149 work if they are set incorrectly, but can be used to optimize certain
150 aspects of kernel memory management.
151
152 Unless you know what you are doing, say N here.
153
154comment "Default settings for advanced configuration options are used"
155 depends on !ADVANCED_OPTIONS
156
Michal Simek3a0d7a42010-02-22 12:16:08 +0100157config XILINX_UNCACHED_SHADOW
158 bool "Are you using uncached shadow for RAM ?"
159 depends on ADVANCED_OPTIONS && !MMU
160 default n
161 help
162 This is needed to be able to allocate uncachable memory regions.
163 The feature requires the design to define the RAM memory controller
164 window to be twice as large as the actual physical memory.
165
Michal Simeka116f6d2009-05-26 16:30:31 +0200166config HIGHMEM_START_BOOL
167 bool "Set high memory pool address"
168 depends on ADVANCED_OPTIONS && HIGHMEM
169 help
170 This option allows you to set the base address of the kernel virtual
171 area used to map high memory pages. This can be useful in
172 optimizing the layout of kernel virtual memory.
173
174 Say N here unless you know what you are doing.
175
176config HIGHMEM_START
177 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
178 depends on MMU
179 default "0xfe000000"
180
181config LOWMEM_SIZE_BOOL
182 bool "Set maximum low memory"
Michal Simekb8a84052010-02-22 11:33:07 +0100183 depends on ADVANCED_OPTIONS && MMU
Michal Simeka116f6d2009-05-26 16:30:31 +0200184 help
185 This option allows you to set the maximum amount of memory which
186 will be used as "low memory", that is, memory which the kernel can
187 access directly, without having to set up a kernel virtual mapping.
188 This can be useful in optimizing the layout of kernel virtual
189 memory.
190
191 Say N here unless you know what you are doing.
192
193config LOWMEM_SIZE
194 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
Michal Simeka116f6d2009-05-26 16:30:31 +0200195 default "0x30000000"
196
197config KERNEL_START_BOOL
198 bool "Set custom kernel base address"
199 depends on ADVANCED_OPTIONS
200 help
201 This option allows you to set the kernel virtual address at which
202 the kernel will map low memory (the kernel image will be linked at
203 this address). This can be useful in optimizing the virtual memory
204 layout of the system.
205
206 Say N here unless you know what you are doing.
207
208config KERNEL_START
209 hex "Virtual address of kernel base" if KERNEL_START_BOOL
210 default "0xc0000000" if MMU
211 default KERNEL_BASE_ADDR if !MMU
212
213config TASK_SIZE_BOOL
214 bool "Set custom user task size"
Michal Simekb8a84052010-02-22 11:33:07 +0100215 depends on ADVANCED_OPTIONS && MMU
Michal Simeka116f6d2009-05-26 16:30:31 +0200216 help
217 This option allows you to set the amount of virtual address space
218 allocated to user tasks. This can be useful in optimizing the
219 virtual memory layout of the system.
220
221 Say N here unless you know what you are doing.
222
223config TASK_SIZE
224 hex "Size of user task space" if TASK_SIZE_BOOL
Michal Simeka116f6d2009-05-26 16:30:31 +0200225 default "0x80000000"
226
Steven J. Magnaniba9c4f82010-05-13 10:48:27 -0500227choice
228 prompt "Page size"
229 default MICROBLAZE_4K_PAGES
230 depends on ADVANCED_OPTIONS && !MMU
231 help
232 Select the kernel logical page size. Increasing the page size
233 will reduce software overhead at each page boundary, allow
234 hardware prefetch mechanisms to be more effective, and allow
235 larger dma transfers increasing IO efficiency and reducing
236 overhead. However the utilization of memory will increase.
237 For example, each cached file will using a multiple of the
238 page size to hold its contents and the difference between the
239 end of file and the end of page is wasted.
240
241 If unsure, choose 4K_PAGES.
242
243config MICROBLAZE_4K_PAGES
244 bool "4k page size"
245
246config MICROBLAZE_8K_PAGES
247 bool "8k page size"
248
249config MICROBLAZE_16K_PAGES
250 bool "16k page size"
251
252config MICROBLAZE_32K_PAGES
253 bool "32k page size"
254
255endchoice
256
Michal Simeka116f6d2009-05-26 16:30:31 +0200257endmenu
258
Michal Simek575ca282009-03-27 14:25:50 +0100259source "mm/Kconfig"
260
261menu "Exectuable file formats"
262
263source "fs/Kconfig.binfmt"
264
265endmenu
266
Michal Simeka6475c12010-01-18 15:27:10 +0100267menu "Bus Options"
268
269config PCI
270 bool "PCI support"
271
272config PCI_DOMAINS
273 def_bool PCI
274
275config PCI_SYSCALL
276 def_bool PCI
277
Michal Simek733cc212010-01-18 15:27:11 +0100278config PCI_XILINX
279 bool "Xilinx PCI host bridge support"
280 depends on PCI
281
Michal Simeka6475c12010-01-18 15:27:10 +0100282source "drivers/pci/Kconfig"
283
284endmenu
285
Michal Simek575ca282009-03-27 14:25:50 +0100286source "net/Kconfig"
287
288source "drivers/Kconfig"
289
290source "fs/Kconfig"
291
292source "arch/microblaze/Kconfig.debug"
293
294source "security/Kconfig"
295
296source "crypto/Kconfig"
297
298source "lib/Kconfig"