diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2016-04-23 07:58:27 -0700 |
---|---|---|
committer | Leroy P Leahy <leroy.p.leahy@intel.com> | 2016-04-30 15:40:20 +0200 |
commit | 6bcbe5749b9f1a82004299bb63fba7e99b8ed358 (patch) | |
tree | bed3efa66c5d56b50a78515b29184c7e39404bda /src/vendorcode/Makefile.inc | |
parent | 733b39aed4b12aa1e6ec5b4b7db9bb48ba88e015 (diff) |
lib/regscript: Add exclusive-or (xor) support
Add xor support which enables toggling of a bit:
* REG_SCRIPT_COMMAND_RXW enum value
* REG_*_RXW* macros to support using REG_SCRIPT_COMMAND_RXW
* REG_*_XOR* macros to support using REG_SCRIPT_COMMAND_RXW
* reg_script_rxw routine to perform and/xor operation
* case in reg_script_run_step to call reg_script_rxw
TEST=Build and run on Galileo Gen2
Change-Id: I50a492c7c2643df5dc2d2fa7113e3722c1e480c7
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/14495
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/vendorcode/Makefile.inc')
0 files changed, 0 insertions, 0 deletions