mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
ARM: uniphier: fix MODEL field of REVISION register
The MODEL field is 3 bit wide. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
4125bbcef6
commit
c5bd411f6c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue