aboutsummaryrefslogtreecommitdiff
path: root/src/flash/cfi.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-21 09:16:10 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-21 09:16:10 +0000
commit97cc3e0dc84c5d3644b153e27a1ae82651ece964 (patch)
tree3b97c1d9699ef23e899bf1f0bab8b1049ed79036 /src/flash/cfi.c
parent495f257980926e3ea965f821332a86957ab9d702 (diff)
downloadriscv-openocd-97cc3e0dc84c5d3644b153e27a1ae82651ece964.zip
riscv-openocd-97cc3e0dc84c5d3644b153e27a1ae82651ece964.tar.gz
riscv-openocd-97cc3e0dc84c5d3644b153e27a1ae82651ece964.tar.bz2
Michael Kurz <michi.kurz@googlemail.com> MX29LV800B non-cfi flash.
git-svn-id: svn://svn.berlios.de/openocd/trunk@845 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/cfi.c')
-rw-r--r--src/flash/cfi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c
index 3c17980..5f64e11 100644
--- a/src/flash/cfi.c
+++ b/src/flash/cfi.c
@@ -95,6 +95,7 @@ cfi_fixup_t cfi_jedec_fixups[] = {
{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},
+ {CFI_MFR_MX, 0x225b, cfi_fixup_non_cfi, NULL},
{0, 0, NULL, NULL}
};
@@ -108,6 +109,7 @@ cfi_fixup_t cfi_0002_fixups[] = {
{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_MX, 0x225b, 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}
};