This is an automated email from Gerrit.

Pierre-Olivier Vauboin ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/4853

-- gerrit

commit 167cff09db46dd22c25873bac326fe38d3f38d94
Author: Pierre-Olivier Vauboin <[email protected]>
Date:   Tue Jan 15 16:07:10 2019 +0100

    src/flash/nor/spi: fix micron commands
    
    Commands for micron n25q256 have been incorrectly changed by 42f1cc57.
    It was causing "contents differ" errors when checking content after
    flashing.
    
    Change-Id: I2f211f26348164e37813cb69339aac524927cf1a
    Signed-off-by: Pierre-Olivier Vauboin <[email protected]>

diff --git a/src/flash/nor/spi.c b/src/flash/nor/spi.c
index af72ffc..0e4da3b 100644
--- a/src/flash/nor/spi.c
+++ b/src/flash/nor/spi.c
@@ -90,8 +90,8 @@ const struct flash_device flash_devices[] = {
        FLASH_ID("mac 25r6435f",        0x03, 0x00, 0x02, 0xd8, 0xc7, 
0x001728c2, 0x100, 0x10000, 0x800000),
        FLASH_ID("micron n25q064",      0x03, 0xeb, 0x02, 0xd8, 0xc7, 
0x0017ba20, 0x100, 0x10000, 0x800000),
        FLASH_ID("micron n25q128",      0x03, 0xeb, 0x02, 0xd8, 0xc7, 
0x0018ba20, 0x100, 0x10000, 0x1000000),
-       FLASH_ID("micron n25q256 3v",   0x13, 0xec, 0x12, 0xdc, 0xc7, 
0x0019ba20, 0x100, 0x10000, 0x2000000),
-       FLASH_ID("micron n25q256 1.8v", 0x13, 0xec, 0x12, 0xdc, 0xc7, 
0x0019bb20, 0x100, 0x10000, 0x2000000),
+       FLASH_ID("micron n25q256 3v",   0x03, 0xeb, 0x02, 0xd8, 0xc7, 
0x0019ba20, 0x100, 0x10000, 0x2000000),
+       FLASH_ID("micron n25q256 1.8v", 0x03, 0xeb, 0x02, 0xd8, 0xc7, 
0x0019bb20, 0x100, 0x10000, 0x2000000),
        FLASH_ID("micron mt25ql512",    0x13, 0xec, 0x12, 0xdc, 0xc7, 
0x0020ba20, 0x100, 0x10000, 0x4000000),
        FLASH_ID("micron mt25ql01",     0x13, 0xec, 0x12, 0xdc, 0xc7, 
0x0021ba20, 0x100, 0x10000, 0x8000000),
        FLASH_ID("micron mt25ql02",     0x13, 0xec, 0x12, 0xdc, 0xc7, 
0x0022ba20, 0x100, 0x10000, 0x10000000),

-- 


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

Reply via email to