diff mbox series

patch v2: SPI NOR: zynqmp: zynq: gd55lx02g

Message ID 20221211155535.45337-1-vlim@gigadevice.com
State Changes Requested
Delegated to: Michal Simek
Headers show
Series patch v2: SPI NOR: zynqmp: zynq: gd55lx02g | expand

Commit Message

Victor Lim Dec. 11, 2022, 3:55 p.m. UTC
adding gd55lx02g to the file

Signed-off-by: Victor Lim <vlim@gigadevice.com>
---
 drivers/mtd/spi/spi-nor-ids.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Dhruva Gole Dec. 12, 2022, 7:55 a.m. UTC | #1
Title should be
[PATCH V2] SPI NOR: zynqmp: zynq: gd55lx02g

The commit need not contain patch version information. You can use the
command:
git format-patch -M -C -o mypatch --cover-letter --subject-prefix=" 
PATCH V2" -1

while generating the patch.

On 11/12/22 21:25, Victor Lim wrote:
> adding gd55lx02g to the file
> 
Also, adding the flash vendor name, datasheet link would help. For 
example see
https://lore.kernel.org/u-boot/be07aed81a6122f41d45a9f5a4390f1c194577e2.1624944246.git.Takahiro.Kuwano@infineon.com/

Please use that as a template.

> Signed-off-by: Victor Lim <vlim@gigadevice.com>
[...]
diff mbox series

Patch

diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 726781f15b..a729575979 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -194,6 +194,8 @@  const struct flash_info spi_nor_ids[] = {
 	SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES)},
 	{INFO("gd55lx01g", 0xc8681B, 0, 64 * 1024, 2048,	SECT_4K |
 	SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES)},
+	{INFO("gd55lx02g", 0xc8681C, 0, 64 * 1024, 4096,	SECT_4K |
+	SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES)},
 #endif
 #ifdef CONFIG_SPI_FLASH_ISSI		/* ISSI */
 	/* ISSI */