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