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