diff options
author | Parthiban Nallathambi | 2019-08-23 18:35:10 +0200 |
---|---|---|
committer | Stefano Babic | 2019-10-08 16:36:37 +0200 |
commit | 4ee0ff1268d3302a83da97af2a61869f672be473 (patch) | |
tree | e168ce81350737ebb61d05f290a0660a0206fc80 | |
parent | 921bb8641d15f8a2570d43321e5c74ff65aa28f3 (diff) |
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.c | 2 |
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 065b814b2e3..7811c61d220 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", |