From: Liu Yu Date: Sat, 12 Jun 2021 12:02:45 +0000 (+0800) Subject: ramips: fix software reboot failure on HILINK HLK-7628N X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e6b3e77e6ef635688b810a9bba528d477998270e;p=openwrt%2Fstaging%2Fthess.git ramips: fix software reboot failure on HILINK HLK-7628N In the new kernel version 5.X,reboot will fail. When SOC is reset, flash has not exited the 4-byte address mode, which causes the operation mode mismatch of flash during boot.Add broken-flash-reset to make flash exit 4-byte address mode before SOC reset Signed-off-by: Liu Yu --- diff --git a/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts b/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts index f5106a5080..87dff72c40 100644 --- a/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts +++ b/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts @@ -47,6 +47,7 @@ compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <10000000>; + broken-flash-reset; partitions { compatible = "fixed-partitions";