Commit 9ec13199 authored by Thomas Schäfer's avatar Thomas Schäfer
Browse files

pitx-imx8m: fix 'getSerNo' function



- Use 'board_serial' environment variable to read correct serial number
  as stored in VPD area.
Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>
parent ce53ac3a
......@@ -346,7 +346,7 @@ char *getSerNo (void)
ENTRY e;
static ENTRY *ep;
e.key = "serial#";
e.key = "board_serial";
e.data = NULL;
hsearch_r (e, FIND, &ep, &env_htab, 0);
if (ep == NULL)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment