summaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorMathias Kuester <kesmtp@freenet.de>2009-12-05 14:55:24 +0100
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-05 11:12:59 -0800
commit12b67a2b41557160b8daa23305cbc30a349588c1 (patch)
tree2e0f75ad96638d4ecb0f301966f76fd8dfc5051a /src/flash/nor
parentec8c3b5a678f3f236c3b574975eff6434e0aab60 (diff)
downloadopenocd_libswd-12b67a2b41557160b8daa23305cbc30a349588c1.tar.gz
openocd_libswd-12b67a2b41557160b8daa23305cbc30a349588c1.tar.bz2
openocd_libswd-12b67a2b41557160b8daa23305cbc30a349588c1.tar.xz
openocd_libswd-12b67a2b41557160b8daa23305cbc30a349588c1.zip
NOR: add 29LV400BC flash device
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/flash/nor')
-rw-r--r--src/flash/nor/non_cfi.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/flash/nor/non_cfi.c b/src/flash/nor/non_cfi.c
index 7e73afa1..b49e4415 100644
--- a/src/flash/nor/non_cfi.c
+++ b/src/flash/nor/non_cfi.c
@@ -281,6 +281,23 @@ static struct non_cfi non_cfi_flashes[] = {
}
},
{
+ .mfr = CFI_MFR_FUJITSU,
+ .id = 0xba, /* 29LV400BC */
+ .pri_id = 0x02,
+ .dev_size = 512*KB,
+ .interface_desc = 0x1, /* x8 or x16 device w/ nBYTE */
+ .max_buf_write_size = 0x00,
+ .status_poll_mask = CFI_STATUS_POLL_MASK_DQ5_DQ6_DQ7,
+ .num_erase_regions = 4,
+ .erase_region_info =
+ {
+ ERASE_REGION(1, 16*KB),
+ ERASE_REGION(2, 8*KB),
+ ERASE_REGION(1, 32*KB),
+ ERASE_REGION(7, 64*KB)
+ }
+ },
+ {
.mfr = CFI_MFR_AMIC,
.id = 0xb31a, /* A29L800A */
.pri_id = 0x02,