2003-02-17 Marcel Telka <marcel@telka.sk>

* src/flash-intel.c (intel_flash_autodetect): Fixed Intel flash algorithm Id.
	(intel_flash_autodetect32): Ditto.


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

@ -1,3 +1,8 @@
2003-02-17 Marcel Telka <marcel@telka.sk>
* src/flash-intel.c (intel_flash_autodetect): Fixed Intel flash algorithm Id.
(intel_flash_autodetect32): Ditto.
2003-02-17 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CHECK_FUNCS): Added getdelim and getline.

@ -53,13 +53,13 @@ static int intel_flash_program32( parts *ps, uint32_t adr, uint32_t data );
static int
intel_flash_autodetect32( parts *ps, cfi_query_structure_t *cfi )
{
return (cfi->identification_string.pri_id_code == CFI_VENDOR_INTEL_SCS) && (bus_width( ps ) == 32);
return (cfi->identification_string.pri_id_code == CFI_VENDOR_INTEL_ECS) && (bus_width( ps ) == 32);
}
static int
intel_flash_autodetect( parts *ps, cfi_query_structure_t *cfi )
{
return (cfi->identification_string.pri_id_code == CFI_VENDOR_INTEL_SCS) && (bus_width( ps ) == 16);
return (cfi->identification_string.pri_id_code == CFI_VENDOR_INTEL_ECS) && (bus_width( ps ) == 16);
}
static

Loading…
Cancel
Save