efi_loader: efi_net: Add efi_net_do_start() to efi_net.c

This gets called each time a payload is to get executed by bootefi.
For now this only updates the PXE IP address.

Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
This commit is contained in:
Adriano Cordova
2025-03-03 11:13:13 -03:00
committed by Simon Glass
parent d939578033
commit 9550e53433
3 changed files with 28 additions and 7 deletions

View File

@@ -225,6 +225,9 @@ static efi_status_t efi_start_obj_list(void)
{
efi_status_t ret = EFI_SUCCESS;
if (IS_ENABLED(CONFIG_NETDEVICES))
ret = efi_net_do_start();
return ret;
}