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