diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-09-14 12:03:01 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-09-14 12:03:01 +0000 |
commit | a07788ae6303312c57760bec6d6f34814c016f18 (patch) | |
tree | cdf153b587d0d79d0ea89922d6bfd0f57ea99ab7 /target/linux/generic/patches-2.6.36/090-mtd-m25p80-add-en25f32-chip-support.patch | |
parent | 97a286cb62475a3dce30c2c69d1248f0b98288c4 (diff) | |
download | mtk-20170518-a07788ae6303312c57760bec6d6f34814c016f18.zip mtk-20170518-a07788ae6303312c57760bec6d6f34814c016f18.tar.gz mtk-20170518-a07788ae6303312c57760bec6d6f34814c016f18.tar.bz2 |
generic: add support for the EON EN25F32 flash chip
* based on a patch by laigor <laigor@mail.ru> from #7882
SVN-Revision: 23058
Diffstat (limited to 'target/linux/generic/patches-2.6.36/090-mtd-m25p80-add-en25f32-chip-support.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.36/090-mtd-m25p80-add-en25f32-chip-support.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.36/090-mtd-m25p80-add-en25f32-chip-support.patch b/target/linux/generic/patches-2.6.36/090-mtd-m25p80-add-en25f32-chip-support.patch new file mode 100644 index 0000000..5de170d --- /dev/null +++ b/target/linux/generic/patches-2.6.36/090-mtd-m25p80-add-en25f32-chip-support.patch @@ -0,0 +1,12 @@ +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -656,7 +656,8 @@ static const struct spi_device_id m25p_i + { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) }, + { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) }, + +- /* EON -- en25pxx */ ++ /* EON -- en25xxx */ ++ { "en25f32", INFO(0x1c3116, 0, 64 * 1024, 64, SECT_4K) }, + { "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) }, + { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + |