diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-01-21 18:05:26 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-01-22 16:49:27 +0900 |
commit | e27d6c7d328caf75bd7680109bc6610bc681f46e (patch) | |
tree | 0e199c982bc274b223123ce027e2f9263c961356 /tools | |
parent | d9a70368dbe4a9b0e81b60ffbe3fda4a09e0ad5a (diff) | |
download | u-boot-imx-e27d6c7d328caf75bd7680109bc6610bc681f46e.zip u-boot-imx-e27d6c7d328caf75bd7680109bc6610bc681f46e.tar.gz u-boot-imx-e27d6c7d328caf75bd7680109bc6610bc681f46e.tar.bz2 |
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: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions