From: Masahiro Yamada Date: Tue, 9 May 2017 08:14:55 +0000 (+0900) Subject: ARM: uniphier: fix MODEL field of REVISION register X-Git-Tag: v2017.07-rc1~253^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c5bd411f6c152cecb0411e9a658d8394562a3fd1;p=platform%2Fkernel%2Fu-boot.git ARM: uniphier: fix MODEL field of REVISION register The MODEL field is 3 bit wide. Signed-off-by: Masahiro Yamada --- diff --git a/arch/arm/mach-uniphier/soc-info.c b/arch/arm/mach-uniphier/soc-info.c index baf1be6..f9de3a9 100644 --- a/arch/arm/mach-uniphier/soc-info.c +++ b/arch/arm/mach-uniphier/soc-info.c @@ -26,7 +26,7 @@ unsigned int uniphier_get_soc_id(void) unsigned int uniphier_get_soc_model(void) { - return __uniphier_get_revision_field(0x3, 8); + return __uniphier_get_revision_field(0x7, 8); } unsigned int uniphier_get_soc_revision(void)