diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2014-01-20 13:56:24 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2014-01-20 13:56:24 +0000 |
commit | 6bd1a3700191f14d64c417a1e443ec035a4efee7 (patch) | |
tree | 2c3d28386bbc47c37b708c0937962caae6a5ffa9 /target/linux/generic/patches-3.13/009-mtd_m25p80_add_support_for_esmt_f25l32pa.patch | |
parent | c67ec51c85184c4fb3b6cf13f6ffc1e810ecdc6f (diff) | |
download | master-31e0f0ae-6bd1a3700191f14d64c417a1e443ec035a4efee7.tar.gz master-31e0f0ae-6bd1a3700191f14d64c417a1e443ec035a4efee7.tar.bz2 master-31e0f0ae-6bd1a3700191f14d64c417a1e443ec035a4efee7.zip |
add initial 3.13 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39348
Diffstat (limited to 'target/linux/generic/patches-3.13/009-mtd_m25p80_add_support_for_esmt_f25l32pa.patch')
-rw-r--r-- | target/linux/generic/patches-3.13/009-mtd_m25p80_add_support_for_esmt_f25l32pa.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.13/009-mtd_m25p80_add_support_for_esmt_f25l32pa.patch b/target/linux/generic/patches-3.13/009-mtd_m25p80_add_support_for_esmt_f25l32pa.patch new file mode 100644 index 0000000000..6cb1fb2e27 --- /dev/null +++ b/target/linux/generic/patches-3.13/009-mtd_m25p80_add_support_for_esmt_f25l32pa.patch @@ -0,0 +1,37 @@ +From 7d75ef5f56dbc2bedb9a893eb9ecfd03c456338d Mon Sep 17 00:00:00 2001 +From: Flavio Silveira <fggs@terra.com.br> +Date: Thu, 29 Aug 2013 08:51:48 -0300 +Subject: [PATCH v2] mtd: m25p80: Add support for ESMT F25L32PA + +This flashchip is used in D-Link DIR-610 A1 router board +and maybe several others, yet is not kernel upstream. + +So add support for it according to datasheet [0], making it easier +to support other boards using this flashchip in the future. + +Changelog v2: + - Better description + - Datasheet link at the bottom, similar to other patches. + +[0] http://www.esmt.com.tw/DB/manager/upload/F25L32PA.pdf + +Signed-off-by: Flavio Silveira <fggs@terra.com.br> +--- + drivers/mtd/devices/m25p80.c | 3 +++ + 1 file changed, 3 insertions(+) + + http://patchwork.ozlabs.org/patch/272438/ + http://lists.infradead.org/pipermail/linux-mtd/2013-September/048511.html + +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -750,6 +750,9 @@ static const struct spi_device_id m25p_i + /* ESMT */ + { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K) }, + ++ /* ESMT */ ++ { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K) }, ++ + /* Everspin */ + { "mr25h256", CAT25_INFO( 32 * 1024, 1, 256, 2, M25P_NO_ERASE | M25P_NO_FR) }, + { "mr25h10", CAT25_INFO(128 * 1024, 1, 256, 3, M25P_NO_ERASE | M25P_NO_FR) }, |