]> git.sur5r.net Git - u-boot/blobdiff - cmd/bootefi.c
Kconfig: cmd: Make networking command dependent on NET
[u-boot] / cmd / bootefi.c
index 2106ed9c8c8b9af778d814d4921c5d2266acc9bb..c17fa2ca2363ca56ab8d392e13b64f29dad8b0e2 100644 (file)
@@ -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
        }