mtd: rawnand: Add All 1.8V AC chips have a broken GET_FEATURES(TIMINGS)
diff mbox series

Message ID 1540449871-7224-2-git-send-email-masonccyang@mxic.com.tw
State Accepted
Commit acc9d62b68728ada7356e348f3c68f20a5cbd2a1
Headers show
Series
  • mtd: rawnand: Add All 1.8V AC chips have a broken GET_FEATURES(TIMINGS)
Related show

Commit Message

Mason Yang Oct. 25, 2018, 6:44 a.m. UTC
From: Mason Yang <masonccyang@mxic.com.tw>

Make sure we flag all 1.8V broken chips as not supporting this features.

Signed-off-by: Mason Yang <masonccyang@mxic.com.tw>
---
 drivers/mtd/nand/raw/nand_macronix.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Miquel Raynal Nov. 11, 2018, 8:55 p.m. UTC | #1
Hi Mason,

masonccyang@mxic.com.tw wrote on Thu, 25 Oct 2018 14:44:31 +0800:

> From: Mason Yang <masonccyang@mxic.com.tw>
> 
> Make sure we flag all 1.8V broken chips as not supporting this features.
> 
> Signed-off-by: Mason Yang <masonccyang@mxic.com.tw>
> ---

Applied to nand/next (with the title slightly modified).

Thanks,
Miquèl

Patch
diff mbox series

diff --git a/drivers/mtd/nand/raw/nand_macronix.c b/drivers/mtd/nand/raw/nand_macronix.c
index 49c546c..3836544 100644
--- a/drivers/mtd/nand/raw/nand_macronix.c
+++ b/drivers/mtd/nand/raw/nand_macronix.c
@@ -33,6 +33,13 @@  static void macronix_nand_fix_broken_get_timings(struct nand_chip *chip)
 		"MX30LF4G18AC",
 		"MX30LF4G28AC",
 		"MX60LF8G18AC",
+		"MX30UF1G18AC",
+		"MX30UF1G16AC",
+		"MX30UF2G18AC",
+		"MX30UF2G16AC",
+		"MX30UF4G18AC",
+		"MX30UF4G16AC",
+		"MX30UF4G28AC",
 	};
 
 	if (!chip->parameters.supports_set_get_features)