aboutsummaryrefslogtreecommitdiff
path: root/common/spl/spl.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2018-01-25 18:45:22 +0100
committerTom Rini <trini@konsulko.com>2018-01-28 12:27:36 -0500
commit0292bc0d13ab6d026e2503161b6822a6358280d0 (patch)
tree82e0642fbfd2802818b9e909dcd70563fbcbb96a /common/spl/spl.c
parent9821636b641cbbeed1b6c89641d0649d386650db (diff)
downloadu-boot-0292bc0d13ab6d026e2503161b6822a6358280d0.zip
u-boot-0292bc0d13ab6d026e2503161b6822a6358280d0.tar.gz
u-boot-0292bc0d13ab6d026e2503161b6822a6358280d0.tar.bz2
spl: add option to disable SPL banner output
Selecting this option will reduce SPL boot time by approx. 6 ms (e. g. with 70 bytes long banner string at 115200 baud). Signed-off-by: Anatolij Gustschin <agust@denx.de> Tested-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'common/spl/spl.c')
-rw-r--r--common/spl/spl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 1566acd..2ebab8f 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -477,8 +477,10 @@ void preloader_console_init(void)
gd->have_console = 1;
+#ifndef CONFIG_SPL_DISABLE_BANNER_PRINT
puts("\nU-Boot SPL " PLAIN_VERSION " (" U_BOOT_DATE " - " \
U_BOOT_TIME ")\n");
+#endif
#ifdef CONFIG_SPL_DISPLAY_PRINT
spl_display_print();
#endif