efi_loader: efi_device_path: Pass net udevice as argument
In preparation to support multiple EFI net objects, support constructing device paths using an ethernet device different than the default. Add a udevice argument to the device path generation, and keep the callsites with eth_get_dev() to preserve existing functionality. Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
This commit is contained in:

committed by
Heinrich Schuchardt

parent
6a832d4b2e
commit
267b0a7ddf
@@ -925,8 +925,8 @@ struct efi_device_path *efi_dp_from_part(struct blk_desc *desc, int part);
|
||||
struct efi_device_path *efi_dp_part_node(struct blk_desc *desc, int part);
|
||||
struct efi_device_path *efi_dp_from_file(const struct efi_device_path *dp,
|
||||
const char *path);
|
||||
struct efi_device_path *efi_dp_from_eth(void);
|
||||
struct efi_device_path *efi_dp_from_http(const char *server);
|
||||
struct efi_device_path *efi_dp_from_eth(struct udevice *dev);
|
||||
struct efi_device_path *efi_dp_from_http(const char *server, struct udevice *dev);
|
||||
struct efi_device_path *efi_dp_from_mem(uint32_t mem_type,
|
||||
uint64_t start_address,
|
||||
size_t size);
|
||||
|
Reference in New Issue
Block a user