From patchwork Mon Mar 28 18:58:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Dannenberg X-Patchwork-Id: 64543 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1602682lbc; Mon, 28 Mar 2016 11:58:30 -0700 (PDT) X-Received: by 10.194.143.82 with SMTP id sc18mr29230255wjb.14.1459191510558; Mon, 28 Mar 2016 11:58:30 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id bb7si29918259wjc.182.2016.03.28.11.58.30; Mon, 28 Mar 2016 11:58:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BF958A763C; Mon, 28 Mar 2016 20:58:29 +0200 (CEST) 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 0-tibuEIR6vQ; Mon, 28 Mar 2016 20:58:29 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2BD16A75C6; Mon, 28 Mar 2016 20:58:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D170FA75C6 for ; Mon, 28 Mar 2016 20:58:25 +0200 (CEST) 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 XPY5JyKwfxdl for ; Mon, 28 Mar 2016 20:58:25 +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 bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by theia.denx.de (Postfix) with ESMTPS id 2A79AA74B4 for ; Mon, 28 Mar 2016 20:58:20 +0200 (CEST) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id u2SIwGDA014420; Mon, 28 Mar 2016 13:58:16 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id u2SIwGSM017026; Mon, 28 Mar 2016 13:58:16 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.224.2; Mon, 28 Mar 2016 13:58:15 -0500 Received: from borg.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id u2SIwFlm003571; Mon, 28 Mar 2016 13:58:15 -0500 From: Andreas Dannenberg To: Albert Aribaud , Date: Mon, 28 Mar 2016 13:58:03 -0500 Message-ID: <1459191483-702-1-git-send-email-dannenberg@ti.com> X-Mailer: git-send-email 2.7.2 MIME-Version: 1.0 Cc: Tom Rini Subject: [U-Boot] [PATCH] arm: spl: Align default board_init_f comment with code X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The default board_init_f() implementation performs a call to board_init_r() as the last step of the sequence. Fix the comment for this function to reflect the actual execution flow. Signed-off-by: Andreas Dannenberg --- arch/arm/lib/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c index d737a5c..e428868 100644 --- a/arch/arm/lib/spl.c +++ b/arch/arm/lib/spl.c @@ -27,7 +27,7 @@ gd_t gdata __attribute__ ((section(".data"))); /* * In the context of SPL, board_init_f must ensure that any clocks/etc for * DDR are enabled, ensure that the stack pointer is valid, clear the BSS - * and call board_init_f. We provide this version by default but mark it + * and call board_init_r. We provide this version by default but mark it * as __weak to allow for platforms to do this in their own way if needed. */ void __weak board_init_f(ulong dummy)