aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Zhang <ken.zhang028@gmail.com>2018-08-09 06:01:11 +1000
committerTim Newsome <tim@sifive.com>2018-08-08 13:01:11 -0700
commit37d0dd08442e0ec1935bb082d9207ff49482a654 (patch)
treef549f3097d96542694cdda33a8d1a95f8bc55248
parente4d98b83da0d691c193910976141a3e52dfcdfe0 (diff)
downloadriscv-openocd-37d0dd08442e0ec1935bb082d9207ff49482a654.zip
riscv-openocd-37d0dd08442e0ec1935bb082d9207ff49482a654.tar.gz
riscv-openocd-37d0dd08442e0ec1935bb082d9207ff49482a654.tar.bz2
Update s25fl256 flash device id, cypress now. (#285)
* Updated s25fl256 flash device id, cypress now. * Put the old entry back to support older board.
-rw-r--r--src/flash/nor/spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/nor/spi.c b/src/flash/nor/spi.c
index b255edb..6ac253d 100644
--- a/src/flash/nor/spi.c
+++ b/src/flash/nor/spi.c
@@ -54,6 +54,7 @@ const struct flash_device flash_devices[] = {
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("cy s25fl256", 0xd8, 0xc7, 0x00196001, 0x100, 0x10000, 0x2000000),
FLASH_ID("atmel 25f512", 0x52, 0xc7, 0x0065001f, 0x80, 0x8000, 0x10000),
FLASH_ID("atmel 25f1024", 0x52, 0x62, 0x0060001f, 0x100, 0x8000, 0x20000),
FLASH_ID("atmel 25f2048", 0x52, 0x62, 0x0063001f, 0x100, 0x10000, 0x40000),