2003-11-03 Marcel Telka <marcel@telka.sk>

* flash/jedec.c (jedec_detect): Fixed compile error - C++-style declaration (bug 828313, thanks to Márton Németh).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@586 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 21 years ago
parent 26db6e67c3
commit 1e94846051

@ -1,3 +1,7 @@
2003-11-03 Marcel Telka <marcel@telka.sk>
* flash/jedec.c (jedec_detect): Fixed compile error - C++-style declaration (bug 828313, thanks to Márton Németh).
2003-11-02 Marcel Telka <marcel@telka.sk>
* cmd/cmd_detectflash.c (cmd_detectflash_run, cmd_detectflash_help): Added new address parameter for 'detectflash'

@ -1,5 +1,6 @@
$Id$
2003-11-03: Fixed compile error in jedec_detect (bug 828313, Márton Németh).
2003-11-02: Added support for detecting flashes (detectflash) in full address range.
2003-11-02: Added support for Intel flash located at any address.
2003-09-23: Added initial JEDEC detection for flash chips (Bradley D. LaRonde).

@ -3,4 +3,5 @@ $Id$
Bradley D. LaRonde
Andreas Mohr
Jani Monoses
Márton Németh
Matan Ziv-Av

@ -37,6 +37,7 @@ jedec_detect( bus_t *bus, uint32_t adr, cfi_array_t **cfi_array )
{
int mid;
int did;
cfi_query_structure_t *cfi;
/* Query flash. */
bus_write( bus, 0x0, 0xf0 );
@ -55,7 +56,7 @@ jedec_detect( bus_t *bus, uint32_t adr, cfi_array_t **cfi_array )
if (!(*cfi_array)->cfi_chips[0])
return -2; /* out of memory */
cfi_query_structure_t *cfi = &(*cfi_array)->cfi_chips[0]->cfi;
cfi = &(*cfi_array)->cfi_chips[0]->cfi;
cfi->identification_string.pri_id_code = CFI_VENDOR_AMD_SCS;
cfi->identification_string.pri_vendor_tbl = NULL;

Loading…
Cancel
Save