aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/Kconfig')
-rw-r--r--arch/avr32/Kconfig47
1 files changed, 33 insertions, 14 deletions
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index b77abce10c7a..e34e2c9c94cb 100644
--- a/arch/avr32/Kconfig
+++ b/arch/avr32/Kconfig
@@ -54,6 +54,9 @@ config ARCH_HAS_ILOG2_U32
54config ARCH_HAS_ILOG2_U64 54config ARCH_HAS_ILOG2_U64
55 def_bool n 55 def_bool n
56 56
57config ARCH_SUPPORTS_OPROFILE
58 def_bool y
59
57config GENERIC_HWEIGHT 60config GENERIC_HWEIGHT
58 def_bool y 61 def_bool y
59 62
@@ -81,19 +84,23 @@ config PLATFORM_AT32AP
81 select MMU 84 select MMU
82 select PERFORMANCE_COUNTERS 85 select PERFORMANCE_COUNTERS
83 86
84choice 87#
85 prompt "AVR32 CPU type" 88# CPU types
86 default CPU_AT32AP7000 89#
87 90
88config CPU_AT32AP7000 91# AP7000 derivatives
89 bool "AT32AP7000" 92config CPU_AT32AP700X
93 bool
90 select PLATFORM_AT32AP 94 select PLATFORM_AT32AP
91endchoice 95config CPU_AT32AP7000
92 96 bool
93# 97 select CPU_AT32AP700X
94# CPU Daughterboards for ATSTK1000 98config CPU_AT32AP7001
95config BOARD_ATSTK1002 99 bool
100 select CPU_AT32AP700X
101config CPU_AT32AP7002
96 bool 102 bool
103 select CPU_AT32AP700X
97 104
98choice 105choice
99 prompt "AVR32 board type" 106 prompt "AVR32 board type"
@@ -101,10 +108,10 @@ choice
101 108
102config BOARD_ATSTK1000 109config BOARD_ATSTK1000
103 bool "ATSTK1000 evaluation board" 110 bool "ATSTK1000 evaluation board"
104 select BOARD_ATSTK1002 if CPU_AT32AP7000
105 111
106config BOARD_ATNGW100 112config BOARD_ATNGW100
107 bool "ATNGW100 Network Gateway" 113 bool "ATNGW100 Network Gateway"
114 select CPU_AT32AP7000
108endchoice 115endchoice
109 116
110if BOARD_ATSTK1000 117if BOARD_ATSTK1000
@@ -123,15 +130,15 @@ source "arch/avr32/mach-at32ap/Kconfig"
123 130
124config LOAD_ADDRESS 131config LOAD_ADDRESS
125 hex 132 hex
126 default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y 133 default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
127 134
128config ENTRY_ADDRESS 135config ENTRY_ADDRESS
129 hex 136 hex
130 default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y 137 default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
131 138
132config PHYS_OFFSET 139config PHYS_OFFSET
133 hex 140 hex
134 default 0x10000000 if CPU_AT32AP7000=y 141 default 0x10000000 if CPU_AT32AP700X=y
135 142
136source "kernel/Kconfig.preempt" 143source "kernel/Kconfig.preempt"
137 144
@@ -163,6 +170,16 @@ config OWNERSHIP_TRACE
163 enabling Nexus-compliant debuggers to keep track of the PID of the 170 enabling Nexus-compliant debuggers to keep track of the PID of the
164 currently executing task. 171 currently executing task.
165 172
173config NMI_DEBUGGING
174 bool "NMI Debugging"
175 default n
176 help
177 Say Y here and pass the nmi_debug command-line parameter to
178 the kernel to turn on NMI debugging. Depending on the value
179 of the nmi_debug option, various pieces of information will
180 be dumped to the console when a Non-Maskable Interrupt
181 happens.
182
166# FPU emulation goes here 183# FPU emulation goes here
167 184
168source "kernel/Kconfig.hz" 185source "kernel/Kconfig.hz"
@@ -219,6 +236,8 @@ source "drivers/Kconfig"
219 236
220source "fs/Kconfig" 237source "fs/Kconfig"
221 238
239source "kernel/Kconfig.instrumentation"
240
222source "arch/avr32/Kconfig.debug" 241source "arch/avr32/Kconfig.debug"
223 242
224source "security/Kconfig" 243source "security/Kconfig"