Add HAVE_KPROBES
[safe/jmp/linux-2.6] / arch / avr32 / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "Linux Kernel Configuration"
7
8 config AVR32
9         def_bool y
10         # With EMBEDDED=n, we get lots of stuff automatically selected
11         # that we usually don't need on AVR32.
12         select EMBEDDED
13         select HAVE_OPROFILE
14         select HAVE_KPROBES
15         help
16           AVR32 is a high-performance 32-bit RISC microprocessor core,
17           designed for cost-sensitive embedded applications, with particular
18           emphasis on low power consumption and high code density.
19
20           There is an AVR32 Linux project with a web page at
21           http://avr32linux.org/.
22
23 config GENERIC_GPIO
24         def_bool y
25
26 config GENERIC_HARDIRQS
27         def_bool y
28
29 config STACKTRACE_SUPPORT
30         def_bool y
31
32 config LOCKDEP_SUPPORT
33         def_bool y
34
35 config TRACE_IRQFLAGS_SUPPORT
36         def_bool y
37
38 config HARDIRQS_SW_RESEND
39         def_bool y
40
41 config GENERIC_IRQ_PROBE
42         def_bool y
43
44 config RWSEM_GENERIC_SPINLOCK
45         def_bool y
46
47 config GENERIC_TIME
48         def_bool y
49
50 config RWSEM_XCHGADD_ALGORITHM
51         def_bool n
52
53 config ARCH_HAS_ILOG2_U32
54         def_bool n
55
56 config ARCH_HAS_ILOG2_U64
57         def_bool n
58
59 config GENERIC_HWEIGHT
60         def_bool y
61
62 config GENERIC_CALIBRATE_DELAY
63         def_bool y
64
65 config GENERIC_BUG
66         def_bool y
67         depends on BUG
68
69 source "init/Kconfig"
70
71 menu "System Type and features"
72
73 config SUBARCH_AVR32B
74         bool
75 config MMU
76         bool
77 config PERFORMANCE_COUNTERS
78         bool
79
80 config PLATFORM_AT32AP
81         bool
82         select SUBARCH_AVR32B
83         select MMU
84         select PERFORMANCE_COUNTERS
85
86 #
87 # CPU types
88 #
89
90 # AP7000 derivatives
91 config CPU_AT32AP700X
92         bool
93         select PLATFORM_AT32AP
94 config CPU_AT32AP7000
95         bool
96         select CPU_AT32AP700X
97 config CPU_AT32AP7001
98         bool
99         select CPU_AT32AP700X
100 config CPU_AT32AP7002
101         bool
102         select CPU_AT32AP700X
103
104 choice
105         prompt "AVR32 board type"
106         default BOARD_ATSTK1000
107
108 config BOARD_ATSTK1000
109         bool "ATSTK1000 evaluation board"
110
111 config BOARD_ATNGW100
112         bool "ATNGW100 Network Gateway"
113         select CPU_AT32AP7000
114 endchoice
115
116 if BOARD_ATSTK1000
117 source "arch/avr32/boards/atstk1000/Kconfig"
118 endif
119
120 choice
121         prompt "Boot loader type"
122         default LOADER_U_BOOT
123
124 config  LOADER_U_BOOT
125         bool "U-Boot (or similar) bootloader"
126 endchoice
127
128 source "arch/avr32/mach-at32ap/Kconfig"
129
130 config LOAD_ADDRESS
131         hex
132         default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
133
134 config ENTRY_ADDRESS
135         hex
136         default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
137
138 config PHYS_OFFSET
139         hex
140         default 0x10000000 if CPU_AT32AP700X=y
141
142 source "kernel/Kconfig.preempt"
143
144 config HAVE_ARCH_BOOTMEM_NODE
145         def_bool n
146
147 config ARCH_HAVE_MEMORY_PRESENT
148         def_bool n
149
150 config NEED_NODE_MEMMAP_SIZE
151         def_bool n
152
153 config ARCH_FLATMEM_ENABLE
154         def_bool y
155
156 config ARCH_DISCONTIGMEM_ENABLE
157         def_bool n
158
159 config ARCH_SPARSEMEM_ENABLE
160         def_bool n
161
162 source "mm/Kconfig"
163
164 config OWNERSHIP_TRACE
165         bool "Ownership trace support"
166         default y
167         help
168           Say Y to generate an Ownership Trace message on every context switch,
169           enabling Nexus-compliant debuggers to keep track of the PID of the
170           currently executing task.
171
172 config NMI_DEBUGGING
173         bool "NMI Debugging"
174         default n
175         help
176           Say Y here and pass the nmi_debug command-line parameter to
177           the kernel to turn on NMI debugging. Depending on the value
178           of the nmi_debug option, various pieces of information will
179           be dumped to the console when a Non-Maskable Interrupt
180           happens.
181
182 # FPU emulation goes here
183
184 source "kernel/Kconfig.hz"
185
186 config CMDLINE
187         string "Default kernel command line"
188         default ""
189         help
190           If you don't have a boot loader capable of passing a command line string
191           to the kernel, you may specify one here. As a minimum, you should specify
192           the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
193
194 endmenu
195
196 menu "Power management options"
197
198 menu "CPU Frequency scaling"
199
200 source "drivers/cpufreq/Kconfig"
201
202 config CPU_FREQ_AT32AP
203         bool "CPU frequency driver for AT32AP"
204         depends on CPU_FREQ && PLATFORM_AT32AP
205         default n
206         help
207           This enables the CPU frequency driver for AT32AP processors.
208
209           For details, take a look in <file:Documentation/cpu-freq>.
210
211           If in doubt, say N.
212
213 endmenu
214
215 endmenu
216
217 menu "Bus options"
218
219 config PCI
220         bool
221
222 source "drivers/pci/Kconfig"
223
224 source "drivers/pcmcia/Kconfig"
225
226 endmenu
227
228 menu "Executable file formats"
229 source "fs/Kconfig.binfmt"
230 endmenu
231
232 source "net/Kconfig"
233
234 source "drivers/Kconfig"
235
236 source "fs/Kconfig"
237
238 source "kernel/Kconfig.instrumentation"
239
240 source "arch/avr32/Kconfig.debug"
241
242 source "security/Kconfig"
243
244 source "crypto/Kconfig"
245
246 source "lib/Kconfig"