summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorGary Bisson <gary.bisson@boundarydevices.com>2021-01-26 16:56:23 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-01-29 22:22:40 +0300
commit4e9bd0623775768be4e1e80ee32a7e42b8c9d3c5 (patch)
tree292b79caba65c318ed85f5b6589bcc684cd3ebb2 /disk
parent82d01f04facef1276cede067efd02d2a731ffe83 (diff)
downloadu-boot-4e9bd0623775768be4e1e80ee32a7e42b8c9d3c5.tar.xz
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')
-rw-r--r--disk/part_efi.c3
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