X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fpart_efi.h;h=4c8f6cc473c8fd02c8140629c8fa8c2462a87fb1;hb=83a1f933d141ca5db69344559c1eef255d45fddd;hp=317c044795caf68081aee879dc20c40835091256;hpb=51b4a639e45bfb592d7019b4e2a8cc72ad206c9b;p=u-boot diff --git a/include/part_efi.h b/include/part_efi.h index 317c044795..4c8f6cc473 100644 --- a/include/part_efi.h +++ b/include/part_efi.h @@ -27,7 +27,7 @@ #define GPT_HEADER_SIGNATURE 0x5452415020494645ULL #define GPT_HEADER_REVISION_V1 0x00010000 #define GPT_PRIMARY_PARTITION_TABLE_LBA 1ULL -#define GPT_ENTRY_NUMBERS 128 +#define GPT_ENTRY_NUMBERS CONFIG_EFI_PARTITION_ENTRIES_NUMBERS #define GPT_ENTRY_SIZE 128 #define PARTITION_SYSTEM_GUID \ @@ -58,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 */