aboutsummaryrefslogtreecommitdiff
path: root/include/configs/uniphier.h
diff options
context:
space:
mode:
authorMasahiro Yamada2016-06-04 22:39:08 +0900
committerMasahiro Yamada2016-06-09 08:17:49 +0900
commitadb3928f152796e275f0535759796422d91f4709 (patch)
treed5ab661b42508b7511e4ca02acb8a314efce07a3 /include/configs/uniphier.h
parentb104b3dc1dd90cdbf67ccf3c51b06e4f1592fe91 (diff)
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/uniphier.h')
-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 10fd8c21ea5..058ccd8d8e0 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