[linux] 01/03: spi-nor: Add support for n25q256a11 SPI flash device (Closes: #843650)
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Thu Dec 29 18:08:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch jessie
in repository linux.
commit 45680edb40236d9dc4a981602116432cd1a8647a
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu Dec 29 16:36:26 2016 +0000
spi-nor: Add support for n25q256a11 SPI flash device (Closes: #843650)
Thanks to Matt Sickler
---
debian/changelog | 2 ++
...d-support-for-n25q256a11-spi-flash-device.patch | 35 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 38 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 9f06e1f..5cf8c8a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -511,6 +511,8 @@ linux (3.16.39-1) UNRELEASED; urgency=medium
* ALSA: pcm : Call kill_fasync() in stream lock (CVE-2016-9794)
* security,perf: Allow unprivileged use of perf_event_open to be disabled
(sysctl: kernel.perf_event_paranoid=3)
+ * spi-nor: Add support for n25q256a11 SPI flash device (Closes: #843650)
+ (thanks to Matt Sickler)
[ Julien Cristau ]
* hwrng: Add chaoskey driver, backported from 4.8 (Closes: #839616)
diff --git a/debian/patches/features/all/spi-nor-add-support-for-n25q256a11-spi-flash-device.patch b/debian/patches/features/all/spi-nor-add-support-for-n25q256a11-spi-flash-device.patch
new file mode 100644
index 0000000..7ee9ba7
--- /dev/null
+++ b/debian/patches/features/all/spi-nor-add-support-for-n25q256a11-spi-flash-device.patch
@@ -0,0 +1,35 @@
+From: Matt Sickler <matt.sickler at daktronics.com>
+Date: Tue, 08 Nov 2016 09:02:36 -0600
+Subject: spi-nor: Add support for n25q256a11 SPI flash device
+Forwarded: not-needed
+Bug-Debian: https://bugs.debian.org/843650
+
+We have a system that uses the n25q256a11 SPI flash device which is not
+marked as supported in the 3.16 kernel series.
+
+This patch is *not* for use in unstable, only Jessie. A version between 3.16
+and 4.7 (stretch) revamped how the chip support is determined, added explicit
+support for this chip, and also added a way to add new chips at runtime
+without requiring a recompile - all things that make this patch pointless on
+unstable/testing.
+
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -281,6 +281,7 @@ static const struct spi_device_id m25p_i
+ {"mx25l12855e"},{"mx25l25635e"},{"mx25l25655e"},{"mx66l51235l"},
+ {"mx66l1g55g"},
+ {"n25q064"}, {"n25q128a11"}, {"n25q128a13"}, {"n25q256a"},
++ {"n25q256a11"},
+ {"n25q512a"}, {"n25q512ax3"}, {"n25q00"},
+ {"pm25lv512"}, {"pm25lv010"}, {"pm25lq032"},
+ {"s25sl032p"}, {"s25sl064p"}, {"s25fl256s0"}, {"s25fl256s1"},
+--- a/drivers/mtd/spi-nor/spi-nor.c
++++ b/drivers/mtd/spi-nor/spi-nor.c
+@@ -489,6 +489,7 @@ static const struct spi_device_id spi_no
+ { "n25q128a11", INFO(0x20bb18, 0, 64 * 1024, 256, 0) },
+ { "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
+ { "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
++ { "n25q256a11", INFO(0x20bb19, 0, 64 * 1024, 512, SECT_4K) },
+ { "n25q512a", INFO(0x20bb20, 0, 64 * 1024, 1024, SECT_4K) },
+
+ /* PMC */
diff --git a/debian/patches/series b/debian/patches/series
index 667a2ff..3f72b1d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -292,6 +292,7 @@ features/all/power-reset-Add-generic-SYSCON-register-mapped-reset.patch
features/all/power-reset-corrections-for-simple-syscon-reboot-dri.patch
features/all/power-reset-adjust-priority-of-simple-syscon-reboot-.patch
features/all/syscon-reboot-Backport-to-pre-register_restart_handl.patch
+features/all/spi-nor-add-support-for-n25q256a11-spi-flash-device.patch
# Update r8723au to 3.17
features/all/r8723au/0001-staging-rtl8723au-rtw_get_wps_ie23a-Remove-unused-de.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list