[AVR32] Kconfig: Use def_bool instead of bool + default
[safe/jmp/linux-2.6] / arch / avr32 / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "Linux Kernel Configuration"
7
8 config AVR32
9         def_bool y
10         # With EMBEDDED=n, we get lots of stuff automatically selected
11         # that we usually don't need on AVR32.
12         select EMBEDDED
13         help
14           AVR32 is a high-performance 32-bit RISC microprocessor core,
15           designed for cost-sensitive embedded applications, with particular
16           emphasis on low power consumption and high code density.
17
18           There is an AVR32 Linux project with a web page at
19           http://avr32linux.org/.
20
21 config GENERIC_GPIO
22         def_bool y
23
24 config GENERIC_HARDIRQS
25         def_bool y
26
27 config HARDIRQS_SW_RESEND
28         def_bool y
29
30 config GENERIC_IRQ_PROBE
31         def_bool y
32
33 config RWSEM_GENERIC_SPINLOCK
34         def_bool y
35
36 config GENERIC_TIME
37         def_bool y
38
39 config RWSEM_XCHGADD_ALGORITHM
40         def_bool n
41
42 config ARCH_HAS_ILOG2_U32
43         def_bool n
44
45 config ARCH_HAS_ILOG2_U64
46         def_bool n
47
48 config GENERIC_HWEIGHT
49         def_bool y
50
51 config GENERIC_CALIBRATE_DELAY
52         def_bool y
53
54 config GENERIC_BUG
55         def_bool y
56         depends on BUG
57
58 source "init/Kconfig"
59
60 menu "System Type and features"
61
62 config SUBARCH_AVR32B
63         bool
64 config MMU
65         bool
66 config PERFORMANCE_COUNTERS
67         bool
68
69 config PLATFORM_AT32AP
70         bool
71         select SUBARCH_AVR32B
72         select MMU
73         select PERFORMANCE_COUNTERS
74
75 choice
76         prompt "AVR32 CPU type"
77         default CPU_AT32AP7000
78
79 config CPU_AT32AP7000
80         bool "AT32AP7000"
81         select PLATFORM_AT32AP
82 endchoice
83
84 #
85 # CPU Daughterboards for ATSTK1000
86 config BOARD_ATSTK1002
87         bool
88
89 choice
90         prompt "AVR32 board type"
91         default BOARD_ATSTK1000
92
93 config BOARD_ATSTK1000
94         bool "ATSTK1000 evaluation board"
95         select BOARD_ATSTK1002 if CPU_AT32AP7000
96
97 config BOARD_ATNGW100
98         bool "ATNGW100 Network Gateway"
99 endchoice
100
101 if BOARD_ATSTK1000
102 source "arch/avr32/boards/atstk1000/Kconfig"
103 endif
104
105 choice
106         prompt "Boot loader type"
107         default LOADER_U_BOOT
108
109 config  LOADER_U_BOOT
110         bool "U-Boot (or similar) bootloader"
111 endchoice
112
113 source "arch/avr32/mach-at32ap/Kconfig"
114
115 config LOAD_ADDRESS
116         hex
117         default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
118
119 config ENTRY_ADDRESS
120         hex
121         default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
122
123 config PHYS_OFFSET
124         hex
125         default 0x10000000 if CPU_AT32AP7000=y
126
127 source "kernel/Kconfig.preempt"
128
129 config HAVE_ARCH_BOOTMEM_NODE
130         def_bool n
131
132 config ARCH_HAVE_MEMORY_PRESENT
133         def_bool n
134
135 config NEED_NODE_MEMMAP_SIZE
136         def_bool n
137
138 config ARCH_FLATMEM_ENABLE
139         def_bool y
140
141 config ARCH_DISCONTIGMEM_ENABLE
142         def_bool n
143
144 config ARCH_SPARSEMEM_ENABLE
145         def_bool n
146
147 source "mm/Kconfig"
148
149 config OWNERSHIP_TRACE
150         bool "Ownership trace support"
151         default y
152         help
153           Say Y to generate an Ownership Trace message on every context switch,
154           enabling Nexus-compliant debuggers to keep track of the PID of the
155           currently executing task.
156
157 # FPU emulation goes here
158
159 source "kernel/Kconfig.hz"
160
161 config CMDLINE
162         string "Default kernel command line"
163         default ""
164         help
165           If you don't have a boot loader capable of passing a command line string
166           to the kernel, you may specify one here. As a minimum, you should specify
167           the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
168
169 endmenu
170
171 menu "Power management options"
172
173 menu "CPU Frequency scaling"
174
175 source "drivers/cpufreq/Kconfig"
176
177 config CPU_FREQ_AT32AP
178         bool "CPU frequency driver for AT32AP"
179         depends on CPU_FREQ && PLATFORM_AT32AP
180         default n
181         help
182           This enables the CPU frequency driver for AT32AP processors.
183
184           For details, take a look in <file:Documentation/cpu-freq>.
185
186           If in doubt, say N.
187
188 endmenu
189
190 endmenu
191
192 menu "Bus options"
193
194 config PCI
195         bool
196
197 source "drivers/pci/Kconfig"
198
199 source "drivers/pcmcia/Kconfig"
200
201 endmenu
202
203 menu "Executable file formats"
204 source "fs/Kconfig.binfmt"
205 endmenu
206
207 source "net/Kconfig"
208
209 source "drivers/Kconfig"
210
211 source "fs/Kconfig"
212
213 source "arch/avr32/Kconfig.debug"
214
215 source "security/Kconfig"
216
217 source "crypto/Kconfig"
218
219 source "lib/Kconfig"