fixed a failed check for MMC device when re-flashing a BBB