aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/spi.c
diff options
context:
space:
mode:
authorAnders <anders@openpuma.org>2014-09-07 21:18:55 -0700
committerSpencer Oliver <spen@spen-soft.co.uk>2014-09-15 08:23:44 +0000
commitdd93e0662e40bf9484a5c622bbc882549b147081 (patch)
treeb4cf3a95b19d7f0c6804e8c4dbee2bb472735821 /src/flash/nor/spi.c
parent4efb3ebb769f6e4a9b8f6a9134d3fda8319d6b85 (diff)
downloadriscv-openocd-dd93e0662e40bf9484a5c622bbc882549b147081.zip
riscv-openocd-dd93e0662e40bf9484a5c622bbc882549b147081.tar.gz
riscv-openocd-dd93e0662e40bf9484a5c622bbc882549b147081.tar.bz2
flash: added new Spansion S25FL116K, S25FL132K, and S25FL164K devices
The new FL1-K family is replacing the FL-K family. The data from all three was based on the datasheet. In addition the 8MB S25FL164K was tested successfully with OpenOCD on a custom board. Change-Id: Idafeed86da12a481c0db92cc0de7ba28f50c2252 Signed-off-by: Anders <anders@openpuma.org> Reviewed-on: http://openocd.zylin.com/2281 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'src/flash/nor/spi.c')
-rw-r--r--src/flash/nor/spi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flash/nor/spi.c b/src/flash/nor/spi.c
index e87f675..ca5cc75 100644
--- a/src/flash/nor/spi.c
+++ b/src/flash/nor/spi.c
@@ -49,8 +49,11 @@ const struct flash_device flash_devices[] = {
FLASH_ID("sp s25fl004", 0xd8, 0xc7, 0x00120201, 0x100, 0x10000, 0x80000),
FLASH_ID("sp s25fl008", 0xd8, 0xc7, 0x00130201, 0x100, 0x10000, 0x100000),
FLASH_ID("sp s25fl016", 0xd8, 0xc7, 0x00140201, 0x100, 0x10000, 0x200000),
+ FLASH_ID("sp s25fl116k", 0xd8, 0xC7, 0x00154001, 0x100, 0x10000, 0x200000),
FLASH_ID("sp s25fl032", 0xd8, 0xc7, 0x00150201, 0x100, 0x10000, 0x400000),
+ FLASH_ID("sp s25fl132k", 0xd8, 0xC7, 0x00164001, 0x100, 0x10000, 0x400000),
FLASH_ID("sp s25fl064", 0xd8, 0xc7, 0x00160201, 0x100, 0x10000, 0x800000),
+ FLASH_ID("sp s25fl164k", 0xd8, 0xC7, 0x00174001, 0x100, 0x10000, 0x800000),
FLASH_ID("sp s25fl128", 0xd8, 0xC7, 0x00182001, 0x100, 0x10000, 0x1000000),
FLASH_ID("sp s25fl256", 0xd8, 0xC7, 0x00190201, 0x100, 0x10000, 0x2000000),
FLASH_ID("atmel 25f512", 0x52, 0xc7, 0x0065001f, 0x80, 0x8000, 0x10000),