efi_loader: Uart device path
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 19 Mar 2021 01:49:54 +0000 (02:49 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 19 Mar 2021 19:54:40 +0000 (20:54 +0100)
commit62df6e9c9994c66efd34afe710a64de27dd120bc
treee991158345b91c597671f18424bc27f95822eae4
parenta95f4c88599176d9a88dc19c02fa8dd95003eebf
efi_loader: Uart device path

When uploading an EFI binary via the UART we need to assign a device path.

* Provide devicepath node to text conversion for Uart() node.
* Provide function to create Uart() device path.
* Add UART support to efi_dp_from_name().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_api.h
lib/efi_loader/efi_device_path.c
lib/efi_loader/efi_device_path_to_text.c