From patchwork Mon Aug 5 14:00:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 264684 X-Patchwork-Delegate: trini@ti.com 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 4306E2C008A for ; Tue, 6 Aug 2013 00:01:24 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2F2404A01B; Mon, 5 Aug 2013 16:01:10 +0200 (CEST) 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 VOUbbEPWqt-O; Mon, 5 Aug 2013 16:01:09 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DAD264A02E; Mon, 5 Aug 2013 16:00:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2CB9C4A01B for ; Mon, 5 Aug 2013 16:00:51 +0200 (CEST) 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 UQR7XI25dRUS for ; Mon, 5 Aug 2013 16:00:50 +0200 (CEST) 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 pollux.denx.de (host-82-135-33-74.customer.m-online.net [82.135.33.74]) by theia.denx.de (Postfix) with ESMTP id 2803F4A01C for ; Mon, 5 Aug 2013 16:00:41 +0200 (CEST) Received: by pollux.denx.de (Postfix, from userid 515) id 691A0E2F; Mon, 5 Aug 2013 16:00:41 +0200 (CEST) From: Heiko Schocher To: u-boot@lists.denx.de Date: Mon, 5 Aug 2013 16:00:36 +0200 Message-Id: <1375711238-22816-3-git-send-email-hs@denx.de> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1375711238-22816-1-git-send-email-hs@denx.de> References: <1375711238-22816-1-git-send-email-hs@denx.de> MIME-Version: 1.0 Cc: Tom Rini , Heiko Schocher Subject: [U-Boot] =?utf-8?q?=5BPATCH_2/4=5D_bootstage=3A_get_more_BOOTSTAG?= =?utf-8?q?E=5FID*_in_show=5Fboot=5Fprogress=28=29?= 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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de In case CONFIG_BOOTSTAGE is not defined, call from bootstage_mark_name() show_boot_progress(), so get more BOOTSTAGE_ID* ids in show_boot_progress() if CONFIG_BOOTSTAGE is not defined. Signed-off-by: Heiko Schocher Cc: Simon Glass Cc: Tom Rini Cc: Albert Aribaud Acked-by: Simon Glass --- include/bootstage.h | 1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/include/bootstage.h b/include/bootstage.h index 25b4e07..87bf906 100644 --- a/include/bootstage.h +++ b/include/bootstage.h @@ -353,6 +353,7 @@ static inline ulong bootstage_error(enum bootstage_id id) static inline ulong bootstage_mark_name(enum bootstage_id id, const char *name) { + show_boot_progress(id); return 0; }