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

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.
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 */

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!
participants (2)
-
Robert P. J. Day
-
Tom Rini