
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.
Provide a correctly aligned transmit buffer not depending on CONFIG_EFI_LOADER_BOUNCE_BUFFER.
Correct the unit test.
Add and correct comments.
Without this patch i.mx6 system Wandboard Quad rev B1 fails to execute bootefi selftest.
--- v4: provide a more verbose commit message v3: split the patch into a series v2: match EFI_ENTRY() and EFI_EXIT() in efi_network_timer_notify() update comments ---
Heinrich Schuchardt (3): efi_selftest: fix simple network protocol test efi_loader: correctly aligned transmit buffer efi_loader: fix simple network protocol
lib/efi_loader/efi_net.c | 414 +++++++++++++++++++++++----- lib/efi_selftest/efi_selftest_snp.c | 16 +- 2 files changed, 356 insertions(+), 74 deletions(-)