diff options
author | Adrian Alonso <adrian.alonso@nxp.com> | 2016-05-02 10:29:14 -0500 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-05-17 17:52:19 +0200 |
commit | 0782a8803d555d80f1a68887a18cc32fc7185627 (patch) | |
tree | 8748458e30b795b3f4e70eb5d51f9da137db84bb /tools/imximage.c | |
parent | 52b1eaf93d6b55e1467f97b8eefdc2f8b6031c43 (diff) | |
download | u-boot-0782a8803d555d80f1a68887a18cc32fc7185627.tar.gz u-boot-0782a8803d555d80f1a68887a18cc32fc7185627.tar.bz2 u-boot-0782a8803d555d80f1a68887a18cc32fc7185627.zip |
imx: tools: imximage: fix CLR bit command
Fix incorrect parametr in CMD_CHECK_BITS_CLR command
Pass CLR parameter to DCD header for CMD_CHECK_BITS_CLR
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Diffstat (limited to 'tools/imximage.c')
-rw-r--r-- | tools/imximage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/imximage.c b/tools/imximage.c index 7c219222e9..092d550002 100644 --- a/tools/imximage.c +++ b/tools/imximage.c @@ -209,7 +209,7 @@ static void set_dcd_param_v2(struct imx_header *imxhdr, uint32_t dcd_len, d = d2; d->write_dcd_command.tag = DCD_CHECK_DATA_COMMAND_TAG; d->write_dcd_command.length = cpu_to_be16(4); - d->write_dcd_command.param = DCD_CHECK_BITS_SET_PARAM; + d->write_dcd_command.param = DCD_CHECK_BITS_CLR_PARAM; break; default: break; |