2003-05-15 Marcel Telka <marcel@telka.sk>

* include/cfi.h (detect_cfi): Added new parameter `adr'.
	All relevant functions and callers updated.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@429 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 22 years ago
parent d5b5b52ff3
commit fcb6756dc5

@ -1,3 +1,8 @@
2003-05-15 Marcel Telka <marcel@telka.sk>
* include/cfi.h (detect_cfi): Added new parameter `adr'.
All relevant functions and callers updated.
2003-05-15 Marcel Telka <marcel@telka.sk>
* configure.ac (CPPFLAGS): Added path to the openwince include arm directory.

@ -25,10 +25,11 @@
#ifndef CFI_H
#define CFI_H
#include <stdint.h>
#include <flash/cfi.h>
#include "bus.h"
cfi_query_structure_t *detect_cfi( bus_t *bus );
cfi_query_structure_t *detect_cfi( bus_t *bus, uint32_t adr );
#endif /* CFI_H */

@ -98,7 +98,7 @@ flashcheck( bus_t *bus, cfi_query_structure_t **cfi )
return;
}
*cfi = detect_cfi( bus );
*cfi = detect_cfi( bus, 0 );
if (!*cfi) {
printf( "Flash not found!\n" );
return;

@ -49,7 +49,7 @@ read2( bus_t *bus, uint32_t adr, int o )
}
cfi_query_structure_t *
detect_cfi( bus_t *bus )
detect_cfi( bus_t *bus, uint32_t adr )
{
cfi_query_structure_t *cfi;
int o = 2;

@ -72,7 +72,7 @@ detectflash( bus_t *bus )
return;
}
cfi = detect_cfi( bus );
cfi = detect_cfi( bus, 0 );
if (!cfi) {
printf( "Flash not found!\n" );
return;

Loading…
Cancel
Save