• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1config 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
30config STACKTRACE_SUPPORT
31	def_bool y
32
33config LOCKDEP_SUPPORT
34	def_bool y
35
36config TRACE_IRQFLAGS_SUPPORT
37	def_bool y
38
39config RWSEM_GENERIC_SPINLOCK
40	def_bool y
41
42config RWSEM_XCHGADD_ALGORITHM
43	def_bool n
44
45config ARCH_HAS_ILOG2_U32
46	def_bool n
47
48config ARCH_HAS_ILOG2_U64
49	def_bool n
50
51config GENERIC_HWEIGHT
52	def_bool y
53
54config GENERIC_CALIBRATE_DELAY
55	def_bool y
56
57config GENERIC_BUG
58	def_bool y
59	depends on BUG
60
61source "init/Kconfig"
62
63source "kernel/Kconfig.freezer"
64
65menu "System Type and features"
66
67config SUBARCH_AVR32B
68	bool
69config MMU
70	bool
71config PERFORMANCE_COUNTERS
72	bool
73
74config 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
88config CPU_AT32AP700X
89	bool
90	select PLATFORM_AT32AP
91config CPU_AT32AP7000
92	bool
93	select CPU_AT32AP700X
94config CPU_AT32AP7001
95	bool
96	select CPU_AT32AP700X
97config CPU_AT32AP7002
98	bool
99	select CPU_AT32AP700X
100
101# AP700X boards
102config BOARD_ATNGW100_COMMON
103	bool
104	select CPU_AT32AP7000
105
106choice
107	prompt "AVR32 board type"
108	default BOARD_ATSTK1000
109
110config BOARD_ATSTK1000
111	bool "ATSTK1000 evaluation board"
112
113config BOARD_ATNGW100_MKI
114	bool "ATNGW100 Network Gateway"
115	select BOARD_ATNGW100_COMMON
116
117config BOARD_ATNGW100_MKII
118	bool "ATNGW100 mkII Network Gateway"
119	select BOARD_ATNGW100_COMMON
120
121config 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
139config BOARD_FAVR_32
140	bool "Favr-32 LCD-board"
141	select CPU_AT32AP7000
142
143config 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
156config BOARD_MIMC200
157	bool "MIMC200 CPU board"
158	select CPU_AT32AP7000
159endchoice
160
161source "arch/avr32/boards/atstk1000/Kconfig"
162source "arch/avr32/boards/atngw100/Kconfig"
163source "arch/avr32/boards/hammerhead/Kconfig"
164source "arch/avr32/boards/favr-32/Kconfig"
165source "arch/avr32/boards/merisc/Kconfig"
166
167choice
168	prompt "Boot loader type"
169	default LOADER_U_BOOT
170
171config	LOADER_U_BOOT
172	bool "U-Boot (or similar) bootloader"
173endchoice
174
175source "arch/avr32/mach-at32ap/Kconfig"
176
177config LOAD_ADDRESS
178	hex
179	default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
180
181config ENTRY_ADDRESS
182	hex
183	default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
184
185config PHYS_OFFSET
186	hex
187	default 0x10000000 if CPU_AT32AP700X=y
188
189source "kernel/Kconfig.preempt"
190
191config QUICKLIST
192	def_bool y
193
194config ARCH_HAVE_MEMORY_PRESENT
195	def_bool n
196
197config NEED_NODE_MEMMAP_SIZE
198	def_bool n
199
200config ARCH_FLATMEM_ENABLE
201	def_bool y
202
203config ARCH_DISCONTIGMEM_ENABLE
204	def_bool n
205
206config ARCH_SPARSEMEM_ENABLE
207	def_bool n
208
209config NODES_SHIFT
210	int
211	default "2"
212	depends on NEED_MULTIPLE_NODES
213
214source "mm/Kconfig"
215
216config 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
224config 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
236source "kernel/Kconfig.hz"
237
238config 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
246endmenu
247
248menu "Power management options"
249
250source "kernel/power/Kconfig"
251
252config ARCH_SUSPEND_POSSIBLE
253	def_bool y
254
255menu "CPU Frequency scaling"
256source "drivers/cpufreq/Kconfig"
257endmenu
258
259endmenu
260
261menu "Bus options"
262
263config PCI
264	bool
265
266source "drivers/pci/Kconfig"
267
268source "drivers/pcmcia/Kconfig"
269
270endmenu
271
272menu "Executable file formats"
273source "fs/Kconfig.binfmt"
274endmenu
275
276source "net/Kconfig"
277
278source "drivers/Kconfig"
279
280source "fs/Kconfig"
281
282source "arch/avr32/Kconfig.debug"
283
284source "security/Kconfig"
285
286source "crypto/Kconfig"
287
288source "lib/Kconfig"
289