aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_selftest/efi_selftest_block_device.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_selftest/efi_selftest_block_device.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_selftest/efi_selftest_block_device.c')
-rw-r--r--lib/efi_selftest/efi_selftest_block_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/efi_selftest/efi_selftest_block_device.c b/lib/efi_selftest/efi_selftest_block_device.c
index 21409ae..29ac0ce 100644
--- a/lib/efi_selftest/efi_selftest_block_device.c
+++ b/lib/efi_selftest/efi_selftest_block_device.c
@@ -24,8 +24,8 @@
static struct efi_boot_services *boottime;
-static const efi_guid_t block_io_protocol_guid = BLOCK_IO_GUID;
-static const efi_guid_t guid_device_path = DEVICE_PATH_GUID;
+static const efi_guid_t block_io_protocol_guid = EFI_BLOCK_IO_PROTOCOL_GUID;
+static const efi_guid_t guid_device_path = EFI_DEVICE_PATH_PROTOCOL_GUID;
static const efi_guid_t guid_simple_file_system_protocol =
EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID;
static const efi_guid_t guid_file_system_info = EFI_FILE_SYSTEM_INFO_GUID;