diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-20 17:08:18 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-20 17:08:18 +0000 |
commit | 577972a51d9b3655cd14d5ce176995b09909933e (patch) | |
tree | 87bb81ac698d1cb7466d7277c3d8958c6add88a0 /src/flash/cfi.c | |
parent | dbd6cede000d76a4da64732989ebc219a3e7d612 (diff) |
Ben Bodley <ben@teknique.com> non-CFI compliant flash (AMIC A29L800A)
git-svn-id: svn://svn.berlios.de/openocd/trunk@841 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/cfi.c')
-rw-r--r-- | src/flash/cfi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c index fea75a74..3c17980e 100644 --- a/src/flash/cfi.c +++ b/src/flash/cfi.c @@ -94,6 +94,7 @@ cfi_fixup_t cfi_jedec_fixups[] = { {CFI_MFR_AMD, 0x2223, cfi_fixup_non_cfi, NULL}, {CFI_MFR_AMD, 0x22ab, cfi_fixup_non_cfi, NULL}, {CFI_MFR_FUJITSU, 0x226b, cfi_fixup_non_cfi, NULL}, + {CFI_MFR_AMIC, 0xb31a, cfi_fixup_non_cfi, NULL}, {0, 0, NULL, NULL} }; @@ -106,6 +107,7 @@ cfi_fixup_t cfi_0002_fixups[] = { {CFI_MFR_SST, 0x2780, cfi_fixup_0002_unlock_addresses, &cfi_unlock_addresses[CFI_UNLOCK_5555_2AAA]}, {CFI_MFR_ATMEL, 0x00C8, cfi_fixup_atmel_reversed_erase_regions, NULL}, {CFI_MFR_FUJITSU, 0x226b, cfi_fixup_0002_unlock_addresses, &cfi_unlock_addresses[CFI_UNLOCK_5555_2AAA]}, + {CFI_MFR_AMIC, 0xb31a, cfi_fixup_0002_unlock_addresses, &cfi_unlock_addresses[CFI_UNLOCK_555_2AA]}, {CFI_MFR_ANY, CFI_ID_ANY, cfi_fixup_0002_erase_regions, NULL}, {0, 0, NULL, NULL} }; |