mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
cfi: fix error propagation
any read/write operation to memory can fail. block write algorithm error propagation was broken in that it would continue after an error was reported writing data to ram or the algorithm failing. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -35,7 +35,7 @@ struct cfi_flash_bank
|
||||
uint16_t manufacturer;
|
||||
uint16_t device_id;
|
||||
|
||||
char qry[3];
|
||||
uint8_t qry[3];
|
||||
|
||||
/* identification string */
|
||||
uint16_t pri_id;
|
||||
@@ -76,7 +76,7 @@ struct cfi_flash_bank
|
||||
*/
|
||||
struct cfi_intel_pri_ext
|
||||
{
|
||||
char pri[3];
|
||||
uint8_t pri[3];
|
||||
uint8_t major_version;
|
||||
uint8_t minor_version;
|
||||
uint32_t feature_support;
|
||||
|
||||
Reference in New Issue
Block a user