mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
imx: nandbcb: include long help only when enabled
conditionally include long help text when enabled Signed-off-by: Parthiban Nallathambi <pn@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
921bb8641d
commit
4ee0ff1268
1 changed files with 2 additions and 0 deletions
|
@ -359,9 +359,11 @@ usage:
|
|||
return CMD_RET_USAGE;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SYS_LONGHELP
|
||||
static char nandbcb_help_text[] =
|
||||
"update addr off|partition len - update 'len' bytes starting at\n"
|
||||
" 'off|part' to memory address 'addr', skipping bad blocks";
|
||||
#endif
|
||||
|
||||
U_BOOT_CMD(nandbcb, 5, 1, do_nandbcb,
|
||||
"i.MX6 Nand BCB",
|
||||
|
|
Loading…
Reference in a new issue