Skip to contentSkip to conversation

arm: spl: Align default board_init_f comment with code

PATCH In review Andreas Dannenberg 2 participants 2 messages Mar 28, 2016 – Apr 2, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: spl: Align default board_init_f comment with code

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.

---
 arch/arm/lib/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/lib/spl.c +1 -1
index d737a5c..e428868 100644
@@ -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)
Signature · 1 line
2.7.2
#1 lore raw
Quoted 5 lines · Andreas Dannenberg

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160401/554728dd/attachment.sig>