diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-02-07 13:09:50 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2017-02-07 15:35:39 +0100 |
commit | 174ce4c56d742712696e546eecee3d89e05c909a (patch) | |
tree | be0159e023e7ffe3c922ec183496768a0f2e4db9 /target/linux/generic/patches-4.9/479-enable_mtd_has_lock_for_f25l32pa.patch | |
parent | 6d5419d96ad7d6f2b6de112e8f8ba1f74ceb33d3 (diff) | |
download | upstream-174ce4c56d742712696e546eecee3d89e05c909a.tar.gz upstream-174ce4c56d742712696e546eecee3d89e05c909a.tar.bz2 upstream-174ce4c56d742712696e546eecee3d89e05c909a.zip |
kernel: update spi-nor in 4.9 to spi-nor tree version (next branch)
These are patches queued for 4.11. It adds support for even more hw and
removes some annoying WARN_ONCE.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/patches-4.9/479-enable_mtd_has_lock_for_f25l32pa.patch')
-rw-r--r-- | target/linux/generic/patches-4.9/479-enable_mtd_has_lock_for_f25l32pa.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/target/linux/generic/patches-4.9/479-enable_mtd_has_lock_for_f25l32pa.patch b/target/linux/generic/patches-4.9/479-enable_mtd_has_lock_for_f25l32pa.patch deleted file mode 100644 index 354eac0720..0000000000 --- a/target/linux/generic/patches-4.9/479-enable_mtd_has_lock_for_f25l32pa.patch +++ /dev/null @@ -1,22 +0,0 @@ -mtd: spi-nor: Add lock/unlock support for f25l32pa - -This chip has write protection enabled on power-up, -so this flag is necessary to support write operations. - -Signed-off-by: Victor Shyba <victor1984@riseup.net> -Acked-by: Marek Vasut <marek.vasut@gmail.com> ---- - drivers/mtd/spi-nor/spi-nor.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/drivers/mtd/spi-nor/spi-nor.c -+++ b/drivers/mtd/spi-nor/spi-nor.c -@@ -822,7 +822,7 @@ static const struct flash_info spi_nor_i - { "en25s64", INFO(0x1c3817, 0, 64 * 1024, 128, SECT_4K) }, - - /* ESMT */ -- { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K) }, -+ { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K | SPI_NOR_HAS_LOCK) }, - { "f25l32qa", INFO(0x8c4116, 0, 64 * 1024, 64, SECT_4K) }, - { "f25l64qa", INFO(0x8c4117, 0, 64 * 1024, 128, SECT_4K) }, - |