From: Parthiban Nallathambi Date: Fri, 23 Aug 2019 16:35:10 +0000 (+0200) Subject: imx: nandbcb: include long help only when enabled X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=4ee0ff1268d3302a83da97af2a61869f672be473;p=u-boot.git imx: nandbcb: include long help only when enabled conditionally include long help text when enabled Signed-off-by: Parthiban Nallathambi Reviewed-by: Peng Fan --- diff --git a/arch/arm/mach-imx/cmd_nandbcb.c b/arch/arm/mach-imx/cmd_nandbcb.c index 065b814b2e..7811c61d22 100644 --- a/arch/arm/mach-imx/cmd_nandbcb.c +++ b/arch/arm/mach-imx/cmd_nandbcb.c @@ -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",