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

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

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

Reviewed-by: Duncan Hare <dh@synoia.com>
This commit is contained in:
Joe Hershberger 2018-04-13 15:26:39 -05:00
parent 5f967c0493
commit 092f2f35b5
4 changed files with 5 additions and 5 deletions

View file

@ -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
}