diff options
author | John Crispin <blogic@openwrt.org> | 2014-06-16 18:55:01 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-06-16 18:55:01 +0000 |
commit | 31bede7b7366bbb1493f993829eeca22113842fd (patch) | |
tree | 673b05efd675e514b4876869d0c3fc0894cb656a /target | |
parent | afcb9a0e28bb8a1204987e7bf4c3b53e0f40d49d (diff) | |
download | upstream-31bede7b7366bbb1493f993829eeca22113842fd.tar.gz upstream-31bede7b7366bbb1493f993829eeca22113842fd.tar.bz2 upstream-31bede7b7366bbb1493f993829eeca22113842fd.zip |
kernel/3.1{0, 2, 3, 4}: mtd: m25p80: add support for EON EN25QH128
This flash is used in newer Ubnt UniFi AP Pro
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41219 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
4 files changed, 80 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.10/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch b/target/linux/generic/patches-3.10/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch new file mode 100644 index 0000000000..7b5ca9806f --- /dev/null +++ b/target/linux/generic/patches-3.10/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch @@ -0,0 +1,20 @@ +From 0233dcb52eefa0b29250a6d8a58b3143790df57d Mon Sep 17 00:00:00 2001 +From: Sergey Ryazanov <ryazanov.s.a@gmail.com> +Date: Wed, 11 Jun 2014 02:23:00 +0400 +Subject: [PATCH] mtd: m25p80: add support for EON EN25QH128 + +Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> +--- + drivers/mtd/devices/m25p80.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -737,6 +737,7 @@ static const struct spi_device_id m25p_i + { "en25q32b", INFO(0x1c3016, 0, 64 * 1024, 64, 0) }, + { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) }, ++ { "en25qh128", INFO(0x1c7018, 0, 64 * 1024, 256, 0) }, + { "en25qh256", INFO(0x1c7019, 0, 64 * 1024, 512, 0) }, + + /* ESMT */ diff --git a/target/linux/generic/patches-3.12/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch b/target/linux/generic/patches-3.12/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch new file mode 100644 index 0000000000..543738cb39 --- /dev/null +++ b/target/linux/generic/patches-3.12/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch @@ -0,0 +1,20 @@ +From 0233dcb52eefa0b29250a6d8a58b3143790df57d Mon Sep 17 00:00:00 2001 +From: Sergey Ryazanov <ryazanov.s.a@gmail.com> +Date: Wed, 11 Jun 2014 02:23:00 +0400 +Subject: [PATCH] mtd: m25p80: add support for EON EN25QH128 + +Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> +--- + drivers/mtd/devices/m25p80.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -760,6 +760,7 @@ static const struct spi_device_id m25p_i + { "en25q32b", INFO(0x1c3016, 0, 64 * 1024, 64, 0) }, + { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) }, ++ { "en25qh128", INFO(0x1c7018, 0, 64 * 1024, 256, 0) }, + { "en25qh256", INFO(0x1c7019, 0, 64 * 1024, 512, 0) }, + + /* ESMT */ diff --git a/target/linux/generic/patches-3.13/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch b/target/linux/generic/patches-3.13/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch new file mode 100644 index 0000000000..35f84effb1 --- /dev/null +++ b/target/linux/generic/patches-3.13/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch @@ -0,0 +1,20 @@ +From 0233dcb52eefa0b29250a6d8a58b3143790df57d Mon Sep 17 00:00:00 2001 +From: Sergey Ryazanov <ryazanov.s.a@gmail.com> +Date: Wed, 11 Jun 2014 02:23:00 +0400 +Subject: [PATCH] mtd: m25p80: add support for EON EN25QH128 + +Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> +--- + drivers/mtd/devices/m25p80.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -751,6 +751,7 @@ static const struct spi_device_id m25p_i + { "en25q32b", INFO(0x1c3016, 0, 64 * 1024, 64, 0) }, + { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) }, ++ { "en25qh128", INFO(0x1c7018, 0, 64 * 1024, 256, 0) }, + { "en25qh256", INFO(0x1c7019, 0, 64 * 1024, 512, 0) }, + + /* ESMT */ diff --git a/target/linux/generic/patches-3.14/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch b/target/linux/generic/patches-3.14/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch new file mode 100644 index 0000000000..5465d1ce89 --- /dev/null +++ b/target/linux/generic/patches-3.14/473-mtd-m25p80-add-support-for-EON-EN25QH128-flash.patch @@ -0,0 +1,20 @@ +From 0233dcb52eefa0b29250a6d8a58b3143790df57d Mon Sep 17 00:00:00 2001 +From: Sergey Ryazanov <ryazanov.s.a@gmail.com> +Date: Wed, 11 Jun 2014 02:23:00 +0400 +Subject: [PATCH] mtd: m25p80: add support for EON EN25QH128 + +Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> +--- + drivers/mtd/devices/m25p80.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -909,6 +909,7 @@ static const struct spi_device_id m25p_i + { "en25q32b", INFO(0x1c3016, 0, 64 * 1024, 64, 0) }, + { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) }, ++ { "en25qh128", INFO(0x1c7018, 0, 64 * 1024, 256, 0) }, + { "en25qh256", INFO(0x1c7019, 0, 64 * 1024, 512, 0) }, + + /* ESMT */ |