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>
Thu, 25 Mar 2021 19:09:17 +0000 (20:09 +0100)
commitf027222ad8c7488bab6f4e5b6ab77104081842c6
tree079b301dd5fc98b835b73f0d52c4ae708215d630
parent134d3387e1b794bbe1ba1747232f15d9376632c9
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