diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2014-07-08 18:38:34 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-16 10:46:19 +0200 |
commit | 9183a8c683014f7f6dae004009556c9c0d4d2a15 (patch) | |
tree | 580495f15548e46066e3e7a0a2c28b7d2688d522 /arch/efi/efi/efi-device.c | |
parent | ef4f9d77b72c2349e7dfcdb2de9f60ed758e1888 (diff) | |
download | barebox-9183a8c683014f7f6dae004009556c9c0d4d2a15.tar.gz barebox-9183a8c683014f7f6dae004009556c9c0d4d2a15.tar.xz |
EFI: introduce efi_strguid to convert GUID to human readable names
use in devinfo Protocols
Tested today on qemu with all the GUID translated
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/efi/efi/efi-device.c')
-rw-r--r-- | arch/efi/efi/efi-device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/efi/efi/efi-device.c b/arch/efi/efi/efi-device.c index 71526b999f..1c9553d906 100644 --- a/arch/efi/efi/efi-device.c +++ b/arch/efi/efi/efi-device.c @@ -86,7 +86,8 @@ static void efi_devinfo(struct device_d *dev) printf("Protocols:\n"); for (i = 0; i < efidev->num_guids; i++) - printf(" %d: %pUl\n", i, &efidev->guids[i]); + printf(" %d: %pUl: %s\n", i, &efidev->guids[i], + efi_guid_string(&efidev->guids[i])); } static efi_handle_t *efi_find_parent(efi_handle_t *handle) |