summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/configs/m53evk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h
index df6a226..ad9c39c 100644
--- a/include/configs/m53evk.h
+++ b/include/configs/m53evk.h
@@ -348,10 +348,12 @@
"bootm ${kernel_addr_r}\0" \
"try_bootscript=" \
"mmc rescan;" \
+ "if test -e mmc 0:1 ${bootscript} ; then " \
"if ext4load mmc 0:1 ${kernel_addr_r} ${bootscript};" \
"then;" \
"\techo Running bootscript...;" \
"\tsource ${kernel_addr_r};" \
+ "fi ; " \
"fi\0"
#endif /* __M53EVK_CONFIG_H__ */