Support for SST 39VF3201C NOR flash
* Add Thumb-2 code to write flash memories that don't support DQ5 polling * Make sure default values for unlock commands are set even if there is no PRI information given by the flash * Add a fixup to disable DQ5 polling for the SST 39VF3201C Change-Id: Ib08cf20547d0f500d5f78241521e6b49050c3d40 Signed-off-by: IS2T development team <dev.is2t@gmail.com> Reviewed-on: http://openocd.zylin.com/1449 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
@@ -143,8 +143,8 @@ struct cfi_unlock_addresses {
|
||||
struct cfi_fixup {
|
||||
uint16_t mfr;
|
||||
uint16_t id;
|
||||
void (*fixup)(struct flash_bank *bank, void *param);
|
||||
void *param;
|
||||
void (*fixup)(struct flash_bank *bank, const void *param);
|
||||
const void *param;
|
||||
};
|
||||
|
||||
#define CFI_MFR_AMD 0x0001
|
||||
|
||||
Reference in New Issue
Block a user