Skip to content
Snippets Groups Projects
Commit 483a435d authored by Tim Harvey's avatar Tim Harvey Committed by Stefano Babic
Browse files

imx6: ventana: fix system-serial dt property


Fix typo in setting of system-serial property causing the prop len to be
off by 1.

Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
parent d1dacf77
No related branches found
No related tags found
No related merge requests found
...@@ -1277,7 +1277,7 @@ void ft_board_setup(void *blob, bd_t *bd) ...@@ -1277,7 +1277,7 @@ void ft_board_setup(void *blob, bd_t *bd)
/* board serial number */ /* board serial number */
fdt_setprop(blob, 0, "system-serial", getenv("serial#"), fdt_setprop(blob, 0, "system-serial", getenv("serial#"),
strlen(getenv("serial#") + 1)); strlen(getenv("serial#")) + 1);
/* board (model contains model from device-tree) */ /* board (model contains model from device-tree) */
fdt_setprop(blob, 0, "board", info->model, fdt_setprop(blob, 0, "board", info->model,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment