[PATCH v4] mtd: spi-nor: Add flash property for mt35xu02g
From: Ashish Kumar
Date: Thu Aug 29 2019 - 08:07:46 EST
mt35xu02g is Octal flash supporting Single I/O and QCTAL I/O
and it has been tested on LS1028ARDB
Signed-off-by: Kuldeep Singh <kuldeep.singh@xxxxxxx>
Signed-off-by: Ashish Kumar <ashish.kumar@xxxxxxx>
Reviewed-by: Vignesh Raghavendra <vigneshr@xxxxxx>
---
v4:
split into seperate patch
v3:
v2:
did not exist
drivers/mtd/spi-nor/spi-nor.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index b585f3fee4f0..409e81153525 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1899,6 +1899,9 @@ static const struct flash_info spi_nor_ids[] = {
SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ |
SPI_NOR_4B_OPCODES)
},
+ { "mt35xu02g", INFO(0x2c5b1c, 0, 128 * 1024, 2048,
+ SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ |
+ SPI_NOR_4B_OPCODES) },
/* PMC */
{ "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K_PMC) },
--
2.17.1