blob: b46932c4f9f152284282b86779ae0867c692a814 [file] [log] [blame]
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07001#
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
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +01009 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070010 # With EMBEDDED=n, we get lots of stuff automatically selected
11 # that we usually don't need on AVR32.
12 select EMBEDDED
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050013 select HAVE_OPROFILE
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070014 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
David Brownell0a938b92007-03-05 00:30:18 -080022config GENERIC_GPIO
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010023 def_bool y
David Brownell0a938b92007-03-05 00:30:18 -080024
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070025config GENERIC_HARDIRQS
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010026 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070027
Haavard Skinnemoen2f026032007-11-23 20:01:59 +010028config STACKTRACE_SUPPORT
29 def_bool y
30
Haavard Skinnemoen320516b2007-11-26 14:34:57 +010031config LOCKDEP_SUPPORT
32 def_bool y
33
34config TRACE_IRQFLAGS_SUPPORT
35 def_bool y
36
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070037config HARDIRQS_SW_RESEND
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010038 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070039
40config GENERIC_IRQ_PROBE
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010041 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070042
43config RWSEM_GENERIC_SPINLOCK
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010044 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070045
46config GENERIC_TIME
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010047 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070048
49config RWSEM_XCHGADD_ALGORITHM
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010050 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070051
David Howellsf0d1b0b2006-12-08 02:37:49 -080052config ARCH_HAS_ILOG2_U32
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010053 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080054
55config ARCH_HAS_ILOG2_U64
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010056 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080057
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070058config GENERIC_HWEIGHT
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010059 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070060
61config GENERIC_CALIBRATE_DELAY
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010062 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070063
Haavard Skinnemoen623b0352007-03-13 17:59:11 +010064config GENERIC_BUG
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010065 def_bool y
Haavard Skinnemoen623b0352007-03-13 17:59:11 +010066 depends on BUG
67
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070068source "init/Kconfig"
69
70menu "System Type and features"
71
72config SUBARCH_AVR32B
73 bool
74config MMU
75 bool
76config PERFORMANCE_COUNTERS
77 bool
78
79config PLATFORM_AT32AP
80 bool
81 select SUBARCH_AVR32B
82 select MMU
83 select PERFORMANCE_COUNTERS
84
Haavard Skinnemoene8897bf2007-11-29 11:15:15 +010085#
86# CPU types
87#
88
89# AP7000 derivatives
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +010090config CPU_AT32AP700X
91 bool
92 select PLATFORM_AT32AP
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070093config CPU_AT32AP7000
Haavard Skinnemoene8897bf2007-11-29 11:15:15 +010094 bool
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +010095 select CPU_AT32AP700X
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +010096config CPU_AT32AP7001
Haavard Skinnemoene8897bf2007-11-29 11:15:15 +010097 bool
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +010098 select CPU_AT32AP700X
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +010099config CPU_AT32AP7002
Haavard Skinnemoene8897bf2007-11-29 11:15:15 +0100100 bool
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100101 select CPU_AT32AP700X
102
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700103choice
104 prompt "AVR32 board type"
105 default BOARD_ATSTK1000
106
107config BOARD_ATSTK1000
108 bool "ATSTK1000 evaluation board"
Haavard Skinnemoen9ca20a82007-04-12 17:26:57 +0200109
110config BOARD_ATNGW100
111 bool "ATNGW100 Network Gateway"
Haavard Skinnemoene8897bf2007-11-29 11:15:15 +0100112 select CPU_AT32AP7000
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700113endchoice
114
David Brownella8e93ed2007-06-12 14:34:47 +0200115if BOARD_ATSTK1000
116source "arch/avr32/boards/atstk1000/Kconfig"
117endif
118
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700119choice
120 prompt "Boot loader type"
121 default LOADER_U_BOOT
122
123config LOADER_U_BOOT
124 bool "U-Boot (or similar) bootloader"
125endchoice
126
Haavard Skinnemoen228e8452007-03-07 15:24:34 +0100127source "arch/avr32/mach-at32ap/Kconfig"
128
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700129config LOAD_ADDRESS
130 hex
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100131 default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700132
133config ENTRY_ADDRESS
134 hex
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100135 default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700136
137config PHYS_OFFSET
138 hex
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100139 default 0x10000000 if CPU_AT32AP700X=y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700140
141source "kernel/Kconfig.preempt"
142
143config HAVE_ARCH_BOOTMEM_NODE
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100144 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700145
146config ARCH_HAVE_MEMORY_PRESENT
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100147 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700148
149config NEED_NODE_MEMMAP_SIZE
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100150 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700151
152config ARCH_FLATMEM_ENABLE
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100153 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700154
155config ARCH_DISCONTIGMEM_ENABLE
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100156 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700157
158config ARCH_SPARSEMEM_ENABLE
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100159 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700160
161source "mm/Kconfig"
162
163config OWNERSHIP_TRACE
164 bool "Ownership trace support"
165 default y
166 help
167 Say Y to generate an Ownership Trace message on every context switch,
168 enabling Nexus-compliant debuggers to keep track of the PID of the
169 currently executing task.
170
Haavard Skinnemoene7ba1762007-10-10 14:58:29 +0200171config NMI_DEBUGGING
172 bool "NMI Debugging"
173 default n
174 help
175 Say Y here and pass the nmi_debug command-line parameter to
176 the kernel to turn on NMI debugging. Depending on the value
177 of the nmi_debug option, various pieces of information will
178 be dumped to the console when a Non-Maskable Interrupt
179 happens.
180
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700181# FPU emulation goes here
182
183source "kernel/Kconfig.hz"
184
185config CMDLINE
186 string "Default kernel command line"
187 default ""
188 help
189 If you don't have a boot loader capable of passing a command line string
190 to the kernel, you may specify one here. As a minimum, you should specify
191 the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
192
193endmenu
194
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200195menu "Power management options"
Hans-Christian Egtvedt9e58e182007-06-04 16:10:57 +0200196
197menu "CPU Frequency scaling"
198
199source "drivers/cpufreq/Kconfig"
200
201config CPU_FREQ_AT32AP
202 bool "CPU frequency driver for AT32AP"
203 depends on CPU_FREQ && PLATFORM_AT32AP
204 default n
205 help
206 This enables the CPU frequency driver for AT32AP processors.
207
208 For details, take a look in <file:Documentation/cpu-freq>.
209
210 If in doubt, say N.
211
212endmenu
213
214endmenu
215
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700216menu "Bus options"
217
218config PCI
219 bool
220
221source "drivers/pci/Kconfig"
222
223source "drivers/pcmcia/Kconfig"
224
225endmenu
226
227menu "Executable file formats"
228source "fs/Kconfig.binfmt"
229endmenu
230
231source "net/Kconfig"
232
233source "drivers/Kconfig"
234
235source "fs/Kconfig"
236
Haavard Skinnemoena7f5bf92007-10-31 15:22:34 +0100237source "kernel/Kconfig.instrumentation"
238
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700239source "arch/avr32/Kconfig.debug"
240
241source "security/Kconfig"
242
243source "crypto/Kconfig"
244
245source "lib/Kconfig"