app: aboot: Fix flash_erase implementation

When issuing "fastboot erase <partition name>" only the first block of the partition
was erased. This patch fixes this issue by erasing all of the partition blocks.

Change-Id: I551f3b474ebc838c44f23a5bab1b13ccbbf32f18
1 file changed