kernel: 5.10: drop broken-flash-reset patch
authorChuanhong Guo <gch981213@gmail.com>
Fri, 28 Jan 2022 11:46:51 +0000 (19:46 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Fri, 28 Jan 2022 13:03:10 +0000 (21:03 +0800)
commitc06482489d79e9250efbee5e9238c8883a0e6bea
tree4a711b1adc54b0e733b54f65bd274c221c72f39b
parentebeb003470952ca08c25e650a35926fad25ebd91
kernel: 5.10: drop broken-flash-reset patch

Flash accessing instruction templates are determined during probe since
v5.6 for spimem-dirmap support in spi-nor driver in upstream commit:
df5c21002cf4 ("mtd: spi-nor: use spi-mem dirmap API")
As a result, changing bus_width on the fly doesn't work anymore and this
patch will cause executing spi-mem ops with 3-byte address on 16-32M
flash area.
We can't easily revert that behavioral change upstream so drop the patch
to prevent u-boot and eeprom from being erased.

Fixes: b10d604459("kernel: add linux 5.10 support")
Reported-by: Frank Di Matteo <dimatto@foxmail.com>
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/generic/pending-5.10/481-mtd-spi-nor-rework-broken-flash-reset-support.patch [deleted file]
target/linux/ramips/patches-5.10/405-mtd-spi-nor-Add-support-for-BoHong-bh25q128as.patch