From 609903cba6f8d29e75c64f7dad06ef44b70c6cf4 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Tue, 19 Dec 2023 18:41:37 +0100
Subject: [PATCH] bcm27xx: update manifest aliases (#3110)

As the boardname-based image name setting was broken for bcm27xx due to the
target rename, we need to keep the model-based names updated for now.

Add all model strings currently seen on the Multimeshviewer and update
the comments accordingly.

(cherry picked from commit 20c2adae9763c4dfd143406129ce101c68daf15f)
[adjust comment from 2023.1 to 2023.1.1]
Signed-off-by: Tom Herbers <mail@tomherbers.de>
---
 targets/bcm27xx-bcm2708 | 3 ++-
 targets/bcm27xx-bcm2709 | 2 +-
 targets/bcm27xx-bcm2710 | 3 ++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/targets/bcm27xx-bcm2708 b/targets/bcm27xx-bcm2708
index d35866ce8..5ce91347b 100644
--- a/targets/bcm27xx-bcm2708
+++ b/targets/bcm27xx-bcm2708
@@ -5,7 +5,8 @@ device('raspberrypi-model-b', 'rpi', {
 		'raspberrypi-model-b-plus',
 		'raspberrypi-model-b-rev2',
 
-		-- from Gluon 2019.1 and older
+		-- from Gluon 2023.1.1 and older
+		'raspberry-pi-model-b-rev-1',
 		'raspberry-pi-model-b-rev-2',
 		'raspberry-pi-model-b-plus-rev-1.2',
 	},
diff --git a/targets/bcm27xx-bcm2709 b/targets/bcm27xx-bcm2709
index 5c9bd999b..79fcd6c9f 100644
--- a/targets/bcm27xx-bcm2709
+++ b/targets/bcm27xx-bcm2709
@@ -2,7 +2,7 @@ include 'bcm27xx.inc'
 
 device('raspberrypi-2-model-b', 'rpi-2', {
 	manifest_aliases = {
-		-- from Gluon 2019.1 and older
+		-- from Gluon 2023.1.1 and older
 		'raspberry-pi-2-model-b-rev-1.1',
 	},
 })
diff --git a/targets/bcm27xx-bcm2710 b/targets/bcm27xx-bcm2710
index 9c641cd0f..2d1a05ebe 100644
--- a/targets/bcm27xx-bcm2710
+++ b/targets/bcm27xx-bcm2710
@@ -4,7 +4,8 @@ device('raspberrypi-3-model-b', 'rpi-3', {
 	manifest_aliases = {
 		'raspberrypi-3-model-b-plus',
 
-		-- from Gluon 2019.1 and older
+		-- from Gluon 2023.1.1 and older
 		'raspberry-pi-3-model-b-rev-1.2',
+		'raspberry-pi-3-model-b-plus-rev-1.3',
 	},
 })
-- 
GitLab