set max_bytes_write to std value 1 instead of 0

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1684 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 15 years ago
parent b26a48ecf4
commit f2a11a15b2

@ -1,3 +1,8 @@
2009-11-22 Arnim Laeuger <arniml>
* src/flash/intel.c, src/flash/amd.c: set max_bytes_write to std value 1
instead of 0
2009-11-17 Rutger Hofman <rfhh>
* src/bus/writemem.c: big-endian write shifts one too much. Patch by

@ -589,7 +589,7 @@ amd_flash_program (urj_flash_cfi_array_t *cfi_array, uint32_t adr,
int max_bytes_write = cfi->device_geometry.max_bytes_write;
#ifndef FLASH_MULTI_BYTE
max_bytes_write = 0;
max_bytes_write = 1;
#endif
/* multi-byte writes supported? */

@ -382,7 +382,7 @@ intel_flash_program (urj_flash_cfi_array_t *cfi_array,
int max_bytes_write = cfi->device_geometry.max_bytes_write;
#ifndef FLASH_MULTI_BYTE
max_bytes_write = 0;
max_bytes_write = 1;
#endif
/* multi-byte writes supported? */

Loading…
Cancel
Save