blob: d12346aaa88bdb19a76c54f1bd876657571271fa [file] [log] [blame]
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07001#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6mainmenu "Linux Kernel Configuration"
7
8config 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
22config UID16
23 bool
24
David Brownell0a938b92007-03-05 00:30:18 -080025config GENERIC_GPIO
26 bool
27 default y
28
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070029config GENERIC_HARDIRQS
30 bool
31 default y
32
33config HARDIRQS_SW_RESEND
34 bool
35 default y
36
37config GENERIC_IRQ_PROBE
38 bool
39 default y
40
41config RWSEM_GENERIC_SPINLOCK
42 bool
43 default y
44
45config GENERIC_TIME
46 bool
47 default y
48
49config RWSEM_XCHGADD_ALGORITHM
50 bool
51
David Howellsf0d1b0b2006-12-08 02:37:49 -080052config ARCH_HAS_ILOG2_U32
53 bool
54 default n
55
56config ARCH_HAS_ILOG2_U64
57 bool
58 default n
59
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070060config GENERIC_HWEIGHT
61 bool
62 default y
63
64config GENERIC_CALIBRATE_DELAY
65 bool
66 default y
67
Haavard Skinnemoen623b0352007-03-13 17:59:11 +010068config GENERIC_BUG
69 bool
70 default y
71 depends on BUG
72
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070073source "init/Kconfig"
74
75menu "System Type and features"
76
77config SUBARCH_AVR32B
78 bool
79config MMU
80 bool
81config PERFORMANCE_COUNTERS
82 bool
83
84config PLATFORM_AT32AP
85 bool
86 select SUBARCH_AVR32B
87 select MMU
88 select PERFORMANCE_COUNTERS
89
90choice
91 prompt "AVR32 CPU type"
92 default CPU_AT32AP7000
93
94config CPU_AT32AP7000
95 bool "AT32AP7000"
96 select PLATFORM_AT32AP
97endchoice
98
99#
100# CPU Daughterboards for ATSTK1000
101config BOARD_ATSTK1002
102 bool
103
104choice
105 prompt "AVR32 board type"
106 default BOARD_ATSTK1000
107
108config BOARD_ATSTK1000
109 bool "ATSTK1000 evaluation board"
110 select BOARD_ATSTK1002 if CPU_AT32AP7000
Haavard Skinnemoen9ca20a82007-04-12 17:26:57 +0200111
112config BOARD_ATNGW100
113 bool "ATNGW100 Network Gateway"
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700114endchoice
115
David Brownella8e93ed2007-06-12 14:34:47 +0200116if BOARD_ATSTK1000
117source "arch/avr32/boards/atstk1000/Kconfig"
118endif
119
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700120choice
121 prompt "Boot loader type"
122 default LOADER_U_BOOT
123
124config LOADER_U_BOOT
125 bool "U-Boot (or similar) bootloader"
126endchoice
127
Haavard Skinnemoen228e8452007-03-07 15:24:34 +0100128source "arch/avr32/mach-at32ap/Kconfig"
129
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700130config LOAD_ADDRESS
131 hex
132 default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
133
134config ENTRY_ADDRESS
135 hex
136 default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
137
138config PHYS_OFFSET
139 hex
140 default 0x10000000 if CPU_AT32AP7000=y
141
142source "kernel/Kconfig.preempt"
143
144config HAVE_ARCH_BOOTMEM_NODE
145 bool
146 default n
147
148config ARCH_HAVE_MEMORY_PRESENT
149 bool
150 default n
151
152config NEED_NODE_MEMMAP_SIZE
153 bool
154 default n
155
156config ARCH_FLATMEM_ENABLE
157 bool
158 default y
159
160config ARCH_DISCONTIGMEM_ENABLE
161 bool
162 default n
163
164config ARCH_SPARSEMEM_ENABLE
165 bool
166 default n
167
168source "mm/Kconfig"
169
170config OWNERSHIP_TRACE
171 bool "Ownership trace support"
172 default y
173 help
174 Say Y to generate an Ownership Trace message on every context switch,
175 enabling Nexus-compliant debuggers to keep track of the PID of the
176 currently executing task.
177
178# FPU emulation goes here
179
180source "kernel/Kconfig.hz"
181
182config CMDLINE
183 string "Default kernel command line"
184 default ""
185 help
186 If you don't have a boot loader capable of passing a command line string
187 to the kernel, you may specify one here. As a minimum, you should specify
188 the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
189
190endmenu
191
Hans-Christian Egtvedt9e58e182007-06-04 16:10:57 +0200192menu "Power managment options"
193
194menu "CPU Frequency scaling"
195
196source "drivers/cpufreq/Kconfig"
197
198config CPU_FREQ_AT32AP
199 bool "CPU frequency driver for AT32AP"
200 depends on CPU_FREQ && PLATFORM_AT32AP
201 default n
202 help
203 This enables the CPU frequency driver for AT32AP processors.
204
205 For details, take a look in <file:Documentation/cpu-freq>.
206
207 If in doubt, say N.
208
209endmenu
210
211endmenu
212
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700213menu "Bus options"
214
215config PCI
216 bool
217
218source "drivers/pci/Kconfig"
219
220source "drivers/pcmcia/Kconfig"
221
222endmenu
223
224menu "Executable file formats"
225source "fs/Kconfig.binfmt"
226endmenu
227
228source "net/Kconfig"
229
230source "drivers/Kconfig"
231
232source "fs/Kconfig"
233
234source "arch/avr32/Kconfig.debug"
235
236source "security/Kconfig"
237
238source "crypto/Kconfig"
239
240source "lib/Kconfig"