mk_mmc.sh: facter this out

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>