env: Do not make CONFIG_EXTRA_ENV_TEXT and CONFIG_EXTRA_ENV_SETTINGS conflict
authorTom Rini <trini@konsulko.com>
Tue, 14 Jun 2022 02:57:30 +0000 (22:57 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 28 Jun 2022 21:11:48 +0000 (17:11 -0400)
Largely, the use of CONFIG_EXTRA_ENV_SETTINGS can be migrated directly
to come from CONFIG_EXTRA_ENV_TEXT.  The biggest case that cannot easily
be migrated is distro_bootcmd support.  Rather than block migration on
this, remove the #error here so that we can being moving forward.

Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
include/env_default.h

index 7004a6f..7113e08 100644 (file)
@@ -109,9 +109,6 @@ const char default_environment[] = {
        "bootlimit="    __stringify(CONFIG_BOOTCOUNT_BOOTLIMIT)"\0"
 #endif
 #ifdef CONFIG_EXTRA_ENV_TEXT
-# ifdef CONFIG_EXTRA_ENV_SETTINGS
-# error "Your board uses a text-file environment, so must not define CONFIG_EXTRA_ENV_SETTINGS"
-# endif
        /* This is created in the Makefile */
        CONFIG_EXTRA_ENV_TEXT
 #endif