diff options
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2017-07-11 22:06:25 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2017-07-19 14:14:40 +0200 |
commit | cc5b70812f5e3b13ea9072c2dacc939818ef8e66 (patch) | |
tree | 122757ca40162ca3b81b02ad56e2031a20ff30d7 /cmd | |
parent | 88adae5ef057845f6bc69c63123df4332fe835b1 (diff) | |
download | u-boot-cc5b70812f5e3b13ea9072c2dacc939818ef8e66.tar.gz u-boot-cc5b70812f5e3b13ea9072c2dacc939818ef8e66.tar.bz2 u-boot-cc5b70812f5e3b13ea9072c2dacc939818ef8e66.zip |
efi_loader: implement EFI_DEVICE_PATH_TO_TEXT_PROTOCOL
ConvertPathToText is implemented for
* type 4 - media device path
* subtype 4 - file path
This is the kind of device path we hand out for block devices.
All other cases may be implemented later.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
[agraf: fix whitespace]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/bootefi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index 8453d90b2c..dcae253163 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -84,6 +84,10 @@ static struct efi_object loaded_image_info_obj = { .guid = &efi_guid_console_control, .protocol_interface = (void *) &efi_console_control }, + { + .guid = &efi_guid_device_path_to_text_protocol, + .protocol_interface = (void *) &efi_device_path_to_text + }, }, }; |