This is an automated email from Gerrit.

"Fawaz <fa...@tirmizi.dev>" just uploaded a new patch set to Gerrit, which you 
can find at https://review.openocd.org/c/openocd/+/7135

-- gerrit

commit 21508457e03054ca34eaa2a79e7823d9f7f5e225
Author: Fawaz Tirmizi <fa...@rivosinc.com>
Date:   Fri Aug 19 14:22:06 2022 -0700

    flash/nor/spi: Add issi is25lq040b to device list
    
    The HiFive Inventor uses this flash chip, so adding it will allow for
    openocd to be used to program it. These values were taken from the
    chip's documentation.
    
    Signed-off-by: Fawaz Tirmizi <fa...@rivosinc.com>
    Change-Id: I15c9d35f99d4500f73134cdc2d1b9ab6279b491c

diff --git a/src/flash/nor/spi.c b/src/flash/nor/spi.c
index 8f35d8f168..84bfd6beb1 100644
--- a/src/flash/nor/spi.c
+++ b/src/flash/nor/spi.c
@@ -120,6 +120,7 @@ const struct flash_device flash_devices[] = {
        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 is25lq040b",     0x03, 0x2b, 0x02, 0xd8, 0xc7, 
0x0013409d, 0x100, 0x10000, 0x400000),
 
        /* FRAM, no erase commands, no write page or sectors */
        FRAM_ID("fu mb85rs16n",         0x03, 0,    0x02, 0x00010104, 0x800),

-- 

Reply via email to