aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParthiban Nallathambi <pn@denx.de>2019-08-23 18:35:10 +0200
committerStefano Babic <sbabic@denx.de>2019-10-08 16:36:37 +0200
commit4ee0ff1268d3302a83da97af2a61869f672be473 (patch)
treee168ce81350737ebb61d05f290a0660a0206fc80
parent921bb8641d15f8a2570d43321e5c74ff65aa28f3 (diff)
downloadu-boot-4ee0ff1268d3302a83da97af2a61869f672be473.zip
u-boot-4ee0ff1268d3302a83da97af2a61869f672be473.tar.gz
u-boot-4ee0ff1268d3302a83da97af2a61869f672be473.tar.bz2
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>
-rw-r--r--arch/arm/mach-imx/cmd_nandbcb.c2
1 files changed, 2 insertions, 0 deletions
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",