From 011cafaf2fe2417ec1f84f14a064583a37b9d650 Mon Sep 17 00:00:00 2001 From: James <> Date: Sat, 19 Dec 2015 14:40:26 +0000 Subject: first working version --- master/tg582_patch_1 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 master/tg582_patch_1 (limited to 'master/tg582_patch_1') 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) }, ++ -- cgit v1.2.3