]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/avr32/Kconfig
[AVR32] Fix invalid status register bit definitions in asm/ptrace.h
[mirror_ubuntu-artful-kernel.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
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
0a938b97
DB
22config GENERIC_GPIO
23 bool
24 default y
25
5f97f7f9
HS
26config GENERIC_HARDIRQS
27 bool
28 default y
29
30config HARDIRQS_SW_RESEND
31 bool
32 default y
33
34config GENERIC_IRQ_PROBE
35 bool
36 default y
37
38config RWSEM_GENERIC_SPINLOCK
39 bool
40 default y
41
42config GENERIC_TIME
43 bool
44 default y
45
46config RWSEM_XCHGADD_ALGORITHM
47 bool
48
f0d1b0b3
DH
49config ARCH_HAS_ILOG2_U32
50 bool
51 default n
52
53config ARCH_HAS_ILOG2_U64
54 bool
55 default n
56
5f97f7f9
HS
57config GENERIC_HWEIGHT
58 bool
59 default y
60
61config GENERIC_CALIBRATE_DELAY
62 bool
63 default y
64
623b0355
HS
65config GENERIC_BUG
66 bool
67 default y
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
87choice
88 prompt "AVR32 CPU type"
89 default CPU_AT32AP7000
90
91config CPU_AT32AP7000
92 bool "AT32AP7000"
93 select PLATFORM_AT32AP
94endchoice
95
96#
97# CPU Daughterboards for ATSTK1000
98config BOARD_ATSTK1002
99 bool
100
101choice
102 prompt "AVR32 board type"
103 default BOARD_ATSTK1000
104
105config BOARD_ATSTK1000
106 bool "ATSTK1000 evaluation board"
107 select BOARD_ATSTK1002 if CPU_AT32AP7000
9ca20a83
HS
108
109config BOARD_ATNGW100
110 bool "ATNGW100 Network Gateway"
5f97f7f9
HS
111endchoice
112
a8e93ed8
DB
113if BOARD_ATSTK1000
114source "arch/avr32/boards/atstk1000/Kconfig"
115endif
116
5f97f7f9
HS
117choice
118 prompt "Boot loader type"
119 default LOADER_U_BOOT
120
121config LOADER_U_BOOT
122 bool "U-Boot (or similar) bootloader"
123endchoice
124
228e845f
HS
125source "arch/avr32/mach-at32ap/Kconfig"
126
5f97f7f9
HS
127config LOAD_ADDRESS
128 hex
129 default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
130
131config ENTRY_ADDRESS
132 hex
133 default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
134
135config PHYS_OFFSET
136 hex
137 default 0x10000000 if CPU_AT32AP7000=y
138
139source "kernel/Kconfig.preempt"
140
141config HAVE_ARCH_BOOTMEM_NODE
142 bool
143 default n
144
145config ARCH_HAVE_MEMORY_PRESENT
146 bool
147 default n
148
149config NEED_NODE_MEMMAP_SIZE
150 bool
151 default n
152
153config ARCH_FLATMEM_ENABLE
154 bool
155 default y
156
157config ARCH_DISCONTIGMEM_ENABLE
158 bool
159 default n
160
161config ARCH_SPARSEMEM_ENABLE
162 bool
163 default n
164
165source "mm/Kconfig"
166
167config 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
177source "kernel/Kconfig.hz"
178
179config 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
187endmenu
188
01dd2fbf 189menu "Power management options"
9e58e185
HCE
190
191menu "CPU Frequency scaling"
192
193source "drivers/cpufreq/Kconfig"
194
195config 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
206endmenu
207
208endmenu
209
5f97f7f9
HS
210menu "Bus options"
211
212config PCI
213 bool
214
215source "drivers/pci/Kconfig"
216
217source "drivers/pcmcia/Kconfig"
218
219endmenu
220
221menu "Executable file formats"
222source "fs/Kconfig.binfmt"
223endmenu
224
225source "net/Kconfig"
226
227source "drivers/Kconfig"
228
229source "fs/Kconfig"
230
231source "arch/avr32/Kconfig.debug"
232
233source "security/Kconfig"
234
235source "crypto/Kconfig"
236
237source "lib/Kconfig"