[OpenWrt-Devel,RFC,RFT,2/2] mediatek: mt7623: add back images for mt7623a-rfb-emmc
diff mbox series

Message ID 20200114144017.29092-1-freifunk@adrianschmutzler.de
State Rejected
Delegated to: Adrian Schmutzler
Headers show
Series
  • [OpenWrt-Devel,1/2] mediatek: use consistent naming scheme for device nodes
Related show

Commit Message

Adrian Schmutzler Jan. 14, 2020, 2:40 p.m. UTC
The image creation for the mt7623a-rfb-emmc has been removed during
a patch refresh without specific comment. The corresponding base-files
entries are still there, and the DTS is still present in kernel.

This adds back the corresponding image definition.

While at it, apply alphabetic sorting to Makefile.

Fixes: 050da2107a7e ("mediatek: backport upstream mediatek patches")

Cc: John Crispin <john@phrozen.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
---
 target/linux/mediatek/image/mt7623.mk | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

Patch
diff mbox series

diff --git a/target/linux/mediatek/image/mt7623.mk b/target/linux/mediatek/image/mt7623.mk
index fd609d22fa..ab08ca83a3 100644
--- a/target/linux/mediatek/image/mt7623.mk
+++ b/target/linux/mediatek/image/mt7623.mk
@@ -1,3 +1,19 @@ 
+define Device/lemaker_bananapi-bpi-r2
+  DEVICE_VENDOR := LeMaker
+  DEVICE_MODEL := Banana Pi R2
+  DEVICE_DTS := mt7623n-bananapi-bpi-r2
+  SUPPORTED_DEVICES := bananapi,bpi-r2
+endef
+TARGET_DEVICES += lemaker_bananapi-bpi-r2
+
+define Device/mediatek_mt7623a-rfb-emmc
+  DEVICE_VENDOR := MediaTek
+  DEVICE_MODEL := MT7623A reference board
+  DEVICE_VARIANT := eMMC
+  DEVICE_DTS := mt7623a-rfb-emmc
+endef
+TARGET_DEVICES += mediatek_mt7623a-rfb-emmc
+
 define Device/unielec_u7623-02-emmc-512m
   DEVICE_VENDOR := UniElec
   DEVICE_MODEL := U7623-02
@@ -8,11 +24,3 @@  define Device/unielec_u7623-02-emmc-512m
   IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata
 endef
 TARGET_DEVICES += unielec_u7623-02-emmc-512m
-
-define Device/lemaker_bananapi-bpi-r2
-  DEVICE_VENDOR := LeMaker
-  DEVICE_MODEL := Banana Pi R2
-  DEVICE_DTS := mt7623n-bananapi-bpi-r2
-  SUPPORTED_DEVICES := bananapi,bpi-r2
-endef
-TARGET_DEVICES += lemaker_bananapi-bpi-r2