Module Name: src
Committed By: sevan
Date: Sun Oct 8 00:35:26 UTC 2017
Modified Files:
src/distrib/utils/embedded/files: armv7_boot.cmd
Log Message:
Fix test otherwise we try to load a fdtfile for boards which do not have
use_fdt set.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/utils/embedded/files/armv7_boot.cmd
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/embedded/files/armv7_boot.cmd
diff -u src/distrib/utils/embedded/files/armv7_boot.cmd:1.1 src/distrib/utils/embedded/files/armv7_boot.cmd:1.2
--- src/distrib/utils/embedded/files/armv7_boot.cmd:1.1 Sat Oct 7 23:40:00 2017
+++ src/distrib/utils/embedded/files/armv7_boot.cmd Sun Oct 8 00:35:26 2017
@@ -23,7 +23,7 @@ if test "${kernel}" = "" ; then
exit
fi
-if test "1" -eq ${use_fdt} ; then
+if test "${use_fdt}" = "1" ; then
fatload mmc ${mmcpart} ${kernel_addr_r} ${kernel}
fatload mmc ${mmcpart} ${fdt_addr_r} ${fdtfile}
fdt addr ${fdt_addr_r}