diff options
Diffstat (limited to 'arch/avr32/Kconfig')
-rw-r--r-- | arch/avr32/Kconfig | 47 |
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 | |||
54 | config ARCH_HAS_ILOG2_U64 | 54 | config ARCH_HAS_ILOG2_U64 |
55 | def_bool n | 55 | def_bool n |
56 | 56 | ||
57 | config ARCH_SUPPORTS_OPROFILE | ||
58 | def_bool y | ||
59 | |||
57 | config GENERIC_HWEIGHT | 60 | config 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 | ||
84 | choice | 87 | # |
85 | prompt "AVR32 CPU type" | 88 | # CPU types |
86 | default CPU_AT32AP7000 | 89 | # |
87 | 90 | ||
88 | config CPU_AT32AP7000 | 91 | # AP7000 derivatives |
89 | bool "AT32AP7000" | 92 | config CPU_AT32AP700X |
93 | bool | ||
90 | select PLATFORM_AT32AP | 94 | select PLATFORM_AT32AP |
91 | endchoice | 95 | config CPU_AT32AP7000 |
92 | 96 | bool | |
93 | # | 97 | select CPU_AT32AP700X |
94 | # CPU Daughterboards for ATSTK1000 | 98 | config CPU_AT32AP7001 |
95 | config BOARD_ATSTK1002 | 99 | bool |
100 | select CPU_AT32AP700X | ||
101 | config CPU_AT32AP7002 | ||
96 | bool | 102 | bool |
103 | select CPU_AT32AP700X | ||
97 | 104 | ||
98 | choice | 105 | choice |
99 | prompt "AVR32 board type" | 106 | prompt "AVR32 board type" |
@@ -101,10 +108,10 @@ choice | |||
101 | 108 | ||
102 | config BOARD_ATSTK1000 | 109 | config BOARD_ATSTK1000 |
103 | bool "ATSTK1000 evaluation board" | 110 | bool "ATSTK1000 evaluation board" |
104 | select BOARD_ATSTK1002 if CPU_AT32AP7000 | ||
105 | 111 | ||
106 | config BOARD_ATNGW100 | 112 | config BOARD_ATNGW100 |
107 | bool "ATNGW100 Network Gateway" | 113 | bool "ATNGW100 Network Gateway" |
114 | select CPU_AT32AP7000 | ||
108 | endchoice | 115 | endchoice |
109 | 116 | ||
110 | if BOARD_ATSTK1000 | 117 | if BOARD_ATSTK1000 |
@@ -123,15 +130,15 @@ source "arch/avr32/mach-at32ap/Kconfig" | |||
123 | 130 | ||
124 | config LOAD_ADDRESS | 131 | config 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 | ||
128 | config ENTRY_ADDRESS | 135 | config 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 | ||
132 | config PHYS_OFFSET | 139 | config PHYS_OFFSET |
133 | hex | 140 | hex |
134 | default 0x10000000 if CPU_AT32AP7000=y | 141 | default 0x10000000 if CPU_AT32AP700X=y |
135 | 142 | ||
136 | source "kernel/Kconfig.preempt" | 143 | source "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 | ||
173 | config 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 | ||
168 | source "kernel/Kconfig.hz" | 185 | source "kernel/Kconfig.hz" |
@@ -219,6 +236,8 @@ source "drivers/Kconfig" | |||
219 | 236 | ||
220 | source "fs/Kconfig" | 237 | source "fs/Kconfig" |
221 | 238 | ||
239 | source "kernel/Kconfig.instrumentation" | ||
240 | |||
222 | source "arch/avr32/Kconfig.debug" | 241 | source "arch/avr32/Kconfig.debug" |
223 | 242 | ||
224 | source "security/Kconfig" | 243 | source "security/Kconfig" |