diff options
author | Jihoon Han <rapid_renard@renard.ga> | 2021-10-01 14:52:19 +0900 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-10-31 21:56:56 +0100 |
commit | a61a41d4aac6765544961aa9ea303af2a3a9634c (patch) | |
tree | 913a9084b49466af0c8ad9a1f321bf3f86a4281a /target/linux/generic/pending-5.4/484-mtd-spi-nor-add-esmt-f25l16pa.patch | |
parent | 323bd7b0f576bf83a5f72a97f2169d7e50ad046b (diff) | |
download | upstream-a61a41d4aac6765544961aa9ea303af2a3a9634c.tar.gz upstream-a61a41d4aac6765544961aa9ea303af2a3a9634c.tar.bz2 upstream-a61a41d4aac6765544961aa9ea303af2a3a9634c.zip |
kernel: add support for ESMT F25L16PA(2S) SPI-NOR
This fixes support for Dongwon T&I DW02-412H which uses F25L16PA(2S) flash.
Signed-off-by: Jihoon Han <rapid_renard@renard.ga>
Reviewed-by: Sungbo Eo <mans0n@gorani.run>
[refresh patches]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/generic/pending-5.4/484-mtd-spi-nor-add-esmt-f25l16pa.patch')
-rw-r--r-- | target/linux/generic/pending-5.4/484-mtd-spi-nor-add-esmt-f25l16pa.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/pending-5.4/484-mtd-spi-nor-add-esmt-f25l16pa.patch b/target/linux/generic/pending-5.4/484-mtd-spi-nor-add-esmt-f25l16pa.patch new file mode 100644 index 0000000000..0a7d4f86d5 --- /dev/null +++ b/target/linux/generic/pending-5.4/484-mtd-spi-nor-add-esmt-f25l16pa.patch @@ -0,0 +1,10 @@ +--- a/drivers/mtd/spi-nor/spi-nor.c ++++ b/drivers/mtd/spi-nor/spi-nor.c +@@ -2243,6 +2243,7 @@ static const struct flash_info spi_nor_i + { "en25s64", INFO(0x1c3817, 0, 64 * 1024, 128, SECT_4K) }, + + /* ESMT */ ++ { "f25l16pa-2s", INFO(0x8c2115, 0, 64 * 1024, 32, SECT_4K | SPI_NOR_HAS_LOCK) }, + { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K | SPI_NOR_HAS_LOCK) }, + { "f25l32qa", INFO(0x8c4116, 0, 64 * 1024, 64, SECT_4K | SPI_NOR_HAS_LOCK) }, + { "f25l64qa", INFO(0x8c4117, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_HAS_LOCK) }, |