]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mtd: rawnand: Flag 1.8V AC chips with a broken GET_FEATURES(TIMINGS)
authorMason Yang <masonccyang@mxic.com.tw>
Thu, 25 Oct 2018 06:44:31 +0000 (14:44 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 6 Nov 2018 09:18:01 +0000 (10:18 +0100)
Make sure we flag all 1.8V broken chips as not supporting this feature.

Signed-off-by: Mason Yang <masonccyang@mxic.com.tw>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/nand_macronix.c

index 358dcc957bb20c1d1600f2819661f9f35ccbb706..47d8cda547cfe10c87852f5d855ab9157bc6fe73 100644 (file)
@@ -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)