2003-08-13 Marcel Telka <marcel@telka.sk>

* flash/intel.c (intel_flash_autodetect32, intel_flash_autodetect, intel_flash_autodetect8): Added
		support for Intel SCS command set (patch 787978, Jani Monoses).


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

@ -1,3 +1,8 @@
2003-08-13 Marcel Telka <marcel@telka.sk>
* flash/intel.c (intel_flash_autodetect32, intel_flash_autodetect, intel_flash_autodetect8): Added
support for Intel SCS command set (patch 787978, Jani Monoses).
2003-08-11 Marcel Telka <marcel@telka.sk>
* flash/amd.c (amd_flash_autodetect): Function renamed ...

@ -1,4 +1,5 @@
$Id$
2003-08-13: Added support for Intel SCS command set (patch 787978, Jani Monoses).
2003-08-11: Added support for 1 x 8 bit AMD Flash (patch 772499, Matan Ziv-Av).
2003-06-18: Added support for 1 x 8 bit Intel Flash (patch 753295, Matan Ziv-Av).

@ -0,0 +1,4 @@
$Id$
Jani Monoses
Matan Ziv-Av

@ -58,19 +58,25 @@ static int intel_flash_program32( cfi_array_t *cfi_array, uint32_t adr, uint32_t
static int
intel_flash_autodetect32( cfi_array_t *cfi_array )
{
return (cfi_array->cfi_chips[0]->cfi.identification_string.pri_id_code == CFI_VENDOR_INTEL_ECS) && (bus_width( cfi_array->bus, 0 ) == 32);
return ((cfi_array->cfi_chips[0]->cfi.identification_string.pri_id_code == CFI_VENDOR_INTEL_ECS)
|| (cfi_array->cfi_chips[0]->cfi.identification_string.pri_id_code == CFI_VENDOR_INTEL_SCS))
&& (bus_width( cfi_array->bus, 0 ) == 32);
}
static int
intel_flash_autodetect( cfi_array_t *cfi_array )
{
return (cfi_array->cfi_chips[0]->cfi.identification_string.pri_id_code == CFI_VENDOR_INTEL_ECS) && (bus_width( cfi_array->bus, 0 ) == 16);
return ((cfi_array->cfi_chips[0]->cfi.identification_string.pri_id_code == CFI_VENDOR_INTEL_ECS)
|| (cfi_array->cfi_chips[0]->cfi.identification_string.pri_id_code == CFI_VENDOR_INTEL_SCS))
&& (bus_width( cfi_array->bus, 0 ) == 16);
}
static int
intel_flash_autodetect8( cfi_array_t *cfi_array )
{
return (cfi_array->cfi_chips[0]->cfi.identification_string.pri_id_code == CFI_VENDOR_INTEL_ECS) && (bus_width( cfi_array->bus, 0 ) == 8);
return ((cfi_array->cfi_chips[0]->cfi.identification_string.pri_id_code == CFI_VENDOR_INTEL_ECS)
|| (cfi_array->cfi_chips[0]->cfi.identification_string.pri_id_code == CFI_VENDOR_INTEL_SCS))
&& (bus_width( cfi_array->bus, 0 ) == 8);
}
static void

Loading…
Cancel
Save