diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-02-14 01:24:26 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-02-23 08:37:56 +0900 |
commit | 784548efb2b76fdbfdb73f6a505a156f90bb1e55 (patch) | |
tree | 1e8457137b8933095298964f8a6cb3675cdedfc4 /arch/arm/mach-uniphier/Makefile | |
parent | 81c847bf3806f2cb275f8b084872b97508823462 (diff) | |
download | u-boot-imx-784548efb2b76fdbfdb73f6a505a156f90bb1e55.zip u-boot-imx-784548efb2b76fdbfdb73f6a505a156f90bb1e55.tar.gz u-boot-imx-784548efb2b76fdbfdb73f6a505a156f90bb1e55.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/mach-uniphier/Makefile')
-rw-r--r-- | arch/arm/mach-uniphier/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/Makefile b/arch/arm/mach-uniphier/Makefile index 7baec73..124a1c6 100644 --- a/arch/arm/mach-uniphier/Makefile +++ b/arch/arm/mach-uniphier/Makefile @@ -25,7 +25,7 @@ obj-$(CONFIG_MMC) += mmc-first-dev.o endif obj-y += soc-info.o -obj-y += boot-mode/ +obj-y += boot-device/ obj-y += clk/ obj-y += dram/ |