Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded/files Fix test otherwise we try to lo...
details: https://anonhg.NetBSD.org/src/rev/985b4c95aa56
branches: trunk
changeset: 356683:985b4c95aa56
user: sevan <sevan%NetBSD.org@localhost>
date: Sun Oct 08 00:35:26 2017 +0000
description:
Fix test otherwise we try to load a fdtfile for boards which do not have use_fdt set.
diffstat:
distrib/utils/embedded/files/armv7_boot.cmd | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 984297df95e6 -r 985b4c95aa56 distrib/utils/embedded/files/armv7_boot.cmd
--- a/distrib/utils/embedded/files/armv7_boot.cmd Sun Oct 08 00:15:13 2017 +0000
+++ b/distrib/utils/embedded/files/armv7_boot.cmd Sun Oct 08 00:35:26 2017 +0000
@@ -23,7 +23,7 @@
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}
Home |
Main Index |
Thread Index |
Old Index