diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2019-11-28 21:41:20 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-12-19 22:41:57 +0100 |
commit | c5d2f3c4765a93dbca9654858a8dec8bf307ad5f (patch) | |
tree | 61906595f55dbd17219d94438efb782cff4cb457 /target/linux/ipq806x/patches-4.19/105-mtd-nor-add-mx25l25635f.patch | |
parent | b1e8a390ea7bde59eb47bdd729228cb377aa6f6f (diff) | |
download | upstream-c5d2f3c4765a93dbca9654858a8dec8bf307ad5f.tar.gz upstream-c5d2f3c4765a93dbca9654858a8dec8bf307ad5f.tar.bz2 upstream-c5d2f3c4765a93dbca9654858a8dec8bf307ad5f.zip |
ipq806x: copy files from 4.14 to 4.19
This copies files from files-4.14 to files-4.19 directory in order to
get clear diffs for any changes done from now on.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[added missing commit description, refreshed ea8500 and wpq864 DTS]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/ipq806x/patches-4.19/105-mtd-nor-add-mx25l25635f.patch')
-rw-r--r-- | target/linux/ipq806x/patches-4.19/105-mtd-nor-add-mx25l25635f.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ipq806x/patches-4.19/105-mtd-nor-add-mx25l25635f.patch b/target/linux/ipq806x/patches-4.19/105-mtd-nor-add-mx25l25635f.patch new file mode 100644 index 0000000000..1c903bbc3b --- /dev/null +++ b/target/linux/ipq806x/patches-4.19/105-mtd-nor-add-mx25l25635f.patch @@ -0,0 +1,22 @@ +Subject: mtd: spi-nor: add mx25l25635f with SECT_4K + +This patch fixes an issue with the creation of the +ubi volume on the AVM FRITZ!Box 4040. The mx25l25635f +and mx25l25635e support SECT_4K which will set the +erase size to 4K. This is used by ubi to calculate +VID header offsets. Without this, uboot and linux +disagrees about the layout and refuse to attach +the ubi volume created by the other. + +--- +--- a/drivers/mtd/spi-nor/spi-nor.c ++++ b/drivers/mtd/spi-nor/spi-nor.c +@@ -1031,7 +1031,7 @@ static const struct flash_info spi_nor_i + { "mx25u6435f", INFO(0xc22537, 0, 64 * 1024, 128, SECT_4K) }, + { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) }, + { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) }, +- { "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, ++ { "mx25l25635f", INFO(0xc22019, 0, 64 * 1024, 512, SECT_4K) }, + { "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) }, + { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) }, + { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, |