diff options
author | Gunnar Henne <g.henne@combio.de> | 2011-08-18 09:52:16 +0100 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2011-08-18 09:55:44 +0100 |
commit | 0d5a38d82934a5886f8c1352d8ec875d4d865ad5 (patch) | |
tree | 5f8263f17188ac09bf8ec6529301a064ba8f0f98 /src/flash/nor/non_cfi.c | |
parent | 40ac04ca7a96e0dc80b65e9f017bc9ff517cc0b5 (diff) |
cfi: add EN29LV800BB support
Posted by telekatz@gmx.de in the bettyhacks forum for openocd
0.4.0 and integrated into 0.5.0 by Gunnar Henne.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/flash/nor/non_cfi.c')
-rw-r--r-- | src/flash/nor/non_cfi.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/flash/nor/non_cfi.c b/src/flash/nor/non_cfi.c index 9c516c25..b944b72c 100644 --- a/src/flash/nor/non_cfi.c +++ b/src/flash/nor/non_cfi.c @@ -412,6 +412,23 @@ static struct non_cfi non_cfi_flashes[] = { } }, { + .mfr = CFI_MFR_EON, + .id = 0x225b, /* EN29LV800BB */ + .pri_id = 0x02, + .dev_size = 1*MB, + .interface_desc = 0x2, /* x8 or x16 device with nBYTE */ + .max_buf_write_size = 0x0, + .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(15, 64*KB) + } + }, + { .mfr = CFI_MFR_ATMEL, .id = 0x00c0, /* Atmel 49BV1614 */ .pri_id = 0x02, |