summaryrefslogtreecommitdiff
path: root/include/part_efi.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-10-01 12:22:35 -0600
committerSimon Glass <sjg@chromium.org>2018-10-09 04:40:27 -0600
commit67b90522640a27dc3c9b6d86d93dc0bf6596e8f8 (patch)
tree2daff7be86b556000a8040c253940ff478f09a61 /include/part_efi.h
parent109860ff3ec7d3d2ba1363a29a480e2d8551ed21 (diff)
downloadu-boot-67b90522640a27dc3c9b6d86d93dc0bf6596e8f8.tar.gz
Rename GPT_HEADER_SIGNATURE to avoid conflict
The current name conflicts with the Chrome OS verified boot library, which prevents it being built. That library uses a string whereas U-Boot uses a 64-bit hex value. Rename this in U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/part_efi.h')
-rw-r--r--include/part_efi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/part_efi.h b/include/part_efi.h
index 8525770445..7170b61c95 100644
--- a/include/part_efi.h
+++ b/include/part_efi.h
@@ -24,7 +24,7 @@
#define EFI_PMBR_OSTYPE_EFI 0xEF
#define EFI_PMBR_OSTYPE_EFI_GPT 0xEE
-#define GPT_HEADER_SIGNATURE 0x5452415020494645ULL
+#define GPT_HEADER_SIGNATURE_UBOOT 0x5452415020494645ULL
#define GPT_HEADER_REVISION_V1 0x00010000
#define GPT_PRIMARY_PARTITION_TABLE_LBA 1ULL
#define GPT_ENTRY_NUMBERS CONFIG_EFI_PARTITION_ENTRIES_NUMBERS