summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/score/cpu/avr/ChangeLog4
-rw-r--r--cpukit/score/cpu/avr/rtems/score/avr.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/score/cpu/avr/ChangeLog b/cpukit/score/cpu/avr/ChangeLog
index 81dce75db4..083f877604 100644
--- a/cpukit/score/cpu/avr/ChangeLog
+++ b/cpukit/score/cpu/avr/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * rtems/score/avr.h: Add avr6.
+
2009-08-11 Josh Switnicki <josh.switnicki@utoronto.ca>
* cpu.c, cpu_asm.S, rtems/score/cpu.h: Fix bug in
diff --git a/cpukit/score/cpu/avr/rtems/score/avr.h b/cpukit/score/cpu/avr/rtems/score/avr.h
index 3b4b6152f9..299b3f7fe1 100644
--- a/cpukit/score/cpu/avr/rtems/score/avr.h
+++ b/cpukit/score/cpu/avr/rtems/score/avr.h
@@ -80,6 +80,10 @@ extern "C" {
#define CPU_MODEL_NAME "avr51"
#define AVR_HAS_FPU 1
+#elif __AVR_ARCH__ == 6
+#define CPU_MODEL_NAME "avr6"
+#define AVR_HAS_FPU 1
+
#else
#error "Unsupported __AVR_ARCH__"
#endif