From patchwork Tue May 30 12:22:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 768577 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3wcXmb0HKPz9s0m for ; Tue, 30 May 2017 22:22:22 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="P9cuEdvH"; dkim-atps=neutral Received: by lists.denx.de (Postfix, from userid 105) id B80E0C21C4E; Tue, 30 May 2017 12:22:19 +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_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID 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 623B8C21C44; Tue, 30 May 2017 12:22:17 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4C936C21C44; Tue, 30 May 2017 12:22:15 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id EBAB1C21C3C for ; Tue, 30 May 2017 12:22:14 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id g15so24933712wmc.2 for ; Tue, 30 May 2017 05:22:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id; bh=ZCvdqWiJ6XnvbBIBxxR7omwzBX2DR0R+538Ct8JLUZY=; b=P9cuEdvHVmcUR9SRfjbXkxLGXdETyWD+e+Soht7ka4R98LLNTiio3vB8RWi8JmEf+a xjv4wPmMBQTn3tuyiXb9yVLymPQa/67S3fPyDpE3zJhHCtnAtWHGABZAsC9oW8+IJ3yD /x67A+PR3hYQ2nMcTmy/JCkbw4P9NqjxzXdC8W5zpdPgI16Yu07/TmEOCjbOHTtxtcpa opkIGb6MMrJIaqCCDZRRAk4/J/pcpfjVjsJtd7z+wjio81+2ziiHwbTTf7Tx3w98QOAv Lrb/Wz230os0CK0/Or5ZASzj2ni6rYrKEqgJsEPu9fp7ir7R8wlIJeDXIUYSTv/b4J4E gydQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=ZCvdqWiJ6XnvbBIBxxR7omwzBX2DR0R+538Ct8JLUZY=; b=AZdrDC6CayaOUJxdLNdq11Z6H3mcjSs9BrktrmjsbRNmMk4/4iEaFWrGyqYzxm+FP+ iM8U6LY+fZOgXSjZnAh6/kiv3cuPKKU7vy5PGcbgdsMRjkvPZz1nbtPYOfxHVK91n6Zj 6oHXS82zI5/7mFAc8ALYMvXuiUH1ppSGwsf68lvb3fZOE7rHlGk0rUmSbhllkz0MzCqD sYaLGxa+3c2+pFQr7LiJElXvszxBiQi2Som1lpTTY4Xg+B/ZR6cFJAxWPzxSpowEjmhl lJl6uk8X8PwDZ7GGxqz4UH0idQCcog77U3xLaG5iAq4W8FUyz6WkWr2XkTjie9HntmoN SLKg== X-Gm-Message-State: AODbwcD66YZI3ebYduwl5ALnvB8HEsaaASDiarLoCSGnDk76/XgaL5vK 4ocJfkf0bRKtuVxdorQ= X-Received: by 10.223.175.201 with SMTP id y9mr741554wrd.77.1496146934460; Tue, 30 May 2017 05:22:14 -0700 (PDT) Received: from localhost ([195.88.143.35]) by smtp.gmail.com with ESMTPSA id b131sm13291108wma.11.2017.05.30.05.22.13 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 30 May 2017 05:22:14 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de Date: Tue, 30 May 2017 14:22:11 +0200 Message-Id: <0f47cf62b1af3dac5d2a1b9da65a4bf5364b6765.1496146930.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 Subject: [U-Boot] [PATCH 1/3] bootstage: Dont print reset entry separately 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" From: Siva Durga Prasad Paladugu Printing the first entry reset separately is no longer needed as it now prints the entries with valid name and timestamp zero. This removes duplicate printing of the reset record. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- common/bootstage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bootstage.c b/common/bootstage.c index 35bce3d881a5..c8080dcab5d7 100644 --- a/common/bootstage.c +++ b/common/bootstage.c @@ -271,7 +271,7 @@ void bootstage_report(void) /* Fake the first record - we could get it from early boot */ rec->name = "reset"; rec->time_us = 0; - prev = print_time_record(BOOTSTAGE_ID_AWAKE, rec, 0); + prev = 0; /* Sort records by increasing time */ qsort(record, ARRAY_SIZE(record), sizeof(*rec), h_compare_record);