platform: msm-shared: Add fastmap awareness to UBI-flasher

If the flashed UBI image contains Fastmap data but bad blocks are found during
flashing of the image, the fastmap becomes invalid since the free/used lists aren't
true any more. In such a case Fastmap needs to be invalidated by erasing Fastmap
superblock.

Change-Id: I085dd34e0ec461091c6274dea2a720b00236053a
2 files changed