summaryrefslogtreecommitdiff
path: root/src/flash/non_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/non_cfi.c
parent495f257980926e3ea965f821332a86957ab9d702 (diff)
downloadopenocd+libswd-97cc3e0dc84c5d3644b153e27a1ae82651ece964.tar.gz
openocd+libswd-97cc3e0dc84c5d3644b153e27a1ae82651ece964.tar.bz2
openocd+libswd-97cc3e0dc84c5d3644b153e27a1ae82651ece964.tar.xz
openocd+libswd-97cc3e0dc84c5d3644b153e27a1ae82651ece964.zip
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/non_cfi.c')
-rw-r--r--src/flash/non_cfi.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/flash/non_cfi.c b/src/flash/non_cfi.c
index e1b7caaa..7b4ae3af 100644
--- a/src/flash/non_cfi.c
+++ b/src/flash/non_cfi.c
@@ -204,6 +204,23 @@ non_cfi_t non_cfi_flashes[] = {
}
},
{
+ .mfr = CFI_MFR_MX,
+ .id = 0x225b, /* MX29LV800B */
+ .pri_id = 0x02,
+ .dev_size = 0x14, /* 2^20 = 1MB */
+ .interface_desc = 0x2, /* x8 or x16 device with nBYTE */
+ .max_buf_write_size = 0x0,
+ .num_erase_regions = 4,
+ .erase_region_info =
+ {
+ 0x00400000, /* 1x 16KB */
+ 0x00200001, /* 2x 8KB */
+ 0x00800000, /* 1x 32KB */
+ 0x0100000e, /* 15x 64KB */
+ 0x00000000
+ }
+ },
+ {
.mfr = 0,
.id = 0,
}