diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/spl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index 8d07321784..0e50137cdf 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -331,6 +331,7 @@ struct boot_device_name boot_name_table[] = { static void announce_boot_device(u32 boot_device) { +#ifndef CONFIG_SPL_SILENT_CONSOLE int i; puts("Trying to boot from "); @@ -348,6 +349,7 @@ static void announce_boot_device(u32 boot_device) } printf("%s\n", boot_name_table[i].name); +#endif } #else static inline void announce_boot_device(u32 boot_device) { } @@ -473,11 +475,13 @@ void preloader_console_init(void) gd->have_console = 1; +#ifndef CONFIG_SPL_SILENT_CONSOLE puts("\nU-Boot SPL " PLAIN_VERSION " (" U_BOOT_DATE " - " \ U_BOOT_TIME ")\n"); #ifdef CONFIG_SPL_DISPLAY_PRINT spl_display_print(); #endif +#endif } /** |