From 254bde2a23d10e0bfb26577f801afaf348e4316b Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 14 Oct 2008 06:27:46 +0000 Subject: Ben Bodley TEKNIQUE - support for the 1Mb Spansion Flash S29AL008D. git-svn-id: svn://svn.berlios.de/openocd/trunk@1051 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/non_cfi.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/flash/non_cfi.c') diff --git a/src/flash/non_cfi.c b/src/flash/non_cfi.c index 7b4ae3af..632ae7e9 100644 --- a/src/flash/non_cfi.c +++ b/src/flash/non_cfi.c @@ -220,6 +220,23 @@ non_cfi_t non_cfi_flashes[] = { 0x00000000 } }, + { + .mfr = CFI_MFR_AMD, + .id = 0x225b, /* S29AL008D */ + .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, -- cgit v1.2.3