* [U-Boot] [PATCH] spl: include timezone in banner
@ 2018-01-04 6:22 Klaus Goger
2018-01-29 20:20 ` [U-Boot] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Klaus Goger @ 2018-01-04 6:22 UTC (permalink / raw)
To: u-boot
Include the timezone in the SPL banner so the timestamp matches with
that from u-boot proper.
Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] spl: include timezone in banner
2018-01-04 6:22 [U-Boot] [PATCH] spl: include timezone in banner Klaus Goger
@ 2018-01-29 20:20 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2018-01-29 20:20 UTC (permalink / raw)
To: u-boot
On Thu, Jan 04, 2018 at 07:22:11AM +0100, Klaus Goger wrote:
> Include the timezone in the SPL banner so the timestamp matches with
> that from u-boot proper.
>
> Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Now that we have an option to disable this print entirely, applied to
u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180129/15dd6733/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-29 20:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-04 6:22 [U-Boot] [PATCH] spl: include timezone in banner Klaus Goger
2018-01-29 20:20 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox