cgpt: Do not assume 512b block size when erasing GPT

Erase the first 32K and last 33K regardless of the block size.

BUG=none
TEST=Check the both regions on a dummy binary file.

Change-Id: If271ddf5ca68d28fbb0aa367dff88004851213f8
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/751808
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed