Author: uwe Date: 2010-01-23 16:15:19 +0100 (Sat, 23 Jan 2010) New Revision: 881
Modified: trunk/flashchips.c trunk/flashchips.h Log: Add support for the SST39SF512 chip.
All operations tested by me, works fine.
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de Acked-by: Sean Nelson audiohacked@gmail.com
Modified: trunk/flashchips.c =================================================================== --- trunk/flashchips.c 2010-01-22 10:49:33 UTC (rev 880) +++ trunk/flashchips.c 2010-01-23 15:15:19 UTC (rev 881) @@ -3863,6 +3863,32 @@
{ .vendor = "SST", + .name = "SST39SF512", + .bustype = CHIP_BUSTYPE_PARALLEL, + .manufacture_id = SST_ID, + .model_id = SST_39SF512, + .total_size = 64, + .page_size = 4096, + .tested = TEST_OK_PREW, + .probe = probe_jedec, + .probe_timing = 1, /* 150 ns */ + .erase = NULL, + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 16} }, + .block_erase = erase_sector_jedec, + }, { + .eraseblocks = { {64 * 1024, 1} }, + .block_erase = erase_chip_block_jedec, + } + }, + .write = write_49f002, + .read = read_memmapped, + }, + + { + .vendor = "SST", .name = "SST39SF010A", .bustype = CHIP_BUSTYPE_PARALLEL, .manufacture_id = SST_ID,
Modified: trunk/flashchips.h =================================================================== --- trunk/flashchips.h 2010-01-22 10:49:33 UTC (rev 880) +++ trunk/flashchips.h 2010-01-23 15:15:19 UTC (rev 881) @@ -406,6 +406,7 @@ #define SST_29VF020 0x25 #define SST_29SF040 0x13 #define SST_29VF040 0x14 +#define SST_39SF512 0xB4 #define SST_39SF010 0xB5 #define SST_39SF020 0xB6 /* Same as 39SF020A */ #define SST_39SF040 0xB7