Kconfig 4.5 KB
Newer Older
H
Haavard Skinnemoen 已提交
1 2 3 4 5 6 7 8
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#

mainmenu "Linux Kernel Configuration"

config AVR32
9
	def_bool y
H
Haavard Skinnemoen 已提交
10 11 12
	# With EMBEDDED=n, we get lots of stuff automatically selected
	# that we usually don't need on AVR32.
	select EMBEDDED
M
Mathieu Desnoyers 已提交
13
	select HAVE_OPROFILE
M
Mathieu Desnoyers 已提交
14
	select HAVE_KPROBES
H
Haavard Skinnemoen 已提交
15 16 17 18 19 20 21 22
	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 已提交
23
config GENERIC_GPIO
24
	def_bool y
D
David Brownell 已提交
25

H
Haavard Skinnemoen 已提交
26
config GENERIC_HARDIRQS
27
	def_bool y
H
Haavard Skinnemoen 已提交
28

29 30 31
config STACKTRACE_SUPPORT
	def_bool y

32 33 34 35 36 37
config LOCKDEP_SUPPORT
	def_bool y

config TRACE_IRQFLAGS_SUPPORT
	def_bool y

H
Haavard Skinnemoen 已提交
38
config HARDIRQS_SW_RESEND
39
	def_bool y
H
Haavard Skinnemoen 已提交
40 41

config GENERIC_IRQ_PROBE
42
	def_bool y
H
Haavard Skinnemoen 已提交
43 44

config RWSEM_GENERIC_SPINLOCK
45
	def_bool y
H
Haavard Skinnemoen 已提交
46 47

config GENERIC_TIME
48
	def_bool y
H
Haavard Skinnemoen 已提交
49

50 51 52
config GENERIC_CLOCKEVENTS
	def_bool y

H
Haavard Skinnemoen 已提交
53
config RWSEM_XCHGADD_ALGORITHM
54
	def_bool n
H
Haavard Skinnemoen 已提交
55

56
config ARCH_HAS_ILOG2_U32
57
	def_bool n
58 59

config ARCH_HAS_ILOG2_U64
60
	def_bool n
61

H
Haavard Skinnemoen 已提交
62
config GENERIC_HWEIGHT
63
	def_bool y
H
Haavard Skinnemoen 已提交
64 65

config GENERIC_CALIBRATE_DELAY
66
	def_bool y
H
Haavard Skinnemoen 已提交
67

68
config GENERIC_BUG
69
	def_bool y
70 71
	depends on BUG

H
Haavard Skinnemoen 已提交
72 73 74 75
source "init/Kconfig"

menu "System Type and features"

76 77
source "kernel/time/Kconfig"

H
Haavard Skinnemoen 已提交
78 79 80 81 82 83 84 85 86 87 88 89
config SUBARCH_AVR32B
	bool
config MMU
	bool
config PERFORMANCE_COUNTERS
	bool

config PLATFORM_AT32AP
	bool
	select SUBARCH_AVR32B
	select MMU
	select PERFORMANCE_COUNTERS
90
	select HAVE_GPIO_LIB
91
	select GENERIC_ALLOCATOR
H
Haavard Skinnemoen 已提交
92

93 94 95 96 97
#
# CPU types
#

# AP7000 derivatives
98 99 100
config CPU_AT32AP700X
	bool
	select PLATFORM_AT32AP
H
Haavard Skinnemoen 已提交
101
config CPU_AT32AP7000
102
	bool
103 104
	select CPU_AT32AP700X
config CPU_AT32AP7001
105
	bool
106 107
	select CPU_AT32AP700X
config CPU_AT32AP7002
108
	bool
109
	select CPU_AT32AP700X
H
Haavard Skinnemoen 已提交
110 111 112 113 114 115 116

choice
	prompt "AVR32 board type"
	default BOARD_ATSTK1000

config BOARD_ATSTK1000
	bool "ATSTK1000 evaluation board"
117 118 119

config BOARD_ATNGW100
	bool "ATNGW100 Network Gateway"
120
	select CPU_AT32AP7000
H
Haavard Skinnemoen 已提交
121 122
endchoice

123 124 125 126
if BOARD_ATSTK1000
source "arch/avr32/boards/atstk1000/Kconfig"
endif

H
Haavard Skinnemoen 已提交
127 128 129 130 131 132 133 134
choice
	prompt "Boot loader type"
	default LOADER_U_BOOT

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

135 136
source "arch/avr32/mach-at32ap/Kconfig"

H
Haavard Skinnemoen 已提交
137 138
config LOAD_ADDRESS
	hex
139
	default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
H
Haavard Skinnemoen 已提交
140 141 142

config ENTRY_ADDRESS
	hex
143
	default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
H
Haavard Skinnemoen 已提交
144 145 146

config PHYS_OFFSET
	hex
147
	default 0x10000000 if CPU_AT32AP700X=y
H
Haavard Skinnemoen 已提交
148 149 150

source "kernel/Kconfig.preempt"

151 152 153
config QUICKLIST
	def_bool y

H
Haavard Skinnemoen 已提交
154
config HAVE_ARCH_BOOTMEM_NODE
155
	def_bool n
H
Haavard Skinnemoen 已提交
156 157

config ARCH_HAVE_MEMORY_PRESENT
158
	def_bool n
H
Haavard Skinnemoen 已提交
159 160

config NEED_NODE_MEMMAP_SIZE
161
	def_bool n
H
Haavard Skinnemoen 已提交
162 163

config ARCH_FLATMEM_ENABLE
164
	def_bool y
H
Haavard Skinnemoen 已提交
165 166

config ARCH_DISCONTIGMEM_ENABLE
167
	def_bool n
H
Haavard Skinnemoen 已提交
168 169

config ARCH_SPARSEMEM_ENABLE
170
	def_bool n
H
Haavard Skinnemoen 已提交
171 172 173 174 175 176 177 178 179 180 181

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 已提交
182 183 184 185 186 187 188 189 190 191
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 已提交
192 193 194 195 196 197 198 199 200 201 202 203 204 205
# 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 已提交
206
menu "Power management options"
207

208 209 210 211 212
source "kernel/power/Kconfig"

config ARCH_SUSPEND_POSSIBLE
	def_bool y

213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231
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 已提交
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
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"