From c6a090dbf63dd9763e5b4d31be0ea5cfd6507c89 Mon Sep 17 00:00:00 2001 From: Lech Perczak Date: Wed, 26 Jul 2023 02:55:05 +0200 Subject: [PATCH] ath79: dts: fortinet_loader: extract common part In preparation for FAP-220-B support, rename ar934x_fortinet_loader.dtsi to arxxxx_fortinet_loader.dtsi, to avoid confusion, as FAP-220-B shares flash layout with FAP-221-B exactly despite different SoC. While at that, add a label to U-boot partition to allow for nvmem MAC binding in future. Signed-off-by: Lech Perczak --- target/linux/ath79/dts/ar9344_fortinet_ap-dual.dtsi | 2 +- ...{ar934x_fortinet_loader.dtsi => arxxxx_fortinet_loader.dtsi} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename target/linux/ath79/dts/{ar934x_fortinet_loader.dtsi => arxxxx_fortinet_loader.dtsi} (98%) diff --git a/target/linux/ath79/dts/ar9344_fortinet_ap-dual.dtsi b/target/linux/ath79/dts/ar9344_fortinet_ap-dual.dtsi index d5275c496e..c8f12a1bfb 100644 --- a/target/linux/ath79/dts/ar9344_fortinet_ap-dual.dtsi +++ b/target/linux/ath79/dts/ar9344_fortinet_ap-dual.dtsi @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT #include "ar9344.dtsi" -#include "ar934x_fortinet_loader.dtsi" +#include "arxxxx_fortinet_loader.dtsi" #include #include diff --git a/target/linux/ath79/dts/ar934x_fortinet_loader.dtsi b/target/linux/ath79/dts/arxxxx_fortinet_loader.dtsi similarity index 98% rename from target/linux/ath79/dts/ar934x_fortinet_loader.dtsi rename to target/linux/ath79/dts/arxxxx_fortinet_loader.dtsi index d7cbf2e737..3bc734313f 100644 --- a/target/linux/ath79/dts/ar934x_fortinet_loader.dtsi +++ b/target/linux/ath79/dts/arxxxx_fortinet_loader.dtsi @@ -36,7 +36,7 @@ #address-cells = <1>; #size-cells = <1>; - partition@0 { + uboot: partition@0 { label = "u-boot"; reg = <0x000000 0x040000>; read-only; -- 2.30.2