Rebased from upstream / out of band repository.
[librecmc/librecmc.git] / target / linux / generic / pending-4.14 / 479-mtd-spi-nor-add-eon-en25qh64.patch
1 --- a/drivers/mtd/spi-nor/spi-nor.c
2 +++ b/drivers/mtd/spi-nor/spi-nor.c
3 @@ -956,6 +956,7 @@ static const struct flash_info spi_nor_i
4         { "en25q64",    INFO(0x1c3017, 0, 64 * 1024,  128, SECT_4K) },
5         { "en25q128",   INFO(0x1c3018, 0, 64 * 1024,  256, SECT_4K) },
6         { "en25qh32",   INFO(0x1c7016, 0, 64 * 1024,   64, 0) },
7 +       { "en25qh64",   INFO(0x1c7017, 0, 64 * 1024,   128, 0) },
8         { "en25qh128",  INFO(0x1c7018, 0, 64 * 1024,  256, 0) },
9         { "en25qh256",  INFO(0x1c7019, 0, 64 * 1024,  512, 0) },
10         { "en25s64",    INFO(0x1c3817, 0, 64 * 1024,  128, SECT_4K) },