aboutsummaryrefslogtreecommitdiff
path: root/lib/efi/efi.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-04-20 07:39:11 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-04-23 00:37:27 +0200
commitdec88e41e022ac06c0054ca48807db0d95f917f6 (patch)
tree2fb2e6ba1db459cd39566bd24ce9489ad8309e38 /lib/efi/efi.c
parenta2a4bc3b09fc956ae58572430a019781425baf9c (diff)
downloadu-boot-dec88e41e022ac06c0054ca48807db0d95f917f6.zip
u-boot-dec88e41e022ac06c0054ca48807db0d95f917f6.tar.gz
u-boot-dec88e41e022ac06c0054ca48807db0d95f917f6.tar.bz2
efi_loader: consistent naming of protocol GUIDs
We should consistently use the same name for protocol GUIDs as defined in the UEFI specification. Not adhering to this rule has led to duplicate definitions for the EFI_LOADED_IMAGE_PROTOCOL_GUID. Adjust misnamed protocol GUIDs. Adjust the text for the graphics output protocol in the output of the `efidebug dh` command. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/efi/efi.c')
-rw-r--r--lib/efi/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi/efi.c b/lib/efi/efi.c
index 2c6a508..7cba57b 100644
--- a/lib/efi/efi.c
+++ b/lib/efi/efi.c
@@ -53,7 +53,7 @@ void efi_puts(struct efi_priv *priv, const char *str)
int efi_init(struct efi_priv *priv, const char *banner, efi_handle_t image,
struct efi_system_table *sys_table)
{
- efi_guid_t loaded_image_guid = LOADED_IMAGE_PROTOCOL_GUID;
+ efi_guid_t loaded_image_guid = EFI_LOADED_IMAGE_PROTOCOL_GUID;
struct efi_boot_services *boot = sys_table->boottime;
struct efi_loaded_image *loaded_image;
int ret;