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