From 4ee0ff1268d3302a83da97af2a61869f672be473 Mon Sep 17 00:00:00 2001 From: Parthiban Nallathambi Date: Fri, 23 Aug 2019 18:35:10 +0200 Subject: [PATCH] imx: nandbcb: include long help only when enabled conditionally include long help text when enabled Signed-off-by: Parthiban Nallathambi Reviewed-by: Peng Fan --- arch/arm/mach-imx/cmd_nandbcb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-imx/cmd_nandbcb.c b/arch/arm/mach-imx/cmd_nandbcb.c index 065b814..7811c61 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", -- 2.7.4