[ 2816643 ] Matching arguments of funcion flasherase()

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1659 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 16 years ago
parent 39598e6f86
commit 7a397d0eac

@ -1,5 +1,8 @@
2009-07-15 Arnim Laeuger <arniml>
* src/flash/flash.c, include/jtag.h:
[ 2816643 ] Matching arguments of funcion flasherase()
* autogen.sh: forward command line parameters
* configure.ac, src/Makefile.am: first issue of

@ -58,6 +58,6 @@ void idcode( chain_t *chain , unsigned int bytes);
void readmem( bus_t *bus, FILE *f, uint32_t addr, uint32_t len );
void writemem( bus_t *bus, FILE *f, uint32_t addr, uint32_t len );
void flasherase( bus_t *bus, uint32_t addr, int number );
void flasherase( bus_t *bus, uint32_t addr, uint32_t number );
#endif /* JTAG_H */

@ -380,10 +380,10 @@ flashmem( bus_t *bus, FILE *f, uint32_t addr, int noverify )
}
void
flasherase( bus_t *bus, uint32_t addr, int number )
flasherase( bus_t *bus, uint32_t addr, uint32_t number )
{
cfi_query_structure_t *cfi;
int i;
uint32_t i;
int status = 0;
int bus_width;
int chip_width;

@ -1,5 +1,8 @@
2009-07-15 Arnim Laeuger <arniml>
* src/flash/flash.c, include/urjtag/flash.h:
[ 2816643 ] Matching arguments of funcion flasherase()
* configure.ac, Makefile.am: first issue of
[ 2807343 ] urjtag dependencies missing autoconf checks
disabled SVF or disabled BSDL prevents potfile creation

@ -72,6 +72,6 @@ int urj_flashmem (urj_bus_t *bus, FILE *f, uint32_t addr, int);
int urj_flashmsbin (urj_bus_t *bus, FILE *f, int);
/** @return URJ_STATUS_OK on success; URJ_STATUS_FAIL on error */
int urj_flasherase (urj_bus_t *bus, uint32_t addr, int number);
int urj_flasherase (urj_bus_t *bus, uint32_t addr, uint32_t number);
#endif /* URJ_FLASH_H */

@ -470,10 +470,10 @@ urj_flashmem (urj_bus_t *bus, FILE *f, uint32_t addr, int noverify)
}
int
urj_flasherase (urj_bus_t *bus, uint32_t addr, int number)
urj_flasherase (urj_bus_t *bus, uint32_t addr, uint32_t number)
{
urj_flash_cfi_query_structure_t *cfi;
int i;
uint32_t i;
int status = URJ_STATUS_OK;
int bus_width;
int chip_width;

Loading…
Cancel
Save