[U-Boot] [PATCH 3/9] ARM: uniphier: add CONFIG_PREBOOT

Masahiro Yamada yamada.masahiro at socionext.com
Wed Dec 19 11:03:15 UTC 2018


For more boot-flow flexibility,

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

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

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



More information about the U-Boot mailing list