ramips: fix software reboot failure on HILINK HLK-7628N
authorLiu Yu <f78fk@live.com>
Sat, 12 Jun 2021 12:02:45 +0000 (20:02 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Wed, 23 Jun 2021 06:22:19 +0000 (14:22 +0800)
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>
target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts

index f5106a50800e8de96445e064111a314aaf24294a..87dff72c401dbdbe45793a90fa7c63d01dd4f1d1 100644 (file)
@@ -47,6 +47,7 @@
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
+               broken-flash-reset;
 
                partitions {
                        compatible = "fixed-partitions";