diff options
author | faqiang.zhu <faqiang.zhu@nxp.com> | 2020-04-14 15:44:58 +0800 |
---|---|---|
committer | Ji Luo <ji.luo@nxp.com> | 2022-04-18 16:40:10 +0800 |
commit | d060bbdf61197db670a0a655b0c698f6fe4b9b11 (patch) | |
tree | 74bec42d91441c74030472cf8928b9bb0ee1aefd /lib | |
parent | 14b72130534e1e7a92c15a4f382fa8ff0aa2a722 (diff) |
MA-16954 set partition type to efi after flash gpt partition
If the target device have DOS partition, uboot will save the partition
type as dos partition at early stage when the driver bind the device.
After the gpt partition is flashed, uboot will try to reload the DOS
partition, instead of the the EFI partition.
In this commit, if the GPT partition is successfully flashed, set the
partition type to be PART_TYPE_EFI if necessary, so the EFI partitions
will be reloaded.
Change-Id: I6095cb56c73aecee24f76d169db89daba3783e29
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
(cherry picked from commit 62becd667e5f3ebbefef796818eda78f4d0e167b)
(cherry picked from commit 358efa24b714738ce145fa60f0b4d194b68c4c49)
(cherry picked from commit beef004c1daa5494f590c3307e7cb28d460a65eb)
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions