summaryrefslogtreecommitdiff
path: root/include/configs
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 /include/configs
parentb104b3dc1dd90cdbf67ccf3c51b06e4f1592fe91 (diff)
downloadu-boot-imx-adb3928f152796e275f0535759796422d91f4709.zip
u-boot-imx-adb3928f152796e275f0535759796422d91f4709.tar.gz
u-boot-imx-adb3928f152796e275f0535759796422d91f4709.tar.bz2
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 'include/configs')
-rw-r--r--include/configs/uniphier.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 10fd8c2..058ccd8 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -288,7 +288,9 @@
#define CONFIG_SPL_FRAMEWORK
#define CONFIG_SPL_SERIAL_SUPPORT
#define CONFIG_SPL_NOR_SUPPORT
-#ifndef CONFIG_ARM64
+#ifdef CONFIG_ARM64
+#define CONFIG_SPL_BOARD_LOAD_IMAGE
+#else
#define CONFIG_SPL_NAND_SUPPORT
#define CONFIG_SPL_MMC_SUPPORT
#endif