summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-30 19:50:00 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-30 19:50:00 +0200
commit7053b9f5c7a76d9d94d66f2dcd2a8675c821aedd (patch)
tree01689a5c6c08131798e1017a9e3540e5dcb79a4f
parentf02248961e174d50367793b18035b6247ccb5918 (diff)
at91lib: Add Spansion S25FL016A SPI flash support
-rw-r--r--at91lib/memories/spi-flash/at26.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/at91lib/memories/spi-flash/at26.c b/at91lib/memories/spi-flash/at26.c
index 29522af..fefde6e 100644
--- a/at91lib/memories/spi-flash/at26.c
+++ b/at91lib/memories/spi-flash/at26.c
@@ -84,7 +84,9 @@ static const At26Desc at26Devices[] = {
{"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}
+ {"SST25VF512" , 0x000048BF, 64 * 1024, 256, 32 * 1024, AT26_BLOCK_ERASE_32K},
+ // Spansion
+ {"S25FL016A" , 0x00140201, 2 * 1024 * 1024, 256, 64 * 1024, AT26_BLOCK_ERASE_64K},
};
//------------------------------------------------------------------------------
personal git repositories of Harald Welte. Your mileage may vary