mtd: spi-nor: winbond: add 1.8v SPI NOR Flash IDs
Subsystems (3)
PATCH v3 1/1 mtd: spi-nor: winbond: add 1.8v SPI NOR Flash IDs
From: wuxy <[email protected]>
Winbond has new 1.8V SPI NOR Flash IDs,we need to use the SPI flash IDs in kukui series,this patch can support the new flash IDs.
TEST=boot to shell,get the spi information from 'dmesg'.
This patch copied from:https://patchwork.ozlabs.org/patch/1150756/, The original patch is invalid,so re-submit a new patch for this.
--- drivers/mtd/spi-nor/winbond.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/mtd/spi-nor/winbond.c +9 -0
@@ -61,6 +61,15 @@ static const struct flash_info winbond_parts[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, {"w25m512jv" ,INFO (0xef7119 ,0 ,64 *1024 ,1024 , SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, + { "w25q64jwxxIM", INFO(0xef8017, 0, 64 * 1024, 128, +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { "w25q128jwxxIM", INFO(0xef8018, 0, 64 * 1024, 256, +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { "w25q256jwxxIM", INFO(0xef8019, 0, 64 * 1024, 512, +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, };/**
Signature · 1 line
2.20.1
Quoted 7 lines · On Thu, May 28, 2020 at 10:55 AM <[email protected]> wrote:
From: wuxy <[email protected]>
Winbond has new 1.8V SPI NOR Flash IDs,we need to use the SPI flash IDs in kukui series,this patch can support the new flash IDs.
TEST=boot to shell,get the spi information from 'dmesg'.
TEST= is Chromium OS specific, you can drop this line.
Quoted 3 lines
Signed-off-by Xingyu Wu <[email protected]>Signed-off-by ST Lin <[email protected]>
Quoted 3 lines
This patch copied from:https://patchwork.ozlabs.org/patch/1150756/, The original patch is invalid,so re-submit a new patch for this.
This belongs below the ---, but I guess the maintainer can help you with that.
Quoted 29 lines
--- drivers/mtd/spi-nor/winbond.c | 9 +++++++++ 1 file changed, 9 insertions(+)drivers/mtd/spi-nor/winbond.c +9
-1@@ -61,6 +61,15 @@ static const struct flash_info winbond_parts[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, {"w25m512jv" ,INFO (0xef7119 ,0 ,64 *1024 ,1024 , SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, + { "w25q64jwxxIM", INFO(0xef8017, 0, 64 * 1024, 128, +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { "w25q128jwxxIM", INFO(0xef8018, 0, 64 * 1024, 256, +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { "w25q256jwxxIM", INFO(0xef8019, 0, 64 * 1024, 512, +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, };/** -- 2.20.1
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · On Thu, May 28, 2020 at 11:16 AM 吴兴育B01779 <[email protected]> wrote:
Quoted 5 lines
This patch copied from:https://patchwork.ozlabs.org/patch/1150756/, The original patch is invalid,so re-submit a new patch for this.
This belongs below the ---, but I guess the maintainer can help you with that. --->This --- is automatically generated, it looks like I can't move it to below ---
Sure, but you can always edit the message before you send it (--annotate parameter of git send-email).
Quoted 60 lines
------------------ Original ------------------
From: "Nicolas Boichat"<[email protected]>; Date: Thu, May 28, 2020 11:06 AM To: "wuxy"<[email protected]>;Cc: "lkml"<[email protected]>; "linux-mtd"<[email protected]>; "stlin2"<[email protected]>; "wuxy"<[email protected]>;
Subject: Re: [PATCH] [v3]mtd: spi-nor: winbond: add 1.8v SPI NOR Flash IDsQuoted 7 lines · On Thu, May 28, 2020 at 10:55 AM <[email protected]> wrote:
From: wuxy <[email protected]>
Winbond has new 1.8V SPI NOR Flash IDs,we need to use the SPI flash IDs in kukui series,this patch can support the new flash IDs.
TEST=boot to shell,get the spi information from 'dmesg'.
TEST= is Chromium OS specific, you can drop this line.
Quoted 3 lines
Signed-off-by Xingyu Wu <[email protected]>Signed-off-by ST Lin <[email protected]>Tested-by Nicolas Boichat <[email protected]>Quoted 3 lines
This patch copied from:https://patchwork.ozlabs.org/patch/1150756/, The original patch is invalid,so re-submit a new patch for this.
This belongs below the ---, but I guess the maintainer can help you with that.
Quoted 29 lines
--- drivers/mtd/spi-nor/winbond.c | 9 +++++++++ 1 file changed, 9 insertions(+)drivers/mtd/spi-nor/winbond.c +9
-1@@ -61,6 +61,15 @@ static const struct flash_info winbond_parts[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, {"w25m512jv" ,INFO (0xef7119 ,0 ,64 *1024 ,1024 , SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, + { "w25q64jwxxIM", INFO(0xef8017, 0, 64 * 1024, 128, +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { "w25q128jwxxIM", INFO(0xef8018, 0, 64 * 1024, 256, +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { "w25q256jwxxIM", INFO(0xef8019, 0, 64 * 1024, 512, +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, };/** -- 2.20.1