]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - arch/avr32/Kconfig
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[mirror_ubuntu-zesty-kernel.git] / arch / avr32 / Kconfig
1 config AVR32
2 def_bool y
3 # With EXPERT=n, we get lots of stuff automatically selected
4 # that we usually don't need on AVR32.
5 select EXPERT
6 select HAVE_CLK
7 select HAVE_EXIT_THREAD
8 select HAVE_OPROFILE
9 select HAVE_KPROBES
10 select VIRT_TO_BUS
11 select GENERIC_IRQ_PROBE
12 select GENERIC_ATOMIC64
13 select HARDIRQS_SW_RESEND
14 select GENERIC_IRQ_SHOW
15 select ARCH_HAVE_CUSTOM_GPIO_H
16 select ARCH_WANT_IPC_PARSE_VERSION
17 select ARCH_HAVE_NMI_SAFE_CMPXCHG
18 select GENERIC_CLOCKEVENTS
19 select HAVE_MOD_ARCH_SPECIFIC
20 select MODULES_USE_ELF_RELA
21 select HAVE_NMI
22 help
23 AVR32 is a high-performance 32-bit RISC microprocessor core,
24 designed for cost-sensitive embedded applications, with particular
25 emphasis on low power consumption and high code density.
26
27 There is an AVR32 Linux project with a web page at
28 http://avr32linux.org/.
29
30 config STACKTRACE_SUPPORT
31 def_bool y
32
33 config LOCKDEP_SUPPORT
34 def_bool y
35
36 config TRACE_IRQFLAGS_SUPPORT
37 def_bool y
38
39 config RWSEM_GENERIC_SPINLOCK
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 source "kernel/Kconfig.freezer"
64
65 menu "System Type and features"
66
67 config SUBARCH_AVR32B
68 bool
69 config MMU
70 bool
71 config PERFORMANCE_COUNTERS
72 bool
73
74 config PLATFORM_AT32AP
75 bool
76 select SUBARCH_AVR32B
77 select MMU
78 select PERFORMANCE_COUNTERS
79 select GPIOLIB
80 select GENERIC_ALLOCATOR
81 select HAVE_FB_ATMEL
82
83 #
84 # CPU types
85 #
86
87 # AP7000 derivatives
88 config CPU_AT32AP700X
89 bool
90 select PLATFORM_AT32AP
91 config CPU_AT32AP7000
92 bool
93 select CPU_AT32AP700X
94 config CPU_AT32AP7001
95 bool
96 select CPU_AT32AP700X
97 config CPU_AT32AP7002
98 bool
99 select CPU_AT32AP700X
100
101 # AP700X boards
102 config BOARD_ATNGW100_COMMON
103 bool
104 select CPU_AT32AP7000
105
106 choice
107 prompt "AVR32 board type"
108 default BOARD_ATSTK1000
109
110 config BOARD_ATSTK1000
111 bool "ATSTK1000 evaluation board"
112
113 config BOARD_ATNGW100_MKI
114 bool "ATNGW100 Network Gateway"
115 select BOARD_ATNGW100_COMMON
116
117 config BOARD_ATNGW100_MKII
118 bool "ATNGW100 mkII Network Gateway"
119 select BOARD_ATNGW100_COMMON
120
121 config BOARD_HAMMERHEAD
122 bool "Hammerhead board"
123 select CPU_AT32AP7000
124 select USB_ARCH_HAS_HCD
125 help
126 The Hammerhead platform is built around an AVR32 32-bit microcontroller from Atmel.
127 It offers versatile peripherals, such as ethernet, usb device, usb host etc.
128
129 The board also incorporates a power supply and is a Power over Ethernet (PoE) Powered
130 Device (PD).
131
132 Additionally, a Cyclone III FPGA from Altera is integrated on the board. The FPGA is
133 mapped into the 32-bit AVR memory bus. The FPGA offers two DDR2 SDRAM interfaces, which
134 will cover even the most exceptional need of memory bandwidth. Together with the onboard
135 video decoder the board is ready for video processing.
136
137 For more information see: http://www.miromico.ch/index.php/hammerhead.html
138
139 config BOARD_FAVR_32
140 bool "Favr-32 LCD-board"
141 select CPU_AT32AP7000
142
143 config BOARD_MERISC
144 bool "Merisc board"
145 select CPU_AT32AP7000
146 help
147 Merisc is the family name for a range of AVR32-based boards.
148
149 The boards are designed to be used in a man-machine
150 interfacing environment, utilizing a touch-based graphical
151 user interface. They host a vast range of I/O peripherals as
152 well as a large SDRAM & Flash memory bank.
153
154 For more information see: http://www.martinsson.se/merisc
155
156 config BOARD_MIMC200
157 bool "MIMC200 CPU board"
158 select CPU_AT32AP7000
159 endchoice
160
161 source "arch/avr32/boards/atstk1000/Kconfig"
162 source "arch/avr32/boards/atngw100/Kconfig"
163 source "arch/avr32/boards/hammerhead/Kconfig"
164 source "arch/avr32/boards/favr-32/Kconfig"
165 source "arch/avr32/boards/merisc/Kconfig"
166
167 choice
168 prompt "Boot loader type"
169 default LOADER_U_BOOT
170
171 config LOADER_U_BOOT
172 bool "U-Boot (or similar) bootloader"
173 endchoice
174
175 source "arch/avr32/mach-at32ap/Kconfig"
176
177 config LOAD_ADDRESS
178 hex
179 default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
180
181 config ENTRY_ADDRESS
182 hex
183 default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
184
185 config PHYS_OFFSET
186 hex
187 default 0x10000000 if CPU_AT32AP700X=y
188
189 source "kernel/Kconfig.preempt"
190
191 config QUICKLIST
192 def_bool y
193
194 config ARCH_HAVE_MEMORY_PRESENT
195 def_bool n
196
197 config NEED_NODE_MEMMAP_SIZE
198 def_bool n
199
200 config ARCH_FLATMEM_ENABLE
201 def_bool y
202
203 config ARCH_DISCONTIGMEM_ENABLE
204 def_bool n
205
206 config ARCH_SPARSEMEM_ENABLE
207 def_bool n
208
209 config NODES_SHIFT
210 int
211 default "2"
212 depends on NEED_MULTIPLE_NODES
213
214 source "mm/Kconfig"
215
216 config OWNERSHIP_TRACE
217 bool "Ownership trace support"
218 default y
219 help
220 Say Y to generate an Ownership Trace message on every context switch,
221 enabling Nexus-compliant debuggers to keep track of the PID of the
222 currently executing task.
223
224 config NMI_DEBUGGING
225 bool "NMI Debugging"
226 default n
227 help
228 Say Y here and pass the nmi_debug command-line parameter to
229 the kernel to turn on NMI debugging. Depending on the value
230 of the nmi_debug option, various pieces of information will
231 be dumped to the console when a Non-Maskable Interrupt
232 happens.
233
234 # FPU emulation goes here
235
236 source "kernel/Kconfig.hz"
237
238 config CMDLINE
239 string "Default kernel command line"
240 default ""
241 help
242 If you don't have a boot loader capable of passing a command line string
243 to the kernel, you may specify one here. As a minimum, you should specify
244 the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
245
246 endmenu
247
248 menu "Power management options"
249
250 source "kernel/power/Kconfig"
251
252 config ARCH_SUSPEND_POSSIBLE
253 def_bool y
254
255 menu "CPU Frequency scaling"
256 source "drivers/cpufreq/Kconfig"
257 endmenu
258
259 endmenu
260
261 menu "Bus options"
262
263 config PCI
264 bool
265
266 source "drivers/pci/Kconfig"
267
268 source "drivers/pcmcia/Kconfig"
269
270 endmenu
271
272 menu "Executable file formats"
273 source "fs/Kconfig.binfmt"
274 endmenu
275
276 source "net/Kconfig"
277
278 source "drivers/Kconfig"
279
280 source "fs/Kconfig"
281
282 source "arch/avr32/Kconfig.debug"
283
284 source "security/Kconfig"
285
286 source "crypto/Kconfig"
287
288 source "lib/Kconfig"