[AVR32] Kconfig: Use def_bool instead of bool + default
[deliverable/linux.git] / arch / avr32 / Kconfig
CommitLineData
5f97f7f9
HS
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
58bd2bfe 9 def_bool y
5f97f7f9
HS
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
0a938b97 21config GENERIC_GPIO
58bd2bfe 22 def_bool y
0a938b97 23
5f97f7f9 24config GENERIC_HARDIRQS
58bd2bfe 25 def_bool y
5f97f7f9
HS
26
27config HARDIRQS_SW_RESEND
58bd2bfe 28 def_bool y
5f97f7f9
HS
29
30config GENERIC_IRQ_PROBE
58bd2bfe 31 def_bool y
5f97f7f9
HS
32
33config RWSEM_GENERIC_SPINLOCK
58bd2bfe 34 def_bool y
5f97f7f9
HS
35
36config GENERIC_TIME
58bd2bfe 37 def_bool y
5f97f7f9
HS
38
39config RWSEM_XCHGADD_ALGORITHM
58bd2bfe 40 def_bool n
5f97f7f9 41
f0d1b0b3 42config ARCH_HAS_ILOG2_U32
58bd2bfe 43 def_bool n
f0d1b0b3
DH
44
45config ARCH_HAS_ILOG2_U64
58bd2bfe 46 def_bool n
f0d1b0b3 47
5f97f7f9 48config GENERIC_HWEIGHT
58bd2bfe 49 def_bool y
5f97f7f9
HS
50
51config GENERIC_CALIBRATE_DELAY
58bd2bfe 52 def_bool y
5f97f7f9 53
623b0355 54config GENERIC_BUG
58bd2bfe 55 def_bool y
623b0355
HS
56 depends on BUG
57
5f97f7f9
HS
58source "init/Kconfig"
59
60menu "System Type and features"
61
62config SUBARCH_AVR32B
63 bool
64config MMU
65 bool
66config PERFORMANCE_COUNTERS
67 bool
68
69config PLATFORM_AT32AP
70 bool
71 select SUBARCH_AVR32B
72 select MMU
73 select PERFORMANCE_COUNTERS
74
75choice
76 prompt "AVR32 CPU type"
77 default CPU_AT32AP7000
78
79config CPU_AT32AP7000
80 bool "AT32AP7000"
81 select PLATFORM_AT32AP
82endchoice
83
84#
85# CPU Daughterboards for ATSTK1000
86config BOARD_ATSTK1002
87 bool
88
89choice
90 prompt "AVR32 board type"
91 default BOARD_ATSTK1000
92
93config BOARD_ATSTK1000
94 bool "ATSTK1000 evaluation board"
95 select BOARD_ATSTK1002 if CPU_AT32AP7000
9ca20a83
HS
96
97config BOARD_ATNGW100
98 bool "ATNGW100 Network Gateway"
5f97f7f9
HS
99endchoice
100
a8e93ed8
DB
101if BOARD_ATSTK1000
102source "arch/avr32/boards/atstk1000/Kconfig"
103endif
104
5f97f7f9
HS
105choice
106 prompt "Boot loader type"
107 default LOADER_U_BOOT
108
109config LOADER_U_BOOT
110 bool "U-Boot (or similar) bootloader"
111endchoice
112
228e845f
HS
113source "arch/avr32/mach-at32ap/Kconfig"
114
5f97f7f9
HS
115config LOAD_ADDRESS
116 hex
117 default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
118
119config ENTRY_ADDRESS
120 hex
121 default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
122
123config PHYS_OFFSET
124 hex
125 default 0x10000000 if CPU_AT32AP7000=y
126
127source "kernel/Kconfig.preempt"
128
129config HAVE_ARCH_BOOTMEM_NODE
58bd2bfe 130 def_bool n
5f97f7f9
HS
131
132config ARCH_HAVE_MEMORY_PRESENT
58bd2bfe 133 def_bool n
5f97f7f9
HS
134
135config NEED_NODE_MEMMAP_SIZE
58bd2bfe 136 def_bool n
5f97f7f9
HS
137
138config ARCH_FLATMEM_ENABLE
58bd2bfe 139 def_bool y
5f97f7f9
HS
140
141config ARCH_DISCONTIGMEM_ENABLE
58bd2bfe 142 def_bool n
5f97f7f9
HS
143
144config ARCH_SPARSEMEM_ENABLE
58bd2bfe 145 def_bool n
5f97f7f9
HS
146
147source "mm/Kconfig"
148
149config 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
159source "kernel/Kconfig.hz"
160
161config 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
169endmenu
170
01dd2fbf 171menu "Power management options"
9e58e185
HCE
172
173menu "CPU Frequency scaling"
174
175source "drivers/cpufreq/Kconfig"
176
177config 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
188endmenu
189
190endmenu
191
5f97f7f9
HS
192menu "Bus options"
193
194config PCI
195 bool
196
197source "drivers/pci/Kconfig"
198
199source "drivers/pcmcia/Kconfig"
200
201endmenu
202
203menu "Executable file formats"
204source "fs/Kconfig.binfmt"
205endmenu
206
207source "net/Kconfig"
208
209source "drivers/Kconfig"
210
211source "fs/Kconfig"
212
213source "arch/avr32/Kconfig.debug"
214
215source "security/Kconfig"
216
217source "crypto/Kconfig"
218
219source "lib/Kconfig"
This page took 0.144201 seconds and 5 git commands to generate.