diff options
author | Adrian Alonso <aalonso@freescale.com> | 2015-07-21 00:04:55 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-07-26 10:07:14 (GMT) |
commit | 0b7f7c339c13256a2d6f39c0323b0224cb6d46d4 (patch) | |
tree | 5943f4986caf0cd740001f462f16f3f3b6c238fc /include/usbdevice.h | |
parent | 452308c02bb5f4066c8d8650e9f012e17dbb2f95 (diff) | |
download | u-boot-0b7f7c339c13256a2d6f39c0323b0224cb6d46d4.tar.xz |
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: Adrian Alonso <aalonso@freescale.com>
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'include/usbdevice.h')
0 files changed, 0 insertions, 0 deletions