ramips: use m25p,fast-read on Xiaomi Mi Router 4A Gb/3G v2
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 18 Nov 2020 19:48:26 +0000 (20:48 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 18 Nov 2020 20:13:46 +0000 (21:13 +0100)
The Xiaomi Mi Router 4A Gigabit model has a race condition on bootup
causing the SQUASHFS data errors to appear and create a bootloop
scenario.

Adding the m25p,fast-read property resolves this issue.

Suggested-by: David Bentham <db260179@gmail.com>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/dts/mt7621_xiaomi_mi-router-4a-3g-v2.dtsi

index 65b299e425c8b186f8e1950a387e0e375dab9382..c86bdadf55e3f7dc5da8806a6030df2bbf050778 100644 (file)
@@ -50,6 +50,7 @@
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <80000000>;
+               m25p,fast-read;
 
                partitions {
                        compatible = "fixed-partitions";