From: Gary Bisson Date: Tue, 26 Jan 2021 13:56:23 +0000 (+0100) Subject: disk: part_efi: update partition table entries after write X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=4e9bd0623775768be4e1e80ee32a7e42b8c9d3c5;p=u-boot.git 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 Reviewed-by: Heinrich Schuchardt --- 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