projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4125bbc
)
ARM: uniphier: fix MODEL field of REVISION register
author
Masahiro Yamada
<
[email protected]
>
Tue, 9 May 2017 08:14:55 +0000
(17:14 +0900)
committer
Masahiro Yamada
<
[email protected]
>
Wed, 17 May 2017 12:46:14 +0000
(21:46 +0900)
The MODEL field is 3 bit wide.
Signed-off-by: Masahiro Yamada <
[email protected]
>
arch/arm/mach-uniphier/soc-info.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-uniphier/soc-info.c
b/arch/arm/mach-uniphier/soc-info.c
index baf1be6a01bfaf978fe7d912588d0de9baeaf7a0..f9de3a9dda9e4c3c9cfa44db8425955462874cee 100644
(file)
--- 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(0x
3
, 8);
+ return __uniphier_get_revision_field(0x
7
, 8);
}
unsigned int uniphier_get_soc_revision(void)