summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-10-08 08:14:35 +0000
committerTom Rini <trini@ti.com>2012-10-17 07:59:10 -0700
commit1c8346ab38a981559a25492dcdfda211cb09aab4 (patch)
tree55bde0dbe2de7c2d005110e73f20cb2fe9eee993 /disk
parentf07cd2c4c703cb07ca595fb0b7e3aa3c4ed8b540 (diff)
downloadu-boot-imx-1c8346ab38a981559a25492dcdfda211cb09aab4.zip
u-boot-imx-1c8346ab38a981559a25492dcdfda211cb09aab4.tar.gz
u-boot-imx-1c8346ab38a981559a25492dcdfda211cb09aab4.tar.bz2
disk: part_efi: add new partition attribute definitions
Add no_block_io_protocol and legacy_bios_bootable attribute definitions. These are sourced from UEFI Spec 2.3, page 105, table 19. Credits to the libparted source for the specification pointer. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'disk')
-rw-r--r--disk/part_efi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/disk/part_efi.h b/disk/part_efi.h
index 5903e7c..1d0c67c 100644
--- a/disk/part_efi.h
+++ b/disk/part_efi.h
@@ -113,7 +113,9 @@ typedef struct _gpt_header {
typedef struct _gpt_entry_attributes {
unsigned long long required_to_function:1;
- unsigned long long reserved:47;
+ unsigned long long no_block_io_protocol:1;
+ unsigned long long legacy_bios_bootable:1;
+ unsigned long long reserved:45;
unsigned long long type_guid_specific:16;
} __attribute__ ((packed)) gpt_entry_attributes;