diff options
author | Gary Bisson <gary.bisson@boundarydevices.com> | 2021-01-26 14:56:23 +0100 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-01-29 20:22:40 +0100 |
commit | 4e9bd0623775768be4e1e80ee32a7e42b8c9d3c5 (patch) | |
tree | 292b79caba65c318ed85f5b6589bcc684cd3ebb2 /disk/part_efi.c | |
parent | 82d01f04facef1276cede067efd02d2a731ffe83 (diff) |
disk: part_efi: update partition table entries after write
Fixes fastboot issues when switching from mbr to gpt partition tables.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'disk/part_efi.c')
-rw-r--r-- | disk/part_efi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/disk/part_efi.c b/disk/part_efi.c index 2f922662e6..7a24e33d18 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -867,6 +867,9 @@ int write_mbr_and_gpt_partitions(struct blk_desc *dev_desc, void *buf) return 1; } + /* Update the partition table entries*/ + part_init(dev_desc); + return 0; } #endif |