Skip to content
Snippets Groups Projects
Commit c0648248 authored by Chuanhong Guo's avatar Chuanhong Guo
Browse files

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: b10d6044("kernel: add linux 5.10 support")
Reported-by: default avatarFrank Di Matteo <dimatto@foxmail.com>
Signed-off-by: default avatarChuanhong Guo <gch981213@gmail.com>
parent ebeb0034
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment