
31 Aug
2017
31 Aug
'17
2:52 p.m.
On 27 August 2017 at 06:54, Heinrich Schuchardt xypron.glpk@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@gmx.de
lib/efi_loader/efi_net.c | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass sjg@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.