From cccc05ee3b9f575b567437d4146af0dee40c68ba Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Mon, 2 Sep 2019 10:10:34 +0200 Subject: env: net: U_BOOT_ENV_CALLBACKs should not depend on CMD_NET Some environment variables are relevant for networking. For these U_BOOT_ENV_CALLBACKs have been defined. When the corresponding environment variable is updated the callback updates the state of the network sub-system. In the UEFI subsystem we can use the network even if CONFIG_CMD_NET is not defined. Let the usage of the U_BOOT_ENV_CALLBACKs depend on CONFIG_NET and not on CONFIG_CMD_NET. Signed-off-by: Heinrich Schuchardt Acked-by: Joe Hershberger --- include/env_flags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/env_flags.h') diff --git a/include/env_flags.h b/include/env_flags.h index e5380f29484..725841a891d 100644 --- a/include/env_flags.h +++ b/include/env_flags.h @@ -36,7 +36,7 @@ enum env_flags_varaccess { #define CONFIG_ENV_FLAGS_LIST_STATIC "" #endif -#ifdef CONFIG_CMD_NET +#ifdef CONFIG_NET #ifdef CONFIG_REGEX #define ETHADDR_WILDCARD "\\d*" #else -- cgit v1.2.3