summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-19 20:03:15 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-29 11:38:35 +0900
commitce480791f74859b6bac9327ee8083cb3c698d0e9 (patch)
tree562531a94bf45bfdfe8d6237786b97bf64189876 /include
parent9f9edb6fe37bbcf8471389f4942a21b9633ef99d (diff)
ARM: uniphier: add CONFIG_PREBOOT
For more boot-flow flexibility, Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/uniphier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 1e509ce9ad..95d6452553 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -124,6 +124,8 @@
"third_image=u-boot.bin\0"
#endif
+#define CONFIG_PREBOOT "env exist ${bootdev}preboot && run ${bootdev}preboot"
+
#define CONFIG_ROOTPATH "/nfs/root/path"
#define CONFIG_NFSBOOTCOMMAND \
"setenv bootargs $bootargs root=/dev/nfs rw " \