diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 2efa02e3..e628935e 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2003-02-17 Marcel Telka + + * src/flash-intel.c (intel_flash_autodetect): Fixed Intel flash algorithm Id. + (intel_flash_autodetect32): Ditto. + 2003-02-17 Marcel Telka * configure.ac (AC_CHECK_FUNCS): Added getdelim and getline. diff --git a/jtag/src/flash-intel.c b/jtag/src/flash-intel.c index cf12c06f..efc3c0ab 100644 --- a/jtag/src/flash-intel.c +++ b/jtag/src/flash-intel.c @@ -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