]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: nandbcb: include long help only when enabled
authorParthiban Nallathambi <pn@denx.de>
Fri, 23 Aug 2019 16:35:10 +0000 (18:35 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:37 +0000 (16:36 +0200)
conditionally include long help text when enabled

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/cmd_nandbcb.c

index 065b814b2e3ba64e00000f1cc5a1758fc32a78e2..7811c61d220c9b86eaee4943ef9b3e69e8e4b6d5 100644 (file)
@@ -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",