GPT: Enable partition table to be flashed using fastboot command.
The partition table can be flashed using the command "fastboot flash partition
<name of the file>". Code detects the GPT partition table and flashes it
to the eMMC card.
Change-Id: I93c9a204ba0a7c0328a9cfd30331ea6cbe7d5df4
diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c
index 75f51ae..a258463 100644
--- a/app/aboot/aboot.c
+++ b/app/aboot/aboot.c
@@ -879,7 +879,7 @@
if (!strcmp(arg, "partition"))
{
dprintf(INFO, "Attempt to write partition image.\n");
- if (mmc_write_partition(sz, (unsigned char *) data)) {
+ if (write_partition(sz, (unsigned char *) data)) {
fastboot_fail("failed to write partition");
return;
}