This is an automated email from Gerrit.

Tim Newsome ([email protected]) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/5323

-- gerrit

commit 750eed0bfa5f88251d784a8e54624c3770b0c734
Author: Tim Newsome <[email protected]>
Date:   Thu Oct 17 14:33:45 2019 -0700

    Fix erase command for some is25 flash devices.
    
    Specifically:
        issi is25lp256d
        issi is25wp256d
        issi is25lp512m
        issi is25wp512m
    
    Tested against issi is25wp256d.
    
    Signed-off-by: Tim Newsome <[email protected]>
    Change-Id: Idd92fdee2a3f025f2a0f19f0f8f1c4322e3c91a2

diff --git a/src/flash/nor/spi.c b/src/flash/nor/spi.c
index af72ffc..84eb08a 100644
--- a/src/flash/nor/spi.c
+++ b/src/flash/nor/spi.c
@@ -124,10 +124,10 @@ const struct flash_device flash_devices[] = {
        FLASH_ID("issi is25lp064",      0x03, 0x00, 0x02, 0xd8, 0xc7, 
0x0017609d, 0x100, 0x10000, 0x800000),
        FLASH_ID("issi is25lp128d",     0x03, 0xeb, 0x02, 0xd8, 0xc7, 
0x0018609d, 0x100, 0x10000, 0x1000000),
        FLASH_ID("issi is25wp128d",     0x03, 0xeb, 0x02, 0xd8, 0xc7, 
0x0018709d, 0x100, 0x10000, 0x1000000),
-       FLASH_ID("issi is25lp256d",     0x13, 0xec, 0x12, 0xdc, 0xc7, 
0x0019609d, 0x100, 0x10000, 0x2000000),
-       FLASH_ID("issi is25wp256d",     0x13, 0xec, 0x12, 0xdc, 0xc7, 
0x0019709d, 0x100, 0x10000, 0x2000000),
-       FLASH_ID("issi is25lp512m",     0x13, 0xec, 0x12, 0xdc, 0xc7, 
0x001a609d, 0x100, 0x10000, 0x4000000),
-       FLASH_ID("issi is25wp512m",     0x13, 0xec, 0x12, 0xdc, 0xc7, 
0x001a709d, 0x100, 0x10000, 0x4000000),
+       FLASH_ID("issi is25lp256d",     0x13, 0xec, 0x12, 0xd8, 0xc7, 
0x0019609d, 0x100, 0x10000, 0x2000000),
+       FLASH_ID("issi is25wp256d",     0x13, 0xec, 0x12, 0xd8, 0xc7, 
0x0019709d, 0x100, 0x10000, 0x2000000),
+       FLASH_ID("issi is25lp512m",     0x13, 0xec, 0x12, 0xd8, 0xc7, 
0x001a609d, 0x100, 0x10000, 0x4000000),
+       FLASH_ID("issi is25wp512m",     0x13, 0xec, 0x12, 0xd8, 0xc7, 
0x001a709d, 0x100, 0x10000, 0x4000000),
 
        /* FRAM, no erase commands, no write page or sectors */
        FRAM_ID("fu mb85rs16n",         0x03, 0,    0x02, 0x00010104, 0x800),

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to