From patchwork Thu Jan 4 06:22:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Klaus Goger X-Patchwork-Id: 855401 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zByTK6Z04z9s7M for ; Thu, 4 Jan 2018 17:25:09 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 9617EC21DC5; Thu, 4 Jan 2018 06:24:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 611B2C21DCA; Thu, 4 Jan 2018 06:24:34 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 275B0C21CB1; Thu, 4 Jan 2018 06:22:26 +0000 (UTC) Received: from mail.theobroma-systems.com (vegas.theobroma-systems.com [144.76.126.164]) by lists.denx.de (Postfix) with ESMTPS id AB617C21DDD for ; Thu, 4 Jan 2018 06:22:22 +0000 (UTC) Received: from [86.59.122.178] (port=54752 helo=blau.lan) by mail.theobroma-systems.com with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1eWyuz-0001Zy-AO; Thu, 04 Jan 2018 07:22:21 +0100 From: Klaus Goger To: u-boot@lists.denx.de Date: Thu, 4 Jan 2018 07:22:11 +0100 Message-Id: <20180104062211.1761-1-klaus.goger@theobroma-systems.com> X-Mailer: git-send-email 2.11.0 Cc: Tom Rini , Klaus Goger Subject: [U-Boot] [PATCH] spl: include timezone in banner X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Include the timezone in the SPL banner so the timestamp matches with that from u-boot proper. Signed-off-by: Klaus Goger Reviewed-by: Philipp Tomsich --- 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