commit | 784548efb2b76fdbfdb73f6a505a156f90bb1e55 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Tue Feb 14 01:24:26 2017 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Thu Feb 23 08:37:56 2017 +0900 |
tree | 1e8457137b8933095298964f8a6cb3675cdedfc4 | |
parent | 81c847bf3806f2cb275f8b084872b97508823462 [diff] |
ARM: uniphier: rework spl_boot_device() and related code The current implementation has ugly switch statements here and there, and duplicates similar code. Rework it using table lookups for SoC data and reduce code duplication. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>