summaryrefslogtreecommitdiff
path: root/include/blk.h
diff options
context:
space:
mode:
authorMasahisa Kojima <masahisa.kojima@linaro.org>2021-10-26 11:27:25 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-10-26 22:32:46 +0300
commitce3dbc5d080de8045dd5e2b512cad75434ba4cf5 (patch)
tree914447046e0c0668321d7e749eeede4e2c0ccc47 /include/blk.h
parent3d49ee8510d38e7fd087c7250a3f4392a38bf0dd (diff)
downloadu-boot-ce3dbc5d080de8045dd5e2b512cad75434ba4cf5.tar.xz
efi_loader: add UEFI GPT measurement
This commit adds the UEFI GPT disk partition topology measurement required in TCG PC Client Platform Firmware Profile Specification Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Diffstat (limited to 'include/blk.h')
-rw-r--r--include/blk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/blk.h b/include/blk.h
index 19bab081c2..f0cc7ca1a2 100644
--- a/include/blk.h
+++ b/include/blk.h
@@ -45,6 +45,9 @@ enum if_type {
#define BLK_PRD_SIZE 20
#define BLK_REV_SIZE 8
+#define PART_FORMAT_PCAT 0x1
+#define PART_FORMAT_GPT 0x2
+
/*
* Identifies the partition table type (ie. MBR vs GPT GUID) signature
*/