]> git.sur5r.net Git - u-boot/blobdiff - cmd/bootefi.c
Revert "Kconfig: cmd: Make networking command dependent on NET"
[u-boot] / cmd / bootefi.c
index 5a2a81005fcf734fbb873537f7b9f216f7d75e38..5498a5fccf78a991c19e5ced865fc4f3065311d8 100644 (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
        }