aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorLiu Yu <f78fk@live.com>2021-06-12 20:02:45 +0800
committerChuanhong Guo <gch981213@gmail.com>2021-06-23 14:22:19 +0800
commite6b3e77e6ef635688b810a9bba528d477998270e (patch)
tree3e2fc7365dec178dbf22a4ccfb8234e7e83e8356 /target/linux
parentb8435400574ce21fd4e47799c65fbe919920221a (diff)
downloadupstream-e6b3e77e6ef635688b810a9bba528d477998270e.tar.gz
upstream-e6b3e77e6ef635688b810a9bba528d477998270e.tar.bz2
upstream-e6b3e77e6ef635688b810a9bba528d477998270e.zip
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 <f78fk@live.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts1
1 files changed, 1 insertions, 0 deletions
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";