Skip to content

Commit

Permalink
ramips: fix software reboot failure on HILINK HLK-7628N
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
liuyuf78fk authored and 981213 committed Jun 23, 2021
1 parent b843540 commit e6b3e77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts
Expand Up @@ -47,6 +47,7 @@
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
broken-flash-reset;

partitions {
compatible = "fixed-partitions";
Expand Down

0 comments on commit e6b3e77

Please sign in to comment.