From 706f0bfcc41cd52fada8568b13e13fb2b09f6de4 Mon Sep 17 00:00:00 2001
From: gitbot <gitbot@garz-fricke.com>
Date: Thu, 23 Feb 2023 11:22:33 +0000
Subject: [PATCH] Integrate gfxml2dto/santvend-board-rev

--

Commit: https://git.seco.com/seco-ne/tools/gfxml2dto/-/commit/f4588ff59a24e6103f9727be885b765d2e432587

santvend: add an alternative way to get board rev

In case if gfplatdetect is not available in the system, extract a board
revision from /proc/cpuinfo.

Signed-off-by: Dmitry Petrov <dmitry.petrov@rtsoft.de>

--

Commit: https://git.seco.com/seco-ne/tools/gfxml2dto/-/commit/272c13791a435b1b133d0a2e21cdff1ceff0de50

platform: fix read_from_file function

According to the description of "read_from_file", the function should
return a line from file when this line starts with 'match' string,
provided as an argument. But the current implementation does not follow
this description - it compares a full line (not only beginning) with the
'match' string. As a result, a desired result (line) will be returned by
the function only if a line is equal to the 'match' string.

To make the function work according to the description, replace strcmp
with strncmp.

Also remove tabulation from eol symbols to return a full line.

Signed-off-by: Dmitry Petrov <dmitry.petrov@rtsoft.de>
---
 SRCREV.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SRCREV.conf b/SRCREV.conf
index c21f5995..773abbd8 100644
--- a/SRCREV.conf
+++ b/SRCREV.conf
@@ -3,7 +3,7 @@ SRCREV:pn-emc-test-suite = "b753e47b2b0c566551a24f3d2a22b6c2126188f7"
 SRCREV:pn-gf-productiontests = "1bbf2d5c1d2e1d32b837a4794026e21e06e51ed5"
 SRCREV:pn-gfeeprom = "980bc0d37ec01042611aaca8f08dbab06ac1e558"
 SRCREV:pn-gfplatdetect = "513ba7efd5ea339593c2d9fae1ad036ba08fe5e8"
-SRCREV:pn-gfxml2dto = "9149c6ed9ed502b96e89e1f9af7fa0c827c24ac2"
+SRCREV:pn-gfxml2dto = "f4588ff59a24e6103f9727be885b765d2e432587"
 SRCREV:pn-seco-show-demo = "a2340a3f9b1c8565c5527c1b910fde78bdfca7ca"
 SRCREV:pn-libmdb = "bc8fe639bd0b506b0b37701c9ffd60a484074062"
 SRCREV:pn-linux-seconorth = "03950630ac3df519518dbe8a695bc5c164584bae"
-- 
GitLab