Skip to content
Snippets Groups Projects

Integrate gfxml2dto/santvend-board-rev

Merged GitBot requested to merge integrate/gfxml2dto/santvend-board-rev/into/dunfell into dunfell

Commit: seco-ne/tools/gfxml2dto@f4588ff5

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: seco-ne/tools/gfxml2dto@272c1379

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

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading