spl: add option to disable SPL banner output
[oweals/u-boot.git] / common / spl / spl.c
index 1566acdbc30672eb4a8efe476d21bd6e0ae7ea85..2ebab8f0c28a41d6df6120b3f91841f9f2aa991b 100644 (file)
@@ -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