From e6b3e77e6ef635688b810a9bba528d477998270e Mon Sep 17 00:00:00 2001 From: Liu Yu Date: Sat, 12 Jun 2021 20:02:45 +0800 Subject: [PATCH] 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 --- target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts b/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts index f5106a50800..87dff72c401 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"; -- 2.30.2