Kconfig 5.9 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
J
Jiri Slaby 已提交
7
	select HAVE_EXIT_THREAD
M
Mathieu Desnoyers 已提交
8
	select HAVE_OPROFILE
M
Mathieu Desnoyers 已提交
9
	select HAVE_KPROBES
10
	select VIRT_TO_BUS
11
	select GENERIC_IRQ_PROBE
12
	select GENERIC_ATOMIC64
13
	select HARDIRQS_SW_RESEND
14
	select GENERIC_IRQ_SHOW
15
	select ARCH_HAVE_CUSTOM_GPIO_H
16
	select ARCH_WANT_IPC_PARSE_VERSION
17
	select ARCH_HAVE_NMI_SAFE_CMPXCHG
18
	select GENERIC_CLOCKEVENTS
19 20
	select HAVE_MOD_ARCH_SPECIFIC
	select MODULES_USE_ELF_RELA
21
	select HAVE_NMI
H
Haavard Skinnemoen 已提交
22 23 24 25 26 27 28 29
	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/.

30 31 32
config STACKTRACE_SUPPORT
	def_bool y

33 34 35 36 37 38
config LOCKDEP_SUPPORT
	def_bool y

config TRACE_IRQFLAGS_SUPPORT
	def_bool y

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

config RWSEM_XCHGADD_ALGORITHM
43
	def_bool n
H
Haavard Skinnemoen 已提交
44

45
config ARCH_HAS_ILOG2_U32
46
	def_bool n
47 48

config ARCH_HAS_ILOG2_U64
49
	def_bool n
50

H
Haavard Skinnemoen 已提交
51
config GENERIC_HWEIGHT
52
	def_bool y
H
Haavard Skinnemoen 已提交
53 54

config GENERIC_CALIBRATE_DELAY
55
	def_bool y
H
Haavard Skinnemoen 已提交
56

57
config GENERIC_BUG
58
	def_bool y
59 60
	depends on BUG

H
Haavard Skinnemoen 已提交
61 62
source "init/Kconfig"

63 64
source "kernel/Kconfig.freezer"

H
Haavard Skinnemoen 已提交
65 66 67 68 69 70 71 72 73 74 75 76 77 78
menu "System Type and features"

config SUBARCH_AVR32B
	bool
config MMU
	bool
config PERFORMANCE_COUNTERS
	bool

config PLATFORM_AT32AP
	bool
	select SUBARCH_AVR32B
	select MMU
	select PERFORMANCE_COUNTERS
79
	select GPIOLIB
80
	select GENERIC_ALLOCATOR
81
	select HAVE_FB_ATMEL
H
Haavard Skinnemoen 已提交
82

83 84 85 86 87
#
# CPU types
#

# AP7000 derivatives
88 89 90
config CPU_AT32AP700X
	bool
	select PLATFORM_AT32AP
H
Haavard Skinnemoen 已提交
91
config CPU_AT32AP7000
92
	bool
93 94
	select CPU_AT32AP700X
config CPU_AT32AP7001
95
	bool
96 97
	select CPU_AT32AP700X
config CPU_AT32AP7002
98
	bool
99
	select CPU_AT32AP700X
H
Haavard Skinnemoen 已提交
100

101 102 103 104 105
# AP700X boards
config BOARD_ATNGW100_COMMON
	bool
	select CPU_AT32AP7000

H
Haavard Skinnemoen 已提交
106 107 108 109 110 111
choice
	prompt "AVR32 board type"
	default BOARD_ATSTK1000

config BOARD_ATSTK1000
	bool "ATSTK1000 evaluation board"
112

113
config BOARD_ATNGW100_MKI
114
	bool "ATNGW100 Network Gateway"
115 116 117 118 119
	select BOARD_ATNGW100_COMMON

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

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

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

132
	  Additionally, a Cyclone III FPGA from Altera is integrated on the board. The FPGA is
A
Alex Raimondi 已提交
133 134 135 136
	  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.

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

139 140 141
config BOARD_FAVR_32
	bool "Favr-32 LCD-board"
	select CPU_AT32AP7000
M
Mark Jackson 已提交
142

J
Jonas Larsson 已提交
143 144 145 146 147 148 149 150 151 152 153 154 155
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 已提交
156 157 158
config BOARD_MIMC200
	bool "MIMC200 CPU board"
	select CPU_AT32AP7000
H
Haavard Skinnemoen 已提交
159 160
endchoice

161
source "arch/avr32/boards/atstk1000/Kconfig"
162
source "arch/avr32/boards/atngw100/Kconfig"
A
Alex Raimondi 已提交
163
source "arch/avr32/boards/hammerhead/Kconfig"
164
source "arch/avr32/boards/favr-32/Kconfig"
J
Jonas Larsson 已提交
165
source "arch/avr32/boards/merisc/Kconfig"
166

H
Haavard Skinnemoen 已提交
167 168 169 170 171 172 173 174
choice
	prompt "Boot loader type"
	default LOADER_U_BOOT

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

175 176
source "arch/avr32/mach-at32ap/Kconfig"

H
Haavard Skinnemoen 已提交
177 178
config LOAD_ADDRESS
	hex
179
	default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
H
Haavard Skinnemoen 已提交
180 181 182

config ENTRY_ADDRESS
	hex
183
	default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
H
Haavard Skinnemoen 已提交
184 185 186

config PHYS_OFFSET
	hex
187
	default 0x10000000 if CPU_AT32AP700X=y
H
Haavard Skinnemoen 已提交
188 189 190

source "kernel/Kconfig.preempt"

191 192 193
config QUICKLIST
	def_bool y

H
Haavard Skinnemoen 已提交
194
config ARCH_HAVE_MEMORY_PRESENT
195
	def_bool n
H
Haavard Skinnemoen 已提交
196 197

config NEED_NODE_MEMMAP_SIZE
198
	def_bool n
H
Haavard Skinnemoen 已提交
199 200

config ARCH_FLATMEM_ENABLE
201
	def_bool y
H
Haavard Skinnemoen 已提交
202 203

config ARCH_DISCONTIGMEM_ENABLE
204
	def_bool n
H
Haavard Skinnemoen 已提交
205 206

config ARCH_SPARSEMEM_ENABLE
207
	def_bool n
H
Haavard Skinnemoen 已提交
208

209 210 211 212 213
config NODES_SHIFT
	int
	default "2"
	depends on NEED_MULTIPLE_NODES

H
Haavard Skinnemoen 已提交
214 215 216 217 218 219 220 221 222 223
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 已提交
224 225 226 227 228 229 230 231 232 233
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 已提交
234 235 236 237 238 239 240 241 242 243 244 245 246 247
# 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 已提交
248
menu "Power management options"
249

250 251 252 253 254
source "kernel/power/Kconfig"

config ARCH_SUSPEND_POSSIBLE
	def_bool y

255 256 257 258 259 260
menu "CPU Frequency scaling"
source "drivers/cpufreq/Kconfig"
endmenu

endmenu

H
Haavard Skinnemoen 已提交
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288
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"