Skip to content
Snippets Groups Projects
Commit 092f2f35 authored by Joe Hershberger's avatar Joe Hershberger
Browse files

Revert "Kconfig: cmd: Make networking command dependent on NET"


This reverts the parts of commit 3b3ea2c5
where it changed the EFI dependency on NET.

Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>

Reviewed-by: default avatarDuncan Hare <dh@synoia.com>
parent 5f967c04
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ config DISTRO_DEFAULTS
select CMD_BOOTI if ARM64
select CMD_DHCP if CMD_NET
select CMD_PING if CMD_NET
select CMD_PXE if NET && CMD_NET
select CMD_PXE if NET
select CMD_EXT2
select CMD_EXT4
select CMD_FAT
......
......@@ -56,7 +56,7 @@ efi_status_t efi_init_obj_list(void)
if (ret != EFI_SUCCESS)
goto out;
#endif
#ifdef CONFIG_CMD_NET
#ifdef CONFIG_NET
ret = efi_net_register();
if (ret != EFI_SUCCESS)
goto out;
......@@ -511,7 +511,7 @@ void efi_set_bootdev(const char *dev, const char *devnr, const char *path)
bootefi_device_path = efi_dp_from_part(desc, part);
} else {
#ifdef CONFIG_CMD_NET
#ifdef CONFIG_NET
bootefi_device_path = efi_dp_from_eth();
#endif
}
......
......@@ -22,5 +22,5 @@ obj-y += efi_watchdog.o
obj-$(CONFIG_LCD) += efi_gop.o
obj-$(CONFIG_DM_VIDEO) += efi_gop.o
obj-$(CONFIG_PARTITIONS) += efi_disk.o
obj-$(CONFIG_CMD_NET) += efi_net.o
obj-$(CONFIG_NET) += efi_net.o
obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o
......@@ -747,7 +747,7 @@ struct efi_device_path *efi_dp_from_file(struct blk_desc *desc, int part,
return start;
}
#ifdef CONFIG_CMD_NET
#ifdef CONFIG_NET
struct efi_device_path *efi_dp_from_eth(void)
{
#ifndef CONFIG_DM_ETH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment