diff mbox

arm: spl: Align default board_init_f comment with code

Message ID 1459191483-702-1-git-send-email-dannenberg@ti.com
State Accepted
Commit f00169a915a4abcb03ba323755117959fbbc632e
Headers show

Commit Message

Andreas Dannenberg March 28, 2016, 6:58 p.m. UTC
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 <dannenberg@ti.com>

---
 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 mbox

Patch

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)