diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-18 14:53:50 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-18 14:53:50 +0000 |
commit | a29ed2421268934bb353946972584bd746c788e1 (patch) | |
tree | f10ce4d0eda993581714b6350cccb0ef059189e4 /src/flash/non_cfi.c | |
parent | a92d27afb0733f6280088bd79b048cbd87a2a0c4 (diff) |
- add new non-cfi SST flash device. Thanks Øyvind Harboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@303 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/non_cfi.c')
-rw-r--r-- | src/flash/non_cfi.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/flash/non_cfi.c b/src/flash/non_cfi.c index d80f3784..dbb02b0c 100644 --- a/src/flash/non_cfi.c +++ b/src/flash/non_cfi.c @@ -88,6 +88,20 @@ non_cfi_t non_cfi_flashes[] = { } }, { + .mfr = CFI_MFR_SST, + .id = 0x2780, + .pri_id = 0x02, + .dev_size = 0x13, /* 2^19 = 512KB */ + .interface_desc = 0x2, /* x8 or x16 device */ + .max_buf_write_size = 0x0, + .num_erase_regions = 1, + .erase_region_info = + { + 0x0010007f, + 0x00000000 + } + }, + { .mfr = CFI_MFR_ST, .id = 0xd6, /* ST29F400BB */ .pri_id = 0x02, @@ -241,3 +255,4 @@ void cfi_fixup_non_cfi(flash_bank_t *bank, void *param) } } + |