diff options
-rw-r--r-- | include/configs/m28evk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index fccd29d..2d9ad5f 100644 --- a/include/configs/m28evk.h +++ b/include/configs/m28evk.h @@ -279,10 +279,12 @@ "bootm ${kernel_addr_r}\0" \ "try_bootscript=" \ "mmc rescan;" \ + "if test -e mmc 0:2 ${bootscript} ; then " \ "if ext4load mmc 0:2 ${kernel_addr_r} ${bootscript};" \ "then;" \ "\techo Running bootscript...;" \ "\tsource ${kernel_addr_r};" \ + "fi ; " \ "fi\0" /* The rest of the configuration is shared */ |