]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/console.c
Convert SILENT_CONSOLE options to Kconfig
[people/ms/u-boot.git] / common / console.c
index f38f71f819bdd1c272fa428eac3d7c9d629b88c4..282fcc883207beac984ab41fc5f0bd44742ba38a 100644 (file)
@@ -66,11 +66,11 @@ U_BOOT_ENV_CALLBACK(console, on_console);
 static int on_silent(const char *name, const char *value, enum env_op op,
        int flags)
 {
-#ifndef CONFIG_SILENT_CONSOLE_UPDATE_ON_SET
+#if !CONFIG_IS_ENABLED(CONFIG_SILENT_CONSOLE_UPDATE_ON_SET)
        if (flags & H_INTERACTIVE)
                return 0;
 #endif
-#ifndef CONFIG_SILENT_CONSOLE_UPDATE_ON_RELOC
+#if !CONFIG_IS_ENABLED(CONFIG_SILENT_CONSOLE_UPDATE_ON_RELOC)
        if ((flags & H_INTERACTIVE) == 0)
                return 0;
 #endif