mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
Kconfig: cmd: Make networking command dependent on NET
Enable networking command only when NET is enabled. And remove selecting NET for CMD_NET Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
4bafceff0e
commit
3b3ea2c56e
71 changed files with 94 additions and 134 deletions
|
@ -42,7 +42,7 @@ static void efi_init_obj_list(void)
|
|||
#if defined(CONFIG_LCD) || defined(CONFIG_DM_VIDEO)
|
||||
efi_gop_register();
|
||||
#endif
|
||||
#ifdef CONFIG_NET
|
||||
#ifdef CONFIG_CMD_NET
|
||||
efi_net_register();
|
||||
#endif
|
||||
#ifdef CONFIG_GENERATE_SMBIOS_TABLE
|
||||
|
@ -450,7 +450,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_NET
|
||||
#ifdef CONFIG_CMD_NET
|
||||
bootefi_device_path = efi_dp_from_eth();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue