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
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 */
}
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;
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
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 */
}
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;