Add erase of whole eMMC command before flashing.

* LK bootloader does not erase partition before flashing.
Failing to erase the partition before flashing results in
the wrong data on the partition and causes unexpected failures
during mounting the rootfs and starting the mendel OS.

Change-Id: I5967940f788e28d04897e6b28463d9fb3e8bbe00
diff --git a/flash.sh b/flash.sh
index d34e2c2..f22bd71 100755
--- a/flash.sh
+++ b/flash.sh
@@ -67,6 +67,7 @@
 
 erase_mmc() {
   echo "Erase EMMC"
+  ${FASTBOOT_TOOL} erase mmc0
   ${FASTBOOT_TOOL} erase mmc0boot0
   ${FASTBOOT_TOOL} erase mmc0boot1
 }