ARM: uniphier: add CONFIG_PREBOOT
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 19 Dec 2018 11:03:15 +0000 (20:03 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 29 Dec 2018 02:38:35 +0000 (11:38 +0900)
For more boot-flow flexibility,

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/configs/uniphier.h

index 1e509ce9ad7bdd158e28e74a0c8dbe229dac3839..95d64525535aa3f99d9339f9553dc4b6aace33de 100644 (file)
        "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 "                   \