From: Wenbin Song Date: Tue, 13 Sep 2016 08:13:54 +0000 (+0800) Subject: armv8/fsl-layerscape: print SoC revsion number X-Git-Tag: v2016.11-rc2~16^2~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5d1a7a9d209fd9b8ffca1f3f27139f372a225e16;p=u-boot armv8/fsl-layerscape: print SoC revsion number The exact SoC revsion number can be recognized from U-Boot log. Signed-off-by: Wenbin Song Signed-off-by: Mingkai Hu Reviewed-by: York Sun --- diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c index f865373df3..11e806ece0 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c @@ -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; }