X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fpart_efi.h;h=4c8f6cc473c8fd02c8140629c8fa8c2462a87fb1;hb=8dc4e1fbf439d63082419640b6e797dfdfcc4720;hp=c8fc8738f96a91846cfe781ac1a8488d01ccdb8f;hpb=b38c108a9833ca2acb568530ebd269760f3925d9;p=u-boot diff --git a/include/part_efi.h b/include/part_efi.h index c8fc8738f9..4c8f6cc473 100644 --- a/include/part_efi.h +++ b/include/part_efi.h @@ -27,8 +27,7 @@ #define GPT_HEADER_SIGNATURE 0x5452415020494645ULL #define GPT_HEADER_REVISION_V1 0x00010000 #define GPT_PRIMARY_PARTITION_TABLE_LBA 1ULL -#define GPT_ENTRY_NAME "gpt" -#define GPT_ENTRY_NUMBERS 128 +#define GPT_ENTRY_NUMBERS CONFIG_EFI_PARTITION_ENTRIES_NUMBERS #define GPT_ENTRY_SIZE 128 #define PARTITION_SYSTEM_GUID \ @@ -59,10 +58,6 @@ /* linux/include/efi.h */ typedef u16 efi_char16_t; -typedef struct { - u8 b[16]; -} efi_guid_t; - /* based on linux/include/genhd.h */ struct partition { u8 boot_ind; /* 0x80 - active */