Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux...
[linux-2.6/zen-sources.git] / arch / avr32 / Kconfig
blob6b5a3303985b3adf3666c0f290904988ba66abd2
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux Kernel Configuration"
8 source "Kconfig.zen"
10 menu "Standard Options"
12 config AVR32
13         def_bool y
14         # With EMBEDDED=n, we get lots of stuff automatically selected
15         # that we usually don't need on AVR32.
16         select EMBEDDED
17         select HAVE_OPROFILE
18         select HAVE_KPROBES
19         help
20           AVR32 is a high-performance 32-bit RISC microprocessor core,
21           designed for cost-sensitive embedded applications, with particular
22           emphasis on low power consumption and high code density.
24           There is an AVR32 Linux project with a web page at
25           http://avr32linux.org/.
27 config GENERIC_GPIO
28         def_bool y
30 config GENERIC_HARDIRQS
31         def_bool y
33 config STACKTRACE_SUPPORT
34         def_bool y
36 config LOCKDEP_SUPPORT
37         def_bool y
39 config TRACE_IRQFLAGS_SUPPORT
40         def_bool y
42 config HARDIRQS_SW_RESEND
43         def_bool y
45 config GENERIC_IRQ_PROBE
46         def_bool y
48 config RWSEM_GENERIC_SPINLOCK
49         def_bool y
51 config GENERIC_TIME
52         def_bool y
54 config RWSEM_XCHGADD_ALGORITHM
55         def_bool n
57 config ARCH_HAS_ILOG2_U32
58         def_bool n
60 config ARCH_HAS_ILOG2_U64
61         def_bool n
63 config GENERIC_HWEIGHT
64         def_bool y
66 config GENERIC_CALIBRATE_DELAY
67         def_bool y
69 config GENERIC_BUG
70         def_bool y
71         depends on BUG
73 source "init/Kconfig"
75 menu "System Type and features"
77 config SUBARCH_AVR32B
78         bool
79 config MMU
80         bool
81 config PERFORMANCE_COUNTERS
82         bool
84 config PLATFORM_AT32AP
85         bool
86         select SUBARCH_AVR32B
87         select MMU
88         select PERFORMANCE_COUNTERS
89         select HAVE_GPIO_LIB
92 # CPU types
95 # AP7000 derivatives
96 config CPU_AT32AP700X
97         bool
98         select PLATFORM_AT32AP
99 config CPU_AT32AP7000
100         bool
101         select CPU_AT32AP700X
102 config CPU_AT32AP7001
103         bool
104         select CPU_AT32AP700X
105 config CPU_AT32AP7002
106         bool
107         select CPU_AT32AP700X
109 choice
110         prompt "AVR32 board type"
111         default BOARD_ATSTK1000
113 config BOARD_ATSTK1000
114         bool "ATSTK1000 evaluation board"
116 config BOARD_ATNGW100
117         bool "ATNGW100 Network Gateway"
118         select CPU_AT32AP7000
119 endchoice
121 if BOARD_ATSTK1000
122 source "arch/avr32/boards/atstk1000/Kconfig"
123 endif
125 choice
126         prompt "Boot loader type"
127         default LOADER_U_BOOT
129 config  LOADER_U_BOOT
130         bool "U-Boot (or similar) bootloader"
131 endchoice
133 source "arch/avr32/mach-at32ap/Kconfig"
135 config LOAD_ADDRESS
136         hex
137         default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
139 config ENTRY_ADDRESS
140         hex
141         default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
143 config PHYS_OFFSET
144         hex
145         default 0x10000000 if CPU_AT32AP700X=y
147 source "kernel/Kconfig.preempt"
149 config HAVE_ARCH_BOOTMEM_NODE
150         def_bool n
152 config ARCH_HAVE_MEMORY_PRESENT
153         def_bool n
155 config NEED_NODE_MEMMAP_SIZE
156         def_bool n
158 config ARCH_FLATMEM_ENABLE
159         def_bool y
161 config ARCH_DISCONTIGMEM_ENABLE
162         def_bool n
164 config ARCH_SPARSEMEM_ENABLE
165         def_bool n
167 source "mm/Kconfig"
169 config OWNERSHIP_TRACE
170         bool "Ownership trace support"
171         default y
172         help
173           Say Y to generate an Ownership Trace message on every context switch,
174           enabling Nexus-compliant debuggers to keep track of the PID of the
175           currently executing task.
177 config NMI_DEBUGGING
178         bool "NMI Debugging"
179         default n
180         help
181           Say Y here and pass the nmi_debug command-line parameter to
182           the kernel to turn on NMI debugging. Depending on the value
183           of the nmi_debug option, various pieces of information will
184           be dumped to the console when a Non-Maskable Interrupt
185           happens.
187 # FPU emulation goes here
189 source "kernel/Kconfig.hz"
191 config CMDLINE
192         string "Default kernel command line"
193         default ""
194         help
195           If you don't have a boot loader capable of passing a command line string
196           to the kernel, you may specify one here. As a minimum, you should specify
197           the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
199 endmenu
201 menu "Power management options"
203 menu "CPU Frequency scaling"
205 source "drivers/cpufreq/Kconfig"
207 config CPU_FREQ_AT32AP
208         bool "CPU frequency driver for AT32AP"
209         depends on CPU_FREQ && PLATFORM_AT32AP
210         default n
211         help
212           This enables the CPU frequency driver for AT32AP processors.
214           For details, take a look in <file:Documentation/cpu-freq>.
216           If in doubt, say N.
218 endmenu
220 endmenu
222 menu "Bus options"
224 config PCI
225         bool
227 source "drivers/pci/Kconfig"
229 source "drivers/pcmcia/Kconfig"
231 endmenu
233 menu "Executable file formats"
234 source "fs/Kconfig.binfmt"
235 endmenu
237 source "net/Kconfig"
239 source "drivers/Kconfig"
241 source "fs/Kconfig"
243 source "arch/avr32/Kconfig.debug"
245 source "security/Kconfig"
247 source "crypto/Kconfig"
249 source "lib/Kconfig"
250 endmenu