From patchwork Thu Nov 22 19:12:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 201136 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 603FB2C008F for ; Fri, 23 Nov 2012 06:15:12 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1A5654A03C; Thu, 22 Nov 2012 20:15:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N0TovL0++x2J; Thu, 22 Nov 2012 20:15:10 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F23174A049; Thu, 22 Nov 2012 20:14:50 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C410E4A02A for ; Thu, 22 Nov 2012 20:14:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bMqNrGkt1AzP for ; Thu, 22 Nov 2012 20:14:48 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-fa0-f74.google.com (mail-fa0-f74.google.com [209.85.161.74]) by theia.denx.de (Postfix) with ESMTPS id 1B5654A021 for ; Thu, 22 Nov 2012 20:14:46 +0100 (CET) Received: by mail-fa0-f74.google.com with SMTP id t1so346502fae.3 for ; Thu, 22 Nov 2012 11:14:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=JS/wzgGG91OYJjwj5hCT1TmM501iKr/+iH1QOYi+3sQ=; b=RFV4d/2xv++++pSEc3fvab4W+vhZ2bHTwaAB+vw5XSz3Zi5nZ4VcT0EZcx0+jffiaP q91TAVnE32f0VD0iYcCguWMal+Ut2EMfygjmyQl2r+8VW9rpo2Esi5YyVFqj1EBL7XdU rnbaLkySrzW5j/gwObjZHnZxjJUGWD5NVPbEARX/RMavAg7RJqdJ6TEJg6BPr/FtGc3r gH64exMQu21k8EwEeqxyGGHm6LHn+ItodZlOM/oG1kwT+3hDrRSg1lGJoy6AwTWEq5zE VpKdA05PctGUJkBEe3bISSI5Q4sLgeYfNTZ/E4aTHHA9XZCytF4B2iIuqJUWW7cCCicG WRpQ== Received: by 10.14.216.197 with SMTP id g45mr2189627eep.3.1353611686114; Thu, 22 Nov 2012 11:14:46 -0800 (PST) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id u8si1008064een.1.2012.11.22.11.14.46 (version=TLSv1/SSLv3 cipher=AES128-SHA); Thu, 22 Nov 2012 11:14:46 -0800 (PST) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id BB66F20004E; Thu, 22 Nov 2012 11:14:45 -0800 (PST) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id 2027F1608F0; Thu, 22 Nov 2012 11:14:45 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Date: Thu, 22 Nov 2012 11:12:45 -0800 Message-Id: <1353611587-18186-2-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1353611587-18186-1-git-send-email-sjg@chromium.org> References: <1353611587-18186-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQmbLO2J8uk90Ys8ICNaoR2Rj+ry7SgYt2ZjgonQzpHjHD05DQcISed2WswZzm/YM6FaRYyDksq85T+3vmii6IxEJD3FV+RDsnUWAhNtTvLL9GZkEt2GRZGc4uy9+NCFcpeFIRYW7zy23o6fxdN+2DX6d6i1uzn0qJnkbOr1NhhLwdAKDtXyzN9leIlt2/waQN1iUdlt Cc: Tom Rini Subject: [U-Boot] [PATCH v2 01/23] Add new bootstage step for the main loop X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Mark when we get to the main loop. Signed-off-by: Simon Glass --- Changes in v2: - Remove arm: tag from bootstage step patch common/main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/main.c b/common/main.c index 592ce07..48b2f76 100644 --- a/common/main.c +++ b/common/main.c @@ -299,6 +299,8 @@ void main_loop (void) char bcs_set[16]; #endif /* CONFIG_BOOTCOUNT_LIMIT */ + bootstage_mark_name(BOOTSTAGE_ID_MAIN_LOOP, "main_loop"); + #ifdef CONFIG_BOOTCOUNT_LIMIT bootcount = bootcount_load(); bootcount++;