From 05e24f04feaa91d3a6acc6ecad32e9132c12b1a9 Mon Sep 17 00:00:00 2001 From: Rene Straub Date: Mon, 11 Nov 2019 07:39:10 +0100 Subject: [PATCH] nmhw: add spl version info for NRSW - NRSW feature guarded by CONFIG_NRSW_BUILD --- common/spl/spl.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/spl/spl.c b/common/spl/spl.c index bdde716918..ec7f237083 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -19,6 +19,10 @@ #include #include +#ifdef CONFIG_NRSW_BUILD +#include +#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