Skip to content

Commit 37d0dd0

Browse files
kenzhang82timsifive
authored andcommitted
Update s25fl256 flash device id, cypress now. (#285)
* Updated s25fl256 flash device id, cypress now. * Put the old entry back to support older board.
1 parent e4d98b8 commit 37d0dd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/flash/nor/spi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const struct flash_device flash_devices[] = {
5454
FLASH_ID("sp s25fl164k", 0xd8, 0xc7, 0x00174001, 0x100, 0x10000, 0x800000),
5555
FLASH_ID("sp s25fl128", 0xd8, 0xc7, 0x00182001, 0x100, 0x10000, 0x1000000),
5656
FLASH_ID("sp s25fl256", 0xd8, 0xc7, 0x00190201, 0x100, 0x10000, 0x2000000),
57+
FLASH_ID("cy s25fl256", 0xd8, 0xc7, 0x00196001, 0x100, 0x10000, 0x2000000),
5758
FLASH_ID("atmel 25f512", 0x52, 0xc7, 0x0065001f, 0x80, 0x8000, 0x10000),
5859
FLASH_ID("atmel 25f1024", 0x52, 0x62, 0x0060001f, 0x100, 0x8000, 0x20000),
5960
FLASH_ID("atmel 25f2048", 0x52, 0x62, 0x0063001f, 0x100, 0x10000, 0x40000),

0 commit comments

Comments
 (0)