nmhw: add spl version info for NRSW
- NRSW feature guarded by CONFIG_NRSW_BUILD
This commit is contained in:
parent
19271e52e9
commit
05e24f04fe
|
|
@ -19,6 +19,10 @@
|
|||
#include <dm/root.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
#ifdef CONFIG_NRSW_BUILD
|
||||
#include <spl_version_autogenerated.h>
|
||||
#endif
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#ifndef CONFIG_SYS_UBOOT_START
|
||||
|
|
@ -453,6 +457,9 @@ void preloader_console_init(void)
|
|||
|
||||
gd->have_console = 1;
|
||||
|
||||
#ifdef CONFIG_NRSW_BUILD
|
||||
puts("\n" SPL_VERSION);
|
||||
#endif
|
||||
puts("\nU-Boot SPL " PLAIN_VERSION " (" U_BOOT_DATE " - " \
|
||||
U_BOOT_TIME ")\n");
|
||||
#ifdef CONFIG_SPL_DISPLAY_PRINT
|
||||
|
|
|
|||
Loading…
Reference in New Issue