diff options
| author | Gary Bisson <[email protected]> | 2021-01-26 14:56:23 +0100 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2021-01-29 20:22:40 +0100 |
| commit | 4e9bd0623775768be4e1e80ee32a7e42b8c9d3c5 (patch) | |
| tree | 292b79caba65c318ed85f5b6589bcc684cd3ebb2 /disk | |
| 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 <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'disk')
| -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 2f922662e6e..7a24e33d189 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 |
