aboutsummaryrefslogtreecommitdiff
path: root/common/spl/spl.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-11-15 18:43:57 -0700
committerTom Rini <trini@konsulko.com>2018-11-26 08:25:34 -0500
commitaedc08b297b1682ac12acb81d0867606f422a15c (patch)
treea90ae484003a4c6f9063f602fdb3e5df29186f42 /common/spl/spl.c
parentd6330064634aa698c0a686002ceeb19b3de0d71f (diff)
downloadu-boot-aedc08b297b1682ac12acb81d0867606f422a15c.zip
u-boot-aedc08b297b1682ac12acb81d0867606f422a15c.tar.gz
u-boot-aedc08b297b1682ac12acb81d0867606f422a15c.tar.bz2
spl: Make SPL_DISABLE_BANNER_PRINT a positive option
Rather than having a negative option, make this a positive option and enable it by default. This makes it easier to understand. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/spl/spl.c')
-rw-r--r--common/spl/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 23be33c..5a026b8 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -607,7 +607,7 @@ void preloader_console_init(void)
gd->have_console = 1;
-#ifndef CONFIG_SPL_DISABLE_BANNER_PRINT
+#if CONFIG_IS_ENABLED(BANNER_PRINT)
puts("\nU-Boot " SPL_TPL_NAME " " PLAIN_VERSION " (" U_BOOT_DATE " - "
U_BOOT_TIME " " U_BOOT_TZ ")\n");
#endif