MLK-22444-5: imx: nandbcb: add support for writing BCB only
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Mon, 16 Sep 2019 10:41:21 +0000 (13:41 +0300)
committerYe Li <ye.li@nxp.com>
Sun, 29 Sep 2019 08:33:24 +0000 (01:33 -0700)
commita93ccdcee639fc2baf709ea01391b024acb99b98
treee98cfc8295b8042e69b2260228bc6b5100f36602
parentd0936860e8977ecd899a5af02a87e260762e7b31
MLK-22444-5: imx: nandbcb: add support for writing BCB only

Add subcommand for add writing BCB only, where we provide appropriate
offsets for firmware1 and firmware2 and size.

Example of usage:
> nandbcb bcbonly 0x00180000 0x00080000 0x00200000
Writing 1024 bytes to 0x0: randomizing
OK
Writing 1024 bytes to 0x20000: randomizing
OK

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
(cherry picked from commit 353a38576ed6f21431bf499a4b402a5ca571f0fa)
arch/arm/mach-imx/cmd_nandbcb.c