nmhw: add spl version info for NRSW

- NRSW feature guarded by CONFIG_NRSW_BUILD
This commit is contained in:
Rene Straub 2019-11-11 07:39:10 +01:00
parent 19271e52e9
commit 05e24f04fe
1 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,10 @@
#include <dm/root.h> #include <dm/root.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#ifdef CONFIG_NRSW_BUILD
#include <spl_version_autogenerated.h>
#endif
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
#ifndef CONFIG_SYS_UBOOT_START #ifndef CONFIG_SYS_UBOOT_START
@ -453,6 +457,9 @@ void preloader_console_init(void)
gd->have_console = 1; gd->have_console = 1;
#ifdef CONFIG_NRSW_BUILD
puts("\n" SPL_VERSION);
#endif
puts("\nU-Boot SPL " PLAIN_VERSION " (" U_BOOT_DATE " - " \ puts("\nU-Boot SPL " PLAIN_VERSION " (" U_BOOT_DATE " - " \
U_BOOT_TIME ")\n"); U_BOOT_TIME ")\n");
#ifdef CONFIG_SPL_DISPLAY_PRINT #ifdef CONFIG_SPL_DISPLAY_PRINT