From d8acbb50e8077bc3febf3aa8cd613408f461dea3 Mon Sep 17 00:00:00 2001 From: gitbot <gitbot@garz-fricke.com> Date: Thu, 23 Feb 2023 11:22:32 +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 94553349..21c32716 100644 --- a/SRCREV.conf +++ b/SRCREV.conf @@ -4,7 +4,7 @@ SRCREV_pn-guf-show-demo = "249c8f2aadc61118a50f07a0fa66c621d2c1ef9a" SRCREV_pn-libmdb = "bc8fe639bd0b506b0b37701c9ffd60a484074062" SRCREV_pn-ltp-guf-tests = "845a4113ec6c03697411ed1327358b0eaa8fc30d" SRCREV_pn-touchcal-conv = "1aab23d5f388f5fd3c00885249ff1d17302afebf" -SRCREV_pn-gfxml2dto = "9149c6ed9ed502b96e89e1f9af7fa0c827c24ac2" +SRCREV_pn-gfxml2dto = "f4588ff59a24e6103f9727be885b765d2e432587" SRCREV_pn-egalaxi2c = "bae1061d691261c28bddad181ccfd9ce87bf5986" SRCREV_pn-gfplatdetect = "513ba7efd5ea339593c2d9fae1ad036ba08fe5e8" SRCREV_pn-xconfig = "3177e49fe495a2ad40a524f63a00c277056fad52" -- GitLab