generic: Convert incorrect generic/5.10 patches
[openwrt/staging/ansuel.git] / target / linux / generic / pending-5.10 / 484-mtd-spi-nor-add-esmt-f25l16pa.patch
1 From: Jihoon Han <rapid_renard@renard.ga>
2 Subject: mtd/spi-nor/esmt: Add support for ESMT F25L16PA(2S) SPI-NOR
3
4 This fixes support for Dongwon T&I DW02-412H which uses F25L16PA(2S) flash.
5
6 Submitted-by: Jihoon Han <rapid_renard@renard.ga>
7 Reviewed-by: Sungbo Eo <mans0n@gorani.run>
8 [refresh patches]
9 Submitted-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
10 ---
11 drivers/mtd/spi-nor/esmt.c | 2 ++
12 1 files changed, 2 insertions(+)
13
14 --- a/drivers/mtd/spi-nor/esmt.c
15 +++ b/drivers/mtd/spi-nor/esmt.c
16 @@ -10,6 +10,8 @@
17
18 static const struct flash_info esmt_parts[] = {
19 /* ESMT */
20 + { "f25l16pa-2s", INFO(0x8c2115, 0, 64 * 1024, 32,
21 + SECT_4K | SPI_NOR_HAS_LOCK) },
22 { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64,
23 SECT_4K | SPI_NOR_HAS_LOCK) },
24 { "f25l32qa", INFO(0x8c4116, 0, 64 * 1024, 64,