> Subject: [PATCH 3/3] imx: nandbcb: include long help only when enabled > > conditionally include long help text when enabled > > Signed-off-by: Parthiban Nallathambi <p...@denx.de> > --- > 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 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", > --
Reviewed-by: Peng Fan <peng....@nxp.com> > 2.21.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot