mach-imx: nandbcb: improve cmd help
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Mon, 16 Dec 2019 12:06:44 +0000 (14:06 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Jan 2020 09:26:57 +0000 (10:26 +0100)
Add info about supported i.MX7, improve details the usage of
bcbonly subcommand.

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
arch/arm/mach-imx/cmd_nandbcb.c

index 9d3ed1aac3cae2fab2811aff9c7e43f31f9d7974..334cc0766eedef7280fddc042cb4d24c45f50f35 100644 (file)
@@ -590,11 +590,14 @@ 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\n"
        "bcbonly fw-size fw1-off [fw2-off] - write only BCB (FCB and DBBT)\n"
-       "       where `fw-size` is fw sizes in bytes, `fw1-off` and\n"
-       "       and `fw2-off` - firmware offsets                ";
+       "       where `fw-size` is fw sizes in bytes, `fw1-off`\n"
+       "       and `fw2-off` - firmware offsets\n"
+       "       FIY, BCB isn't erased automatically, so mtd erase should\n"
+       "       be called in advance before writing new BCB:\n"
+       "           > mtd erase mx7-bcb";
 #endif
 
 U_BOOT_CMD(nandbcb, 5, 1, do_nandbcb,
-          "i.MX6 Nand BCB",
+          "i.MX6/i.MX7 NAND Boot Control Blocks write",
           nandbcb_help_text
 );