[openwrt/openwrt] ramips: fix software reboot failure on HILINK HLK-7628N
LEDE Commits
lede-commits at lists.infradead.org
Tue Jun 22 23:23:31 PDT 2021
981213 pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/e6b3e77e6ef635688b810a9bba528d477998270e
commit e6b3e77e6ef635688b810a9bba528d477998270e
Author: Liu Yu <f78fk at live.com>
AuthorDate: Sat Jun 12 20:02:45 2021 +0800
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 at live.com>
---
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 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";
More information about the lede-commits
mailing list