summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/boot-mode/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-06-04 22:39:08 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-06-09 08:17:49 +0900
commitadb3928f152796e275f0535759796422d91f4709 (patch)
treed5ab661b42508b7511e4ca02acb8a314efce07a3 /arch/arm/mach-uniphier/boot-mode/Makefile
parentb104b3dc1dd90cdbf67ccf3c51b06e4f1592fe91 (diff)
downloadtalos-obmc-uboot-adb3928f152796e275f0535759796422d91f4709.tar.gz
talos-obmc-uboot-adb3928f152796e275f0535759796422d91f4709.zip
ARM: uniphier: support eMMC boot for PH1-LD11 and PH1-LD20
The Boot ROM on PH1-LD11/LD20 exports built-in APIs to load images from an eMMC device. They are useful to reduce the memory footprint of SPL, rather than compiling the whole MMC framework. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/boot-mode/Makefile')
-rw-r--r--arch/arm/mach-uniphier/boot-mode/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/boot-mode/Makefile b/arch/arm/mach-uniphier/boot-mode/Makefile
index d7fefc5bbd..a8980210b1 100644
--- a/arch/arm/mach-uniphier/boot-mode/Makefile
+++ b/arch/arm/mach-uniphier/boot-mode/Makefile
@@ -14,4 +14,8 @@ obj-$(CONFIG_ARCH_UNIPHIER_LD6B) += boot-mode-pxs2.o
obj-$(CONFIG_ARCH_UNIPHIER_LD11) += boot-mode-ld20.o
obj-$(CONFIG_ARCH_UNIPHIER_LD20) += boot-mode-ld20.o
+ifdef CONFIG_SPL_BUILD
+obj-$(CONFIG_SPL_BOARD_LOAD_IMAGE) += spl_board.o
+else
obj-$(CONFIG_CMD_PINMON) += cmd_pinmon.o
+endif
OpenPOWER on IntegriCloud