blob: 9bd64b4b2b0c564fefd26d8d87937d8244d29e7c [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
Stephen Rothwellae5bf632010-06-29 12:42:00 +100021 select OF
22 select OF_FLATTREE
Michal Simek575ca282009-03-27 14:25:50 +010023
24config SWAP
25 def_bool n
26
27config RWSEM_GENERIC_SPINLOCK
28 def_bool y
29
30config RWSEM_XCHGADD_ALGORITHM
31 bool
32
33config ARCH_HAS_ILOG2_U32
34 def_bool n
35
36config ARCH_HAS_ILOG2_U64
37 def_bool n
38
39config GENERIC_FIND_NEXT_BIT
40 def_bool y
41
42config GENERIC_HWEIGHT
43 def_bool y
44
45config GENERIC_HARDIRQS
46 def_bool y
47
48config GENERIC_IRQ_PROBE
49 def_bool y
50
51config GENERIC_CALIBRATE_DELAY
52 def_bool y
53
54config GENERIC_TIME
55 def_bool y
56
57config GENERIC_TIME_VSYSCALL
58 def_bool n
59
60config GENERIC_CLOCKEVENTS
61 def_bool y
62
63config GENERIC_HARDIRQS_NO__DO_IRQ
64 def_bool y
65
Michal Simek6fa612b2009-05-11 15:49:12 +020066config GENERIC_GPIO
67 def_bool y
68
Remis Lima Baima14f87382009-06-18 19:55:32 +020069config GENERIC_CSUM
70 def_bool y
71
Michal Simek24b45a12009-11-10 15:57:01 +010072config STACKTRACE_SUPPORT
73 def_bool y
74
Michal Simekbf2d8092009-12-10 12:07:02 +010075config LOCKDEP_SUPPORT
76 def_bool y
77
Michal Simekfb5a32d2009-11-16 09:09:47 +010078config HAVE_LATENCYTOP_SUPPORT
79 def_bool y
80
Michal Simek575ca282009-03-27 14:25:50 +010081source "init/Kconfig"
82
83source "kernel/Kconfig.freezer"
84
85source "arch/microblaze/platform/Kconfig.platform"
86
87menu "Processor type and features"
88
Michal Simek296e2602010-01-12 11:05:49 +010089source "kernel/time/Kconfig"
Michal Simek575ca282009-03-27 14:25:50 +010090
91source "kernel/Kconfig.preempt"
92
93source "kernel/Kconfig.hz"
94
95config MMU
Michal Simeka116f6d2009-05-26 16:30:31 +020096 bool "MMU support"
97 default n
Michal Simek575ca282009-03-27 14:25:50 +010098
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
Michal Simek575ca282009-03-27 14:25:50 +0100127endmenu
128
Michal Simeka116f6d2009-05-26 16:30:31 +0200129menu "Advanced setup"
130
131config ADVANCED_OPTIONS
132 bool "Prompt for advanced kernel configuration options"
Michal Simeka116f6d2009-05-26 16:30:31 +0200133 help
134 This option will enable prompting for a variety of advanced kernel
135 configuration options. These options can cause the kernel to not
136 work if they are set incorrectly, but can be used to optimize certain
137 aspects of kernel memory management.
138
139 Unless you know what you are doing, say N here.
140
141comment "Default settings for advanced configuration options are used"
142 depends on !ADVANCED_OPTIONS
143
Michal Simek3a0d7a42010-02-22 12:16:08 +0100144config XILINX_UNCACHED_SHADOW
145 bool "Are you using uncached shadow for RAM ?"
146 depends on ADVANCED_OPTIONS && !MMU
147 default n
148 help
149 This is needed to be able to allocate uncachable memory regions.
150 The feature requires the design to define the RAM memory controller
151 window to be twice as large as the actual physical memory.
152
Michal Simeka116f6d2009-05-26 16:30:31 +0200153config HIGHMEM_START_BOOL
154 bool "Set high memory pool address"
155 depends on ADVANCED_OPTIONS && HIGHMEM
156 help
157 This option allows you to set the base address of the kernel virtual
158 area used to map high memory pages. This can be useful in
159 optimizing the layout of kernel virtual memory.
160
161 Say N here unless you know what you are doing.
162
163config HIGHMEM_START
164 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
165 depends on MMU
166 default "0xfe000000"
167
168config LOWMEM_SIZE_BOOL
169 bool "Set maximum low memory"
Michal Simekb8a84052010-02-22 11:33:07 +0100170 depends on ADVANCED_OPTIONS && MMU
Michal Simeka116f6d2009-05-26 16:30:31 +0200171 help
172 This option allows you to set the maximum amount of memory which
173 will be used as "low memory", that is, memory which the kernel can
174 access directly, without having to set up a kernel virtual mapping.
175 This can be useful in optimizing the layout of kernel virtual
176 memory.
177
178 Say N here unless you know what you are doing.
179
180config LOWMEM_SIZE
181 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
Michal Simeka116f6d2009-05-26 16:30:31 +0200182 default "0x30000000"
183
184config KERNEL_START_BOOL
185 bool "Set custom kernel base address"
186 depends on ADVANCED_OPTIONS
187 help
188 This option allows you to set the kernel virtual address at which
189 the kernel will map low memory (the kernel image will be linked at
190 this address). This can be useful in optimizing the virtual memory
191 layout of the system.
192
193 Say N here unless you know what you are doing.
194
195config KERNEL_START
196 hex "Virtual address of kernel base" if KERNEL_START_BOOL
197 default "0xc0000000" if MMU
198 default KERNEL_BASE_ADDR if !MMU
199
200config TASK_SIZE_BOOL
201 bool "Set custom user task size"
Michal Simekb8a84052010-02-22 11:33:07 +0100202 depends on ADVANCED_OPTIONS && MMU
Michal Simeka116f6d2009-05-26 16:30:31 +0200203 help
204 This option allows you to set the amount of virtual address space
205 allocated to user tasks. This can be useful in optimizing the
206 virtual memory layout of the system.
207
208 Say N here unless you know what you are doing.
209
210config TASK_SIZE
211 hex "Size of user task space" if TASK_SIZE_BOOL
Michal Simeka116f6d2009-05-26 16:30:31 +0200212 default "0x80000000"
213
Steven J. Magnaniba9c4f82010-05-13 10:48:27 -0500214choice
215 prompt "Page size"
216 default MICROBLAZE_4K_PAGES
217 depends on ADVANCED_OPTIONS && !MMU
218 help
219 Select the kernel logical page size. Increasing the page size
220 will reduce software overhead at each page boundary, allow
221 hardware prefetch mechanisms to be more effective, and allow
222 larger dma transfers increasing IO efficiency and reducing
223 overhead. However the utilization of memory will increase.
224 For example, each cached file will using a multiple of the
225 page size to hold its contents and the difference between the
226 end of file and the end of page is wasted.
227
228 If unsure, choose 4K_PAGES.
229
230config MICROBLAZE_4K_PAGES
231 bool "4k page size"
232
233config MICROBLAZE_8K_PAGES
234 bool "8k page size"
235
236config MICROBLAZE_16K_PAGES
237 bool "16k page size"
238
239config MICROBLAZE_32K_PAGES
240 bool "32k page size"
241
242endchoice
243
Michal Simeka116f6d2009-05-26 16:30:31 +0200244endmenu
245
Michal Simek575ca282009-03-27 14:25:50 +0100246source "mm/Kconfig"
247
248menu "Exectuable file formats"
249
250source "fs/Kconfig.binfmt"
251
252endmenu
253
Michal Simeka6475c12010-01-18 15:27:10 +0100254menu "Bus Options"
255
256config PCI
257 bool "PCI support"
258
259config PCI_DOMAINS
260 def_bool PCI
261
262config PCI_SYSCALL
263 def_bool PCI
264
Michal Simek733cc212010-01-18 15:27:11 +0100265config PCI_XILINX
266 bool "Xilinx PCI host bridge support"
267 depends on PCI
268
Michal Simeka6475c12010-01-18 15:27:10 +0100269source "drivers/pci/Kconfig"
270
271endmenu
272
Michal Simek575ca282009-03-27 14:25:50 +0100273source "net/Kconfig"
274
275source "drivers/Kconfig"
276
277source "fs/Kconfig"
278
279source "arch/microblaze/Kconfig.debug"
280
281source "security/Kconfig"
282
283source "crypto/Kconfig"
284
285source "lib/Kconfig"