aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-12 16:49:34 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-12 16:49:34 +0200
commit6e7f40dff3aa3fdbc012d0d9f79a3decdbe3735f (patch)
tree11f772bee10d5c65b4c1ac039db48e0b91b00d2a /target
parent5dc74ad7f3d170d3dde893a66e896de46ec65478 (diff)
downloadupstream-6e7f40dff3aa3fdbc012d0d9f79a3decdbe3735f.tar.gz
upstream-6e7f40dff3aa3fdbc012d0d9f79a3decdbe3735f.tar.bz2
upstream-6e7f40dff3aa3fdbc012d0d9f79a3decdbe3735f.zip
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 <hacks@slashdirt.org> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/qca9558_mikrotik_routerboard-92x.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9558_mikrotik_routerboard-92x.dtsi b/target/linux/ath79/dts/qca9558_mikrotik_routerboard-92x.dtsi
index c48f997e89..85dd65f7a4 100644
--- a/target/linux/ath79/dts/qca9558_mikrotik_routerboard-92x.dtsi
+++ b/target/linux/ath79/dts/qca9558_mikrotik_routerboard-92x.dtsi
@@ -88,6 +88,7 @@
};
bios {
+ size = <0x1000>;
read-only;
};