diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-05-09 17:14:55 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-05-17 21:46:14 +0900 |
commit | c5bd411f6c152cecb0411e9a658d8394562a3fd1 (patch) | |
tree | f36560b7c64de68600d87b0237c5a2fbce7c5611 /arch | |
parent | 4125bbcef6a998ce8580a1f5c53c8c93a56a125b (diff) |
ARM: uniphier: fix MODEL field of REVISION register
The MODEL field is 3 bit wide.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-uniphier/soc-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/soc-info.c b/arch/arm/mach-uniphier/soc-info.c index baf1be6a01..f9de3a9dda 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) |