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
22config UID16
23	bool
24
25config GENERIC_GPIO
26	bool
27	default y
28
29config 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
52config ARCH_HAS_ILOG2_U32
53	bool
54	default n
55
56config ARCH_HAS_ILOG2_U64
57	bool
58	default n
59
60config GENERIC_HWEIGHT
61	bool
62	default y
63
64config GENERIC_CALIBRATE_DELAY
65	bool
66	default y
67
68config GENERIC_BUG
69	bool
70	default y
71	depends on BUG
72
73source "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
111
112config BOARD_ATNGW100
113	bool "ATNGW100 Network Gateway"
114endchoice
115
116choice
117	prompt "Boot loader type"
118	default LOADER_U_BOOT
119
120config	LOADER_U_BOOT
121	bool "U-Boot (or similar) bootloader"
122endchoice
123
124source "arch/avr32/mach-at32ap/Kconfig"
125
126config LOAD_ADDRESS
127	hex
128	default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
129
130config ENTRY_ADDRESS
131	hex
132	default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
133
134config PHYS_OFFSET
135	hex
136	default 0x10000000 if CPU_AT32AP7000=y
137
138source "kernel/Kconfig.preempt"
139
140config HAVE_ARCH_BOOTMEM_NODE
141	bool
142	default n
143
144config ARCH_HAVE_MEMORY_PRESENT
145	bool
146	default n
147
148config NEED_NODE_MEMMAP_SIZE
149	bool
150	default n
151
152config ARCH_FLATMEM_ENABLE
153	bool
154	default y
155
156config ARCH_DISCONTIGMEM_ENABLE
157	bool
158	default n
159
160config ARCH_SPARSEMEM_ENABLE
161	bool
162	default n
163
164source "mm/Kconfig"
165
166config OWNERSHIP_TRACE
167	bool "Ownership trace support"
168	default y
169	help
170	  Say Y to generate an Ownership Trace message on every context switch,
171	  enabling Nexus-compliant debuggers to keep track of the PID of the
172	  currently executing task.
173
174# FPU emulation goes here
175
176source "kernel/Kconfig.hz"
177
178config CMDLINE
179	string "Default kernel command line"
180	default ""
181	help
182	  If you don't have a boot loader capable of passing a command line string
183	  to the kernel, you may specify one here. As a minimum, you should specify
184	  the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
185
186endmenu
187
188menu "Bus options"
189
190config PCI
191	bool
192
193source "drivers/pci/Kconfig"
194
195source "drivers/pcmcia/Kconfig"
196
197endmenu
198
199menu "Executable file formats"
200source "fs/Kconfig.binfmt"
201endmenu
202
203source "net/Kconfig"
204
205source "drivers/Kconfig"
206
207source "fs/Kconfig"
208
209source "arch/avr32/Kconfig.debug"
210
211source "security/Kconfig"
212
213source "crypto/Kconfig"
214
215source "lib/Kconfig"
216