Skip to contentSkip to conversation

mtd: spinand: macronix: Correct faulty page size of MX35LF4GE4AD

PATCH In review Jaime Liao 2 participants 2 messages Dec 25, 2023 – Dec 27, 2023

Subsystems (3)
lore
Share & tools
lore

Jaime Liao

author
#0 lore raw

PATCH 1/1 mtd: spinand: macronix: Correct faulty page size of MX35LF4GE4AD

From: JaimeLiao <[email protected]>

Correct page size of MX35LF4GE4AD to 4096.

---
 drivers/mtd/nand/spi/macronix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/spi/macronix.c +1 -1
index bbb1d68bce4a..f18c6cfe8ff5 100644
@@ -125,7 +125,7 @@ static const struct spinand_info macronix_spinand_table[] = {
 		     SPINAND_HAS_QE_BIT,
 		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout, NULL)),
 	SPINAND_INFO("MX35LF4GE4AD", 0x37,
-		     NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 1, 1, 1),
+		     NAND_MEMORG(1, 4096, 128, 64, 2048, 40, 1, 1, 1),
 		     NAND_ECCREQ(8, 512),
 		     SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
 					      &write_cache_variants,
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 8 lines · Jaime Liao

From: JaimeLiao <[email protected]>

Correct page size of MX35LF4GE4AD to 4096.

---
 drivers/mtd/nand/spi/macronix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

<formletter>

This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>