Hi,
--- a/drivers/mtd/spi-nor/macronix.c
+++ b/drivers/mtd/spi-nor/macronix.c
@@ -262,6 +262,13 @@ static const struct flash_info
macronix_nor_parts[] = {
.id = SNOR_ID(0xc2, 0x80, 0x3a),
}, {
.id = SNOR_ID(0xc2, 0x85, 0x3a),
+ }, {
+ .id = SNOR_ID(0xc2, 0x80, 0x3b),
+ }, {
+ .id = SNOR_ID(0xc2, 0x85, 0x3b),
These and all of patch 8/9 is not needed because you add the whole
manufacturer in the next line.
+ }, {
+ /* Need the manufacturer fixups. Keep this last */
+ .id = SNOR_ID(0xc2),
}
};
Replace patch 8/9 and 9/9 with just the following:
+ /* Need the manufacturer fixups. Keep this last */
+ { .id = SNOR_ID(0xc2) }