From 6e7f40dff3aa3fdbc012d0d9f79a3decdbe3735f Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 12 Aug 2020 16:49:34 +0200 Subject: [PATCH] ath79: routerboard-92x: ensure explicit bios size in DTSI MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Adrian Schmutzler --- 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; }; -- 2.30.2