ath79: routerboard-92x: ensure explicit bios size in DTSI
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 12 Aug 2020 14:49:34 +0000 (16:49 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 12 Aug 2020 14:49:34 +0000 (16:49 +0200)
The missing "size" property was acceptable in the context of a single
DTS as the underlying device is known to have a 64KB flash, and thus
the bios partition fit exactly between the preceding and following ones.

However as this block has moved in a DTSI, for the sake of clarity and
explicitness the size property is added to ensure that if the flash
happens to be larger than expected, the bios partition remains properly
sized.

Suggested-by: Thibaut VARĂˆNE <hacks@slashdirt.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/dts/qca9558_mikrotik_routerboard-92x.dtsi

index c48f997e894d9a404c27e17af6b2460abe209598..85dd65f7a46a6bd57cacceb0d0953fe7303398e2 100644 (file)
@@ -88,6 +88,7 @@
                        };
 
                        bios {
+                               size = <0x1000>;
                                read-only;
                        };