summaryrefslogtreecommitdiffstats
path: root/master/tg582_patch_1
diff options
context:
space:
mode:
Diffstat (limited to 'master/tg582_patch_1')
-rw-r--r--master/tg582_patch_118
1 files changed, 18 insertions, 0 deletions
diff --git a/master/tg582_patch_1 b/master/tg582_patch_1
new file mode 100644
index 0000000..e92d212
--- /dev/null
+++ b/master/tg582_patch_1
@@ -0,0 +1,18 @@
+diff --git a/target/linux/generic/patches-3.18/475-mtd-spi-nor-add-support-for-the-EON-EN25Q128.patch b/target/linux/generic/patches-3.18/475-mtd-spi-nor-add-support-for-the-EON-EN25Q128.patch
+new file mode 100644
+index 0000000..7bb550d
+--- /dev/null
++++ b/target/linux/generic/patches-3.18/475-mtd-spi-nor-add-support-for-the-EON-EN25Q128.patch
+@@ -0,0 +1,12 @@
++diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
++index c51ee52..09a1a12 100644
++--- a/drivers/mtd/spi-nor/spi-nor.c
+++++ b/drivers/mtd/spi-nor/spi-nor.c
++@@ -497,6 +497,7 @@ static const struct spi_device_id spi_nor_ids[] = {
++ { "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) },
+++ { "en25q128", INFO(0x1c3018, 0, 64 * 1024, 256, 0) },
++ { "en25qh128", INFO(0x1c7018, 0, 64 * 1024, 256, 0) },
++ { "en25qh256", INFO(0x1c7019, 0, 64 * 1024, 512, 0) },
++