diff options
Diffstat (limited to 'cmd/ximg.c')
-rw-r--r-- | cmd/ximg.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd/ximg.c b/cmd/ximg.c index 60ed2c9f6f9..a50dd20b19a 100644 --- a/cmd/ximg.c +++ b/cmd/ximg.c @@ -258,8 +258,7 @@ do_imgextract(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) return 0; } -#ifdef CONFIG_SYS_LONGHELP -static char imgextract_help_text[] = +U_BOOT_LONGHELP(imgextract, "addr part [dest]\n" " - extract <part> from legacy image at <addr> and copy to <dest>" #if defined(CONFIG_FIT) @@ -267,8 +266,7 @@ static char imgextract_help_text[] = "addr uname [dest]\n" " - extract <uname> subimage from FIT image at <addr> and copy to <dest>" #endif - ""; -#endif + ); U_BOOT_CMD( imxtract, 4, 1, do_imgextract, |