Kconfig 6.0 KB
Newer Older
H
Haavard Skinnemoen 已提交
1
config AVR32
2
	def_bool y
3
	# With EXPERT=n, we get lots of stuff automatically selected
H
Haavard Skinnemoen 已提交
4
	# that we usually don't need on AVR32.
5
	select EXPERT
6
	select HAVE_CLK
M
Mathieu Desnoyers 已提交
7
	select HAVE_OPROFILE
M
Mathieu Desnoyers 已提交
8
	select HAVE_KPROBES
H
Haavard Skinnemoen 已提交
9 10 11 12 13 14 15 16
	help
	  AVR32 is a high-performance 32-bit RISC microprocessor core,
	  designed for cost-sensitive embedded applications, with particular
	  emphasis on low power consumption and high code density.

	  There is an AVR32 Linux project with a web page at
	  http://avr32linux.org/.

D
David Brownell 已提交
17
config GENERIC_GPIO
18
	def_bool y
D
David Brownell 已提交
19

H
Haavard Skinnemoen 已提交
20
config GENERIC_HARDIRQS
21
	def_bool y
H
Haavard Skinnemoen 已提交
22

23 24 25
config STACKTRACE_SUPPORT
	def_bool y

26 27 28 29 30 31
config LOCKDEP_SUPPORT
	def_bool y

config TRACE_IRQFLAGS_SUPPORT
	def_bool y

H
Haavard Skinnemoen 已提交
32
config HARDIRQS_SW_RESEND
33
	def_bool y
H
Haavard Skinnemoen 已提交
34 35

config GENERIC_IRQ_PROBE
36
	def_bool y
H
Haavard Skinnemoen 已提交
37 38

config RWSEM_GENERIC_SPINLOCK
39
	def_bool y
H
Haavard Skinnemoen 已提交
40

41 42 43
config GENERIC_CLOCKEVENTS
	def_bool y

H
Haavard Skinnemoen 已提交
44
config RWSEM_XCHGADD_ALGORITHM
45
	def_bool n
H
Haavard Skinnemoen 已提交
46

47
config ARCH_HAS_ILOG2_U32
48
	def_bool n
49 50

config ARCH_HAS_ILOG2_U64
51
	def_bool n
52

H
Haavard Skinnemoen 已提交
53
config GENERIC_HWEIGHT
54
	def_bool y
H
Haavard Skinnemoen 已提交
55 56

config GENERIC_CALIBRATE_DELAY
57
	def_bool y
H
Haavard Skinnemoen 已提交
58

59
config GENERIC_BUG
60
	def_bool y
61 62
	depends on BUG

H
Haavard Skinnemoen 已提交
63 64
source "init/Kconfig"

65 66
source "kernel/Kconfig.freezer"

H
Haavard Skinnemoen 已提交
67 68
menu "System Type and features"

69 70
source "kernel/time/Kconfig"

H
Haavard Skinnemoen 已提交
71 72 73 74 75 76 77 78 79 80 81 82
config SUBARCH_AVR32B
	bool
config MMU
	bool
config PERFORMANCE_COUNTERS
	bool

config PLATFORM_AT32AP
	bool
	select SUBARCH_AVR32B
	select MMU
	select PERFORMANCE_COUNTERS
M
Michael Buesch 已提交
83
	select ARCH_REQUIRE_GPIOLIB
84
	select GENERIC_ALLOCATOR
85
	select HAVE_FB_ATMEL
86
	select HAVE_NET_MACB
H
Haavard Skinnemoen 已提交
87

88 89 90 91 92
#
# CPU types
#

# AP7000 derivatives
93 94 95
config CPU_AT32AP700X
	bool
	select PLATFORM_AT32AP
H
Haavard Skinnemoen 已提交
96
config CPU_AT32AP7000
97
	bool
98 99
	select CPU_AT32AP700X
config CPU_AT32AP7001
100
	bool
101 102
	select CPU_AT32AP700X
config CPU_AT32AP7002
103
	bool
104
	select CPU_AT32AP700X
H
Haavard Skinnemoen 已提交
105

106 107 108 109 110
# AP700X boards
config BOARD_ATNGW100_COMMON
	bool
	select CPU_AT32AP7000

H
Haavard Skinnemoen 已提交
111 112 113 114 115 116
choice
	prompt "AVR32 board type"
	default BOARD_ATSTK1000

config BOARD_ATSTK1000
	bool "ATSTK1000 evaluation board"
117

118
config BOARD_ATNGW100_MKI
119
	bool "ATNGW100 Network Gateway"
120 121 122 123 124
	select BOARD_ATNGW100_COMMON

config BOARD_ATNGW100_MKII
	bool "ATNGW100 mkII Network Gateway"
	select BOARD_ATNGW100_COMMON
125

A
Alex Raimondi 已提交
126 127 128 129 130
config BOARD_HAMMERHEAD
	bool "Hammerhead board"
	select CPU_AT32AP7000
	select USB_ARCH_HAS_HCD
	help
131
	  The Hammerhead platform is built around an AVR32 32-bit microcontroller from Atmel.
A
Alex Raimondi 已提交
132 133
	  It offers versatile peripherals, such as ethernet, usb device, usb host etc.

134
	  The board also incorporates a power supply and is a Power over Ethernet (PoE) Powered
A
Alex Raimondi 已提交
135 136
	  Device (PD).

137
	  Additionally, a Cyclone III FPGA from Altera is integrated on the board. The FPGA is
A
Alex Raimondi 已提交
138 139 140 141
	  mapped into the 32-bit AVR memory bus. The FPGA offers two DDR2 SDRAM interfaces, which
	  will cover even the most exceptional need of memory bandwidth. Together with the onboard
	  video decoder the board is ready for video processing.

142
	  For more information see: http://www.miromico.ch/index.php/hammerhead.html 
A
Alex Raimondi 已提交
143

144 145 146
config BOARD_FAVR_32
	bool "Favr-32 LCD-board"
	select CPU_AT32AP7000
M
Mark Jackson 已提交
147

J
Jonas Larsson 已提交
148 149 150 151 152 153 154 155 156 157 158 159 160
config BOARD_MERISC
	bool "Merisc board"
	select CPU_AT32AP7000
	help
	  Merisc is the family name for a range of AVR32-based boards.

	  The boards are designed to be used in a man-machine
	  interfacing environment, utilizing a touch-based graphical
	  user interface. They host a vast range of I/O peripherals as
	  well as a large SDRAM & Flash memory bank.

	  For more information see: http://www.martinsson.se/merisc

M
Mark Jackson 已提交
161 162 163
config BOARD_MIMC200
	bool "MIMC200 CPU board"
	select CPU_AT32AP7000
H
Haavard Skinnemoen 已提交
164 165
endchoice

166
source "arch/avr32/boards/atstk1000/Kconfig"
167
source "arch/avr32/boards/atngw100/Kconfig"
A
Alex Raimondi 已提交
168
source "arch/avr32/boards/hammerhead/Kconfig"
169
source "arch/avr32/boards/favr-32/Kconfig"
J
Jonas Larsson 已提交
170
source "arch/avr32/boards/merisc/Kconfig"
171

H
Haavard Skinnemoen 已提交
172 173 174 175 176 177 178 179
choice
	prompt "Boot loader type"
	default LOADER_U_BOOT

config	LOADER_U_BOOT
	bool "U-Boot (or similar) bootloader"
endchoice

180 181
source "arch/avr32/mach-at32ap/Kconfig"

H
Haavard Skinnemoen 已提交
182 183
config LOAD_ADDRESS
	hex
184
	default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
H
Haavard Skinnemoen 已提交
185 186 187

config ENTRY_ADDRESS
	hex
188
	default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
H
Haavard Skinnemoen 已提交
189 190 191

config PHYS_OFFSET
	hex
192
	default 0x10000000 if CPU_AT32AP700X=y
H
Haavard Skinnemoen 已提交
193 194 195

source "kernel/Kconfig.preempt"

196 197 198
config QUICKLIST
	def_bool y

199
config HAVE_ARCH_BOOTMEM
200
	def_bool n
H
Haavard Skinnemoen 已提交
201 202

config ARCH_HAVE_MEMORY_PRESENT
203
	def_bool n
H
Haavard Skinnemoen 已提交
204 205

config NEED_NODE_MEMMAP_SIZE
206
	def_bool n
H
Haavard Skinnemoen 已提交
207 208

config ARCH_FLATMEM_ENABLE
209
	def_bool y
H
Haavard Skinnemoen 已提交
210 211

config ARCH_DISCONTIGMEM_ENABLE
212
	def_bool n
H
Haavard Skinnemoen 已提交
213 214

config ARCH_SPARSEMEM_ENABLE
215
	def_bool n
H
Haavard Skinnemoen 已提交
216 217 218 219 220 221 222 223 224 225 226

source "mm/Kconfig"

config OWNERSHIP_TRACE
	bool "Ownership trace support"
	default y
	help
	  Say Y to generate an Ownership Trace message on every context switch,
	  enabling Nexus-compliant debuggers to keep track of the PID of the
	  currently executing task.

H
Haavard Skinnemoen 已提交
227 228 229 230 231 232 233 234 235 236
config NMI_DEBUGGING
	bool "NMI Debugging"
	default n
	help
	  Say Y here and pass the nmi_debug command-line parameter to
	  the kernel to turn on NMI debugging. Depending on the value
	  of the nmi_debug option, various pieces of information will
	  be dumped to the console when a Non-Maskable Interrupt
	  happens.

H
Haavard Skinnemoen 已提交
237 238 239 240 241 242 243 244 245 246 247 248 249 250
# FPU emulation goes here

source "kernel/Kconfig.hz"

config CMDLINE
	string "Default kernel command line"
	default ""
	help
	  If you don't have a boot loader capable of passing a command line string
	  to the kernel, you may specify one here. As a minimum, you should specify
	  the memory size and the root device (e.g., mem=8M, root=/dev/nfs).

endmenu

M
Matt LaPlante 已提交
251
menu "Power management options"
252

253 254 255 256 257
source "kernel/power/Kconfig"

config ARCH_SUSPEND_POSSIBLE
	def_bool y

258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276
menu "CPU Frequency scaling"

source "drivers/cpufreq/Kconfig"

config CPU_FREQ_AT32AP
	bool "CPU frequency driver for AT32AP"
	depends on CPU_FREQ && PLATFORM_AT32AP
	default n
	help
	  This enables the CPU frequency driver for AT32AP processors.

	  For details, take a look in <file:Documentation/cpu-freq>.

	  If in doubt, say N.

endmenu

endmenu

H
Haavard Skinnemoen 已提交
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
menu "Bus options"

config PCI
	bool

source "drivers/pci/Kconfig"

source "drivers/pcmcia/Kconfig"

endmenu

menu "Executable file formats"
source "fs/Kconfig.binfmt"
endmenu

source "net/Kconfig"

source "drivers/Kconfig"

source "fs/Kconfig"

source "arch/avr32/Kconfig.debug"

source "security/Kconfig"

source "crypto/Kconfig"

source "lib/Kconfig"