Skip to content
Snippets Groups Projects
Commit e27d6c7d authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

ARM: uniphier: simplify SoC ID get function


Currently, uniphier_get_soc_type() converts the SoC ID (this is
read from the revision register) to an enum symbol to use it for SoC
identification.  Come to think of it, there is no need for the
conversion in the first place.  Using the SoC ID from the register
as-is a straightforward way.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent d9a70368
No related branches found
No related tags found
Loading
Showing
with 214 additions and 317 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment