diff options
author | Tom Rini <trini@konsulko.com> | 2020-04-30 15:11:06 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-30 15:11:06 -0400 |
commit | 78021b63373de32335bd204471d6cb7c7e18bc52 (patch) | |
tree | 2595e84a2a15ad82f99c298259ff3c2b4b31c0d9 /cmd/gpt.c | |
parent | 9f0a6df3a57469061582c6b27fc869829681beca (diff) | |
parent | f9f5f92bc54b035223e447bc5740544efd0569d9 (diff) | |
download | u-boot-78021b63373de32335bd204471d6cb7c7e18bc52.zip u-boot-78021b63373de32335bd204471d6cb7c7e18bc52.tar.gz u-boot-78021b63373de32335bd204471d6cb7c7e18bc52.tar.bz2 |
Merge tag 'efi-2020-07-rc2' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2020-07-rc2
This pull request contains bug fixes needed due to the merged changes for
EFI secure boot.
Patches are supplied to identify EFI system partitions.
Diffstat (limited to 'cmd/gpt.c')
-rw-r--r-- | cmd/gpt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -245,7 +245,7 @@ static void print_gpt_info(void) printf("Block size %lu, name %s\n", curr->gpt_part_info.blksz, curr->gpt_part_info.name); printf("Type %s, bootable %d\n", curr->gpt_part_info.type, - curr->gpt_part_info.bootable); + curr->gpt_part_info.bootable & PART_BOOTABLE); #ifdef CONFIG_PARTITION_UUIDS printf("UUID %s\n", curr->gpt_part_info.uuid); #endif @@ -535,7 +535,7 @@ static int set_gpt_info(struct blk_desc *dev_desc, /* bootable */ if (found_key(tok, "bootable")) - parts[i].bootable = 1; + parts[i].bootable = PART_BOOTABLE; } *parts_count = p_count; |