[openwrt/openwrt] ath79: routerboard-92x: ensure explicit bios size in DTSI

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 12 10:51:40 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6e7f40dff3aa3fdbc012d0d9f79a3decdbe3735f

commit 6e7f40dff3aa3fdbc012d0d9f79a3decdbe3735f
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Wed Aug 12 16:49:34 2020 +0200

    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 at slashdirt.org>
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ath79/dts/qca9558_mikrotik_routerboard-92x.dtsi | 1 +
 1 file changed, 1 insertion(+)

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;
 			};
 



More information about the lede-commits mailing list