summaryrefslogtreecommitdiff
path: root/at91lib
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-24 11:00:40 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-24 11:00:40 +0200
commitb9bcac8c5db4cea078dd3728dec657716fa1b3c9 (patch)
treeafa2a9ddd435033ce8ebd876b1398119746c7b6d /at91lib
parent7268260e100caf8efb12193b12442574c5d4b193 (diff)
memories: add support for SST25VF040B
this is what we used in the v0.9 and v1.0 prototype builds of simtrace
Diffstat (limited to 'at91lib')
-rw-r--r--at91lib/memories/spi-flash/at26.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/at91lib/memories/spi-flash/at26.c b/at91lib/memories/spi-flash/at26.c
index d7934c9..29522af 100644
--- a/at91lib/memories/spi-flash/at26.c
+++ b/at91lib/memories/spi-flash/at26.c
@@ -83,6 +83,7 @@ static const At26Desc at26Devices[] = {
{"MX25L3205" , 0x001620C2, 4 * 1024 * 1024, 256, 64 * 1024, AT26_BLOCK_ERASE_64K},
{"MX25L6405" , 0x001720C2, 8 * 1024 * 1024, 256, 64 * 1024, AT26_BLOCK_ERASE_64K},
// Other
+ {"SST25VF040B", 0x008D25BF, 4 * 1024 * 1024, 256, 32 * 1024, AT26_BLOCK_ERASE_32K},
{"SST25VF512" , 0x000048BF, 64 * 1024, 256, 32 * 1024, AT26_BLOCK_ERASE_32K}
};
personal git repositories of Harald Welte. Your mileage may vary