Return MTYPE_FLASH from jtagmkII_memtype() rather than

MTYPE_SPM for non-Xmega flash regions.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1096 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch 2012-07-25 14:56:39 +00:00
parent 4485f9807b
commit 60efc31839
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-07-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* jtagmkII.c (jtagmkII_memtype): return MTYPE_FLASH rather than
MTYPE_SPM for non-Xmega flash regions
2012-07-18 Joerg Wunsch <j.gnu@uriah.heep.sax.de> 2012-07-18 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* configure.ac: check for libelf.h also in libelf/ * configure.ac: check for libelf.h also in libelf/

View File

@ -2762,7 +2762,7 @@ static unsigned char jtagmkII_memtype(PROGRAMMER * pgm, AVRPART * p, unsigned lo
else else
return MTYPE_FLASH; return MTYPE_FLASH;
} else { } else {
return MTYPE_SPM; return MTYPE_FLASH_PAGE;
} }
} }