summaryrefslogtreecommitdiff
path: root/drivers/gpio/axp_gpio.c
diff options
context:
space:
mode:
authorAdrian Alonso <aalonso@freescale.com>2015-07-20 19:04:55 -0500
committerStefano Babic <sbabic@denx.de>2015-07-26 12:07:14 +0200
commit0b7f7c339c13256a2d6f39c0323b0224cb6d46d4 (patch)
tree5943f4986caf0cd740001f462f16f3f3b6c238fc /drivers/gpio/axp_gpio.c
parent452308c02bb5f4066c8d8650e9f012e17dbb2f95 (diff)
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 'drivers/gpio/axp_gpio.c')
0 files changed, 0 insertions, 0 deletions