Skip to content
Snippets Groups Projects
Commit 0b7f7c33 authored by Adrian Alonso's avatar Adrian Alonso Committed by Stefano Babic
Browse files

imx: imximage: add new CHECK/CLR BIT command


* Extend imximage DCD version 2 to support DCD commands
  CMD_WRITE_CLR_BIT 4 [address] [mask bit] means:
    while ((*address & ~mask) != 0);
  CMD_CHECK_BITS_SET 4 [address] [mask bit] means:
    while ((*address & mask) != mask);
  CMD_CHECK_BITS_CLR 4 [address] [mask bit] means:
    *address = *address & ~mask;
* Add set_dcd_param_v2 helper function to set DCD
  command parameters

Signed-off-by: default avatarAdrian Alonso <aalonso@freescale.com>
Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
parent 452308c0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment