Patchwork [U-Boot] cmd_load.c: Add #endif comments to reduce confusion

login
register
mail settings
Submitter Robert P. J. Day
Date Feb. 3, 2013, 3:46 p.m.
Message ID <alpine.DEB.2.02.1302031044400.7456@oneiric>
Download mbox | patch
Permalink /patch/217796/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Robert P. J. Day - Feb. 3, 2013, 3:46 p.m.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

  i think i got this right ... those chunks are just long enough that
comments are useful.
Tom Rini - Feb. 20, 2013, 3:02 p.m.
On Sun, Feb 03, 2013 at 05:46:13AM -0000, Robert P. J. Day wrote:

> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

Applied to u-boot/master, thanks!

Patch

diff --git a/common/cmd_load.c b/common/cmd_load.c
index 2c8dab1..46db962 100644
--- a/common/cmd_load.c
+++ b/common/cmd_load.c
@@ -1064,8 +1064,8 @@  U_BOOT_CMD(
 	"    - save S-Record file over serial line with offset 'off' and size 'size'"
 );
 #endif	/* CONFIG_SYS_LOADS_BAUD_CHANGE */
-#endif
-#endif
+#endif	/* CONFIG_CMD_SAVES */
+#endif	/* CONFIG_CMD_LOADS */


 #if defined(CONFIG_CMD_LOADB)
@@ -1085,7 +1085,7 @@  U_BOOT_CMD(
 	" with offset 'off' and baudrate 'baud'"
 );

-#endif
+#endif	/* CONFIG_CMD_LOADB */

 /* -------------------------------------------------------------------- */

@@ -1115,4 +1115,4 @@  U_BOOT_CMD(
 	"[on|off]"
 );

-#endif
+#endif	/* CONFIG_CMD_HWFLOW */