mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
armv8/fsl-layerscape: print SoC revsion number
The exact SoC revsion number can be recognized from U-Boot log. Signed-off-by: Wenbin Song <wenbin.song@nxp.com> Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
abd9c1bbfb
commit
5d1a7a9d20
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ void cpu_name(char *name)
|
|||
|
||||
if (IS_E_PROCESSOR(svr))
|
||||
strcat(name, "E");
|
||||
|
||||
sprintf(name + strlen(name), " Rev%d.%d",
|
||||
SVR_MAJ(svr), SVR_MIN(svr));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue