]> git.sur5r.net Git - openocd/commitdiff
topic: Added Spansion S25FL128S and S25FL256S spifi devices.
authorSteve Moorby <steve.moorby60@gmail.com>
Sat, 28 Dec 2013 15:23:41 +0000 (15:23 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 30 Dec 2013 15:48:36 +0000 (15:48 +0000)
S25FL256S device tested on mbest LPC4357 EVM, S25S128S untested but
from the same data sheet.

Change-Id: Idf58416aab08671fe29d22c3c34c2118b25a9d45
Signed-off-by: Steve Moorby <steve.moorby60@gmail.com>
Reviewed-on: http://openocd.zylin.com/1844
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/flash/nor/spi.c

index 789757e32216ddb0643f140f964b869046f3d0a7..2eef632634814c0ebee16ff16e350c7190099ce5 100644 (file)
@@ -51,6 +51,8 @@ struct flash_device flash_devices[] = {
        FLASH_ID("sp s25fl016",    0xd8, 0xc7, 0x00140201, 0x100, 0x10000, 0x200000),
        FLASH_ID("sp s25fl032",    0xd8, 0xc7, 0x00150201, 0x100, 0x10000, 0x400000),
        FLASH_ID("sp s25fl064",    0xd8, 0xc7, 0x00160201, 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),
        FLASH_ID("atmel 25f1024",  0x52, 0x62, 0x0060001f, 0x100, 0x8000,  0x20000),
        FLASH_ID("atmel 25f2048",  0x52, 0x62, 0x0063001f, 0x100, 0x10000, 0x40000),