summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/boot-device/boot-device-ld4.c
AgeCommit message (Collapse)Author
2017-02-23ARM: uniphier: rework spl_boot_device() and related codeMasahiro Yamada
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>