diff mbox series

[3/9] ARM: uniphier: add CONFIG_PREBOOT

Message ID 1545217401-27018-4-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit ce480791f74859b6bac9327ee8083cb3c698d0e9
Headers show
Series ARM: dts: uniphier: updates for v2019.01 | expand

Commit Message

Masahiro Yamada Dec. 19, 2018, 11:03 a.m. UTC
For more boot-flow flexibility,

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

 include/configs/uniphier.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 1e509ce..95d6452 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 "			\