]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: fix simple network protocol
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 30 Nov 2018 23:16:33 +0000 (00:16 +0100)
committerAlexander Graf <agraf@suse.de>
Sun, 2 Dec 2018 20:59:37 +0000 (21:59 +0100)
commit41b0587981c44552c53bafa8ac9121ee3a4b2ee0
tree36444a57794a65f1b9a45af5e97f51d2a52ba539
parent622fe621a2e7f431f7dc5dcdfd30d56af00de0ae
efi_loader: fix simple network protocol

We should not call eth_rx() before the network interface is initialized.
The services of the simple network protocol should check the state of
the network adapter.

Add and correct comments.

Without this patch i.mx6 system Wandboard Quad rev B1 fails to execute
bootefi selftest.

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