From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Wed, 19 Dec 2018 11:03:15 +0000 (+0900)
Subject: ARM: uniphier: add CONFIG_PREBOOT
X-Git-Tag: v2025.01-rc5-pxa1908~3202^2~6
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=ce480791f74859b6bac9327ee8083cb3c698d0e9;p=u-boot.git

ARM: uniphier: add CONFIG_PREBOOT

For more boot-flow flexibility,

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

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 "			\