summaryrefslogtreecommitdiff
path: root/drivers/spi/lpc32xx_ssp.c
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2018-03-28 14:39:18 +0200
committerTom Rini <trini@konsulko.com>2018-04-06 20:45:44 -0400
commit55b255611597bcbec7bda5d09544e29580d54509 (patch)
tree8af75f25e77c65931f03f0304717258fde463b00 /drivers/spi/lpc32xx_ssp.c
parent8354aa278120448e4fa54fb5982ac62994649bc2 (diff)
cmd: Add command for calculating binary operations
This patch adds a command that enables the calculation of bit operations (AND, OR, XOR) on binary data from the command line. Memory locations as well as the contents of environment variables are eligible as sources and destination of the binary data used in the operations. The possible applications are manifold: Setting specific bits in registers using the regular read-OR-write pattern, masking out bits in bit values, implementation of simple OTP encryption using the XOR operation, etc. Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'drivers/spi/lpc32xx_ssp.c')
0 files changed, 0 insertions, 0 deletions