[U-Boot] [PATCH] spl: include timezone in banner
Klaus Goger
klaus.goger at theobroma-systems.com
Thu Jan 4 06:22:11 UTC 2018
Include the timezone in the SPL banner so the timestamp matches with
that from u-boot proper.
Signed-off-by: Klaus Goger <klaus.goger at theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
---
I know this is kind of a nitpick patch and we don't really have any space
to waste in SPL. But the inconsistency annoyed me after wasting some time
figuring out why one of my testcases always failed due a regex not matching.
The additional 6 bytes don't break any builds as verified with Travis-CI:
https://travis-ci.org/ptomsich/u-boot-rockchip/builds/324694323
common/spl/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 76c1963611..660e4011e6 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -478,7 +478,7 @@ void preloader_console_init(void)
gd->have_console = 1;
puts("\nU-Boot SPL " PLAIN_VERSION " (" U_BOOT_DATE " - " \
- U_BOOT_TIME ")\n");
+ U_BOOT_TIME " " U_BOOT_TZ ")\n");
#ifdef CONFIG_SPL_DISPLAY_PRINT
spl_display_print();
#endif
--
2.11.0
More information about the U-Boot
mailing list