U-Boot default variable/script.
envboot=
mmc dev ${mmcdev(=0)};
if mmc rescan; then echo SD/MMC found on device ${mmcdev};
if run loadbootscript; then run bootscript;
else
if run loadbootenv; then
echo Loaded env from ${bootenvfile};
run importbootenv;
fi;
if test -n $uenvcmd; then echo Running uenvcmd ...;
run uenvcmd;
fi;
fi;
fi;
In line 2, mmc dev ${mmcdev(=0)};
What does ’ (=0)’ do?
Thank you,