Browse Source

ath79: routerboard-92x: ensure explicit bios size in DTSI

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 <[email protected]>
Signed-off-by: Adrian Schmutzler <[email protected]>
Adrian Schmutzler 5 years ago
parent
commit
6e7f40dff3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      target/linux/ath79/dts/qca9558_mikrotik_routerboard-92x.dtsi

+ 1 - 0
target/linux/ath79/dts/qca9558_mikrotik_routerboard-92x.dtsi

@@ -88,6 +88,7 @@
 			};
 			};
 
 
 			bios {
 			bios {
+				size = <0x1000>;
 				read-only;
 				read-only;
 			};
 			};