hikey: Fix bootloader update from ver 0.4 to ver 0.7 am: fd5e31aba9
am: 7012d0b735
Change-Id: I27b22eddd91dfbebb52ac04da4dc39e6a3a4d51d
diff --git a/installer/hikey/flash-all.sh b/installer/hikey/flash-all.sh
index a4170dd..be909fe 100755
--- a/installer/hikey/flash-all.sh
+++ b/installer/hikey/flash-all.sh
@@ -71,6 +71,7 @@
fastboot oem serialno
fi
fi
+fastboot getvar partition-size:ptable
fastboot flash ptable "${INSTALLER_DIR}"/"${PTABLE}"
fastboot flash fastboot "${FIRMWARE_DIR}"/fip.bin
fastboot flash nvme "${INSTALLER_DIR}"/nvme.img