[U-Boot] [PATCH 20/23] efi_loader: use events for efi_net_receive
Simon Glass
sjg at chromium.org
Thu Aug 31 12:52:16 UTC 2017
On 27 August 2017 at 06:54, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> A timer event is defined. The timer handler cares for receiving new
> packets.
>
> efi_timer_check is called both in efi_net_transmit and efi_net_receive
> to enable events during network communication.
>
> Calling efi_timer_check in efi_net_get_status is implemented in a
> separate patch.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> lib/efi_loader/efi_net.c | 35 ++++++++++++++++++++++++++++++++---
> 1 file changed, 32 insertions(+), 3 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
But this code should not support pre-DM networking. E.g. calling eth_rx()...
It should be adjusted to work only with boards that define
CONFIG_DM_ETH. Otherwise we will never be able to move things over.
More information about the U-Boot
mailing list