]> git.sur5r.net Git - u-boot/commit
efi_net: return EFI_UNSUPPORTED where appropriate
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 5 Oct 2017 14:35:59 +0000 (16:35 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 9 Oct 2017 05:00:32 +0000 (07:00 +0200)
commit61da678c394583a4731178858e9b9312f05c758b
treef6c0dff1e2df6b38355790433b6246c043b2b99e
parent5d4a5ea964e523a29ec077b6f95537956c366c1f
efi_net: return EFI_UNSUPPORTED where appropriate

U-Boot does not implement all functions of the simple network
protocol. The unimplemented functions return either of
EFI_SUCCESS and EFI_INVALID_PARAMETER.

The UEFI spec foresees to return EFI_UNSUPPORTED in these cases.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_net.c