[openwrt/openwrt] ramips: rename include file to a more suitable name
LEDE Commits
lede-commits at lists.infradead.org
Thu May 9 13:27:09 PDT 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8d7fa0918143cf09049d4631a0cdef7962554147
commit 8d7fa0918143cf09049d4631a0cdef7962554147
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Sat Apr 27 07:41:51 2024 +0200
ramips: rename include file to a more suitable name
Rename from mt7621_dlink_dir-xx60-a1.dtsi to mt7621_dlink_dir_nand_128m.dtsi
and associated group name when creating the mt7621.mk image
Co-authored-by: Alan Luck <luckyhome2008 at gmail.com>
Signed-off-by: Mieczyslaw Nalewaj <namiltd at yahoo.com>
---
target/linux/ramips/dts/mt7621_dlink_dir-1960-a1.dts | 2 +-
target/linux/ramips/dts/mt7621_dlink_dir-2640-a1.dts | 2 +-
target/linux/ramips/dts/mt7621_dlink_dir-2660-a1.dts | 2 +-
target/linux/ramips/dts/mt7621_dlink_dir-3040-a1.dts | 2 +-
...nk_dir-xx60-a1.dtsi => mt7621_dlink_dir_nand_128m.dtsi} | 0
target/linux/ramips/image/mt7621.mk | 14 +++++++-------
6 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-1960-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-1960-a1.dts
index 13883f9f74..531076216d 100644
--- a/target/linux/ramips/dts/mt7621_dlink_dir-1960-a1.dts
+++ b/target/linux/ramips/dts/mt7621_dlink_dir-1960-a1.dts
@@ -2,7 +2,7 @@
#include <dt-bindings/leds/common.h>
-#include "mt7621_dlink_dir-xx60-a1.dtsi"
+#include "mt7621_dlink_dir_nand_128m.dtsi"
/ {
compatible = "dlink,dir-1960-a1", "mediatek,mt7621-soc";
diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-2640-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-2640-a1.dts
index d4b8069a33..fd25b94e8d 100644
--- a/target/linux/ramips/dts/mt7621_dlink_dir-2640-a1.dts
+++ b/target/linux/ramips/dts/mt7621_dlink_dir-2640-a1.dts
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-#include "mt7621_dlink_dir-xx60-a1.dtsi"
+#include "mt7621_dlink_dir_nand_128m.dtsi"
/ {
compatible = "dlink,dir-2640-a1", "mediatek,mt7621-soc";
diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-2660-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-2660-a1.dts
index a4590cb35f..d8c347198b 100644
--- a/target/linux/ramips/dts/mt7621_dlink_dir-2660-a1.dts
+++ b/target/linux/ramips/dts/mt7621_dlink_dir-2660-a1.dts
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-#include "mt7621_dlink_dir-xx60-a1.dtsi"
+#include "mt7621_dlink_dir_nand_128m.dtsi"
/ {
compatible = "dlink,dir-2660-a1", "mediatek,mt7621-soc";
diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-3040-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-3040-a1.dts
index 4bb35a948d..0bcfa022fa 100644
--- a/target/linux/ramips/dts/mt7621_dlink_dir-3040-a1.dts
+++ b/target/linux/ramips/dts/mt7621_dlink_dir-3040-a1.dts
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-#include "mt7621_dlink_dir-xx60-a1.dtsi"
+#include "mt7621_dlink_dir_nand_128m.dtsi"
/ {
compatible = "dlink,dir-3040-a1", "mediatek,mt7621-soc";
diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-xx60-a1.dtsi b/target/linux/ramips/dts/mt7621_dlink_dir_nand_128m.dtsi
similarity index 100%
rename from target/linux/ramips/dts/mt7621_dlink_dir-xx60-a1.dtsi
rename to target/linux/ramips/dts/mt7621_dlink_dir_nand_128m.dtsi
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 10e7857614..dbb69e0fae 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -742,7 +742,7 @@ define Device/dlink_dir-8xx-r1
check-size | append-metadata
endef
-define Device/dlink_dir-xx60-a1
+define Device/dlink_dir_nand_128m
$(Device/nand)
IMAGE_SIZE := 40960k
DEVICE_VENDOR := D-Link
@@ -763,35 +763,35 @@ endef
TARGET_DEVICES += dlink_dir-1935-a1
define Device/dlink_dir-1960-a1
- $(Device/dlink_dir-xx60-a1)
+ $(Device/dlink_dir_nand_128m)
DEVICE_MODEL := DIR-1960
DEVICE_VARIANT := A1
endef
TARGET_DEVICES += dlink_dir-1960-a1
define Device/dlink_dir-2640-a1
- $(Device/dlink_dir-xx60-a1)
+ $(Device/dlink_dir_nand_128m)
DEVICE_MODEL := DIR-2640
DEVICE_VARIANT := A1
endef
TARGET_DEVICES += dlink_dir-2640-a1
define Device/dlink_dir-2660-a1
- $(Device/dlink_dir-xx60-a1)
+ $(Device/dlink_dir_nand_128m)
DEVICE_MODEL := DIR-2660
DEVICE_VARIANT := A1
endef
TARGET_DEVICES += dlink_dir-2660-a1
define Device/dlink_dir-3040-a1
- $(Device/dlink_dir-xx60-a1)
+ $(Device/dlink_dir_nand_128m)
DEVICE_MODEL := DIR-3040
DEVICE_VARIANT := A1
endef
TARGET_DEVICES += dlink_dir-3040-a1
define Device/dlink_dir-3060-a1
- $(Device/dlink_dir-xx60-a1)
+ $(Device/dlink_dir_nand_128m)
DEVICE_MODEL := DIR-3060
DEVICE_VARIANT := A1
endef
@@ -806,7 +806,7 @@ endef
TARGET_DEVICES += dlink_dir-853-a1
define Device/dlink_dir-853-a3
- $(Device/dlink_dir-xx60-a1)
+ $(Device/dlink_dir_nand_128m)
DEVICE_MODEL := DIR-853
DEVICE_VARIANT := A3
IMAGES += factory.bin
More information about the lede-commits
mailing list