From 551310240821d6b05dfdfe742d49fe8c7e3111f7 Mon Sep 17 00:00:00 2001 From: Adrian Alonso Date: Mon, 2 May 2016 10:15:02 -0500 Subject: [PATCH] MLK-12739: 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 Signed-off-by: Ye Li --- tools/imximage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/imximage.c b/tools/imximage.c index 5fa77f0d2c..71e6a6c0e3 100644 --- a/tools/imximage.c +++ b/tools/imximage.c @@ -220,7 +220,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;