bug: if dtb isnt define, dont set it to blank

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 10 years ago
parent c2a405d549
commit 404cbb7a9c

@ -159,7 +159,7 @@ echo "cape_enable=" >> ${wfile}
if [ ! "x${dtb}" = "x" ] ; then
echo "dtb=${dtb}" >> ${wfile}
else
echo "dtb=" >> ${wfile}
echo "#dtb=" >> ${wfile}
fi
if [ ! "x${optargs}" = "x" ] ; then

@ -129,7 +129,7 @@ echo "cape_enable=" >> ${wfile}
if [ ! "x${dtb}" = "x" ] ; then
echo "dtb=${dtb}" >> ${wfile}
else
echo "dtb=" >> ${wfile}
echo "#dtb=" >> ${wfile}
fi
if [ ! "x${optargs}" = "x" ] ; then

@ -1116,7 +1116,7 @@ populate_boot () {
if [ ! "x${dtb}" = "x" ] ; then
echo "dtb=${dtb}" >> ${wfile}
else
echo "dtb=" >> ${wfile}
echo "#dtb=" >> ${wfile}
fi
mmcargs="mmcargs=run message; setenv bootargs console"

Loading…
Cancel
Save