Patchwork [AVR] Fix PR target/47696

login
register
mail settings
Submitter Anatoly Sokolov
Date Feb. 14, 2011, 3:44 p.m.
Message ID <1702861058.20110214184425@post.ru>
Download mbox | patch
Permalink /patch/83100/
State New
Headers show

Comments

Anatoly Sokolov - Feb. 14, 2011, 3:44 p.m.
Hi.


 This patch fix typo in ATmega2560 device description. Thanks Joseph for 
catching this bug.

 Committed.


        PR target/47696
        * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device
        description.




Anatoly.

Patch

Index: gcc/config/avr/avr-devices.c
===================================================================
--- gcc/config/avr/avr-devices.c        (revision 170133)
+++ gcc/config/avr/avr-devices.c        (working copy)
@@ -214,7 +214,7 @@ 
   { "at90usb1287",          ARCH_AVR51, "__AVR_AT90USB1287__",      0, 0x0100, "usb1286" },
     /* 3-Byte PC.  */
   { "avr6",                 ARCH_AVR6, NULL,                        0, 0x0200, "m2561" },
-  { "atmega2560",           ARCH_AVR6, "__AVR_ATmega2560__",        0, 0x0200, "m2561" },
+  { "atmega2560",           ARCH_AVR6, "__AVR_ATmega2560__",        0, 0x0200, "m2560" },
   { "atmega2561",           ARCH_AVR6, "__AVR_ATmega2561__",        0, 0x0200, "m2561" },
     /* Assembler only.  */
   { "avr1",                 ARCH_AVR1, NULL,                        0, 0x0060, "s1200" },