blob: 203ec61c6d4cf79c9d632aa33b36107218215c37 [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
8 select HAVE_LMB
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 Simekccfe27d2010-01-14 11:21:02 +010017 select HAVE_DMA_ATTRS
18 select HAVE_DMA_API_DEBUG
John Williams3540ce82009-11-24 20:27:54 +100019 select TRACING_SUPPORT
Michal Simek575ca282009-03-27 14:25:50 +010020
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
Michal Simek6fa612b2009-05-11 15:49:12 +020063config GENERIC_GPIO
64 def_bool y
65
Remis Lima Baima14f87382009-06-18 19:55:32 +020066config GENERIC_CSUM
67 def_bool y
68
Michal Simek24b45a12009-11-10 15:57:01 +010069config STACKTRACE_SUPPORT
70 def_bool y
71
Michal Simekbf2d8092009-12-10 12:07:02 +010072config LOCKDEP_SUPPORT
73 def_bool y
74
Michal Simekfb5a32d2009-11-16 09:09:47 +010075config HAVE_LATENCYTOP_SUPPORT
76 def_bool y
77
Michal Simek575ca282009-03-27 14:25:50 +010078config PCI
Michal Simek575ca282009-03-27 14:25:50 +010079 def_bool n
80
Michal Simek3c5e5672009-11-30 09:26:09 +010081config DTC
82 def_bool y
83
Michal Simek575ca282009-03-27 14:25:50 +010084source "init/Kconfig"
85
86source "kernel/Kconfig.freezer"
87
88source "arch/microblaze/platform/Kconfig.platform"
89
90menu "Processor type and features"
91
Michal Simek296e2602010-01-12 11:05:49 +010092source "kernel/time/Kconfig"
Michal Simek575ca282009-03-27 14:25:50 +010093
94source "kernel/Kconfig.preempt"
95
96source "kernel/Kconfig.hz"
97
98config MMU
Michal Simeka116f6d2009-05-26 16:30:31 +020099 bool "MMU support"
100 default n
Michal Simek575ca282009-03-27 14:25:50 +0100101
102config NO_MMU
103 bool
104 depends on !MMU
105 default y
106
107comment "Boot options"
108
109config CMDLINE_BOOL
110 bool "Default bootloader kernel arguments"
111
112config CMDLINE
113 string "Default kernel command string"
114 depends on CMDLINE_BOOL
115 default "console=ttyUL0,115200"
116 help
117 On some architectures there is currently no way for the boot loader
118 to pass arguments to the kernel. For these architectures, you should
119 supply some command-line options at build time by entering them
120 here.
121
122config CMDLINE_FORCE
123 bool "Force default kernel command string"
124 depends on CMDLINE_BOOL
125 default n
126 help
127 Set this to have arguments from the default kernel command string
128 override those passed by the boot loader.
129
130config OF
131 def_bool y
Grant Likelye169cfb2009-11-23 14:53:09 -0700132 select OF_FLATTREE
Michal Simek575ca282009-03-27 14:25:50 +0100133
Michal Simek575ca282009-03-27 14:25:50 +0100134config PROC_DEVICETREE
135 bool "Support for device tree in /proc"
136 depends on PROC_FS
137 help
138 This option adds a device-tree directory under /proc which contains
139 an image of the device tree that the kernel copies from Open
140 Firmware or other boot firmware. If unsure, say Y here.
141
142endmenu
143
Michal Simeka116f6d2009-05-26 16:30:31 +0200144menu "Advanced setup"
145
146config ADVANCED_OPTIONS
147 bool "Prompt for advanced kernel configuration options"
Michal Simeka116f6d2009-05-26 16:30:31 +0200148 help
149 This option will enable prompting for a variety of advanced kernel
150 configuration options. These options can cause the kernel to not
151 work if they are set incorrectly, but can be used to optimize certain
152 aspects of kernel memory management.
153
154 Unless you know what you are doing, say N here.
155
156comment "Default settings for advanced configuration options are used"
157 depends on !ADVANCED_OPTIONS
158
Michal Simek3a0d7a42010-02-22 12:16:08 +0100159config XILINX_UNCACHED_SHADOW
160 bool "Are you using uncached shadow for RAM ?"
161 depends on ADVANCED_OPTIONS && !MMU
162 default n
163 help
164 This is needed to be able to allocate uncachable memory regions.
165 The feature requires the design to define the RAM memory controller
166 window to be twice as large as the actual physical memory.
167
Michal Simeka116f6d2009-05-26 16:30:31 +0200168config HIGHMEM_START_BOOL
169 bool "Set high memory pool address"
170 depends on ADVANCED_OPTIONS && HIGHMEM
171 help
172 This option allows you to set the base address of the kernel virtual
173 area used to map high memory pages. This can be useful in
174 optimizing the layout of kernel virtual memory.
175
176 Say N here unless you know what you are doing.
177
178config HIGHMEM_START
179 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
180 depends on MMU
181 default "0xfe000000"
182
183config LOWMEM_SIZE_BOOL
184 bool "Set maximum low memory"
Michal Simekb8a84052010-02-22 11:33:07 +0100185 depends on ADVANCED_OPTIONS && MMU
Michal Simeka116f6d2009-05-26 16:30:31 +0200186 help
187 This option allows you to set the maximum amount of memory which
188 will be used as "low memory", that is, memory which the kernel can
189 access directly, without having to set up a kernel virtual mapping.
190 This can be useful in optimizing the layout of kernel virtual
191 memory.
192
193 Say N here unless you know what you are doing.
194
195config LOWMEM_SIZE
196 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
Michal Simeka116f6d2009-05-26 16:30:31 +0200197 default "0x30000000"
198
199config KERNEL_START_BOOL
200 bool "Set custom kernel base address"
201 depends on ADVANCED_OPTIONS
202 help
203 This option allows you to set the kernel virtual address at which
204 the kernel will map low memory (the kernel image will be linked at
205 this address). This can be useful in optimizing the virtual memory
206 layout of the system.
207
208 Say N here unless you know what you are doing.
209
210config KERNEL_START
211 hex "Virtual address of kernel base" if KERNEL_START_BOOL
212 default "0xc0000000" if MMU
213 default KERNEL_BASE_ADDR if !MMU
214
215config TASK_SIZE_BOOL
216 bool "Set custom user task size"
Michal Simekb8a84052010-02-22 11:33:07 +0100217 depends on ADVANCED_OPTIONS && MMU
Michal Simeka116f6d2009-05-26 16:30:31 +0200218 help
219 This option allows you to set the amount of virtual address space
220 allocated to user tasks. This can be useful in optimizing the
221 virtual memory layout of the system.
222
223 Say N here unless you know what you are doing.
224
225config TASK_SIZE
226 hex "Size of user task space" if TASK_SIZE_BOOL
Michal Simeka116f6d2009-05-26 16:30:31 +0200227 default "0x80000000"
228
Michal Simeka116f6d2009-05-26 16:30:31 +0200229endmenu
230
Michal Simek575ca282009-03-27 14:25:50 +0100231source "mm/Kconfig"
232
233menu "Exectuable file formats"
234
235source "fs/Kconfig.binfmt"
236
237endmenu
238
Michal Simeka6475c12010-01-18 15:27:10 +0100239menu "Bus Options"
240
241config PCI
242 bool "PCI support"
243
244config PCI_DOMAINS
245 def_bool PCI
246
247config PCI_SYSCALL
248 def_bool PCI
249
Michal Simek733cc212010-01-18 15:27:11 +0100250config PCI_XILINX
251 bool "Xilinx PCI host bridge support"
252 depends on PCI
253
Michal Simeka6475c12010-01-18 15:27:10 +0100254source "drivers/pci/Kconfig"
255
256endmenu
257
Michal Simek575ca282009-03-27 14:25:50 +0100258source "net/Kconfig"
259
260source "drivers/Kconfig"
261
262source "fs/Kconfig"
263
264source "arch/microblaze/Kconfig.debug"
265
266source "security/Kconfig"
267
268source "crypto/Kconfig"
269
270source "lib/Kconfig"