commit | fb09203387bc790e9802a94c9758b6c6694aca5a | [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 | 127f5773339e7285dd91c44468015e6920b2b7bf [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>