lkml.org 
[lkml]   [2022]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/3] mtd: spi-nor: issi: is25wp256: Enable Quad Input Page Program
    Date
    The flash chip is25wp256 supports Quad Input Page Program. Enable it
    in its no_sfdp_flags flags.

    Signed-off-by: Sudip Mukherjee <sudip.mukherjee@sifive.com>
    ---
    drivers/mtd/spi-nor/issi.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/drivers/mtd/spi-nor/issi.c b/drivers/mtd/spi-nor/issi.c
    index 3c7d51d2b0509..9a04b03bebe0b 100644
    --- a/drivers/mtd/spi-nor/issi.c
    +++ b/drivers/mtd/spi-nor/issi.c
    @@ -71,7 +71,8 @@ static const struct flash_info issi_nor_parts[] = {
    { "is25wp128", INFO(0x9d7018, 0, 64 * 1024, 256)
    NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
    { "is25wp256", INFO(0x9d7019, 0, 64 * 1024, 512)
    - NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)
    + NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
    + SPI_NOR_QUAD_PP)
    FIXUP_FLAGS(SPI_NOR_4B_OPCODES)
    .fixups = &is25lp256_fixups },

    --
    2.30.2
    \
     
     \ /
      Last update: 2022-07-12 18:40    [W:3.765 / U:0.408 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site