diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2014-04-22 11:14:12 -0700 |
---|---|---|
committer | Isaac Christensen <isaac.christensen@se-eng.com> | 2014-10-01 17:26:26 +0200 |
commit | 21fd2f4801bc7761981e509d135663f1a76f98fe (patch) | |
tree | 8ec0eed21908530ba74bac0809ccad7f60f5b8d3 /src/include | |
parent | 08f6c80d34db90124e7937ac92e930958fb47ca3 (diff) |
reg_script: Fix bug in IO macros
These have apparently never been used because they are
incorrect.
Change-Id: I3624cb2548a0ee3da56a2cca62ed50b0dfbf7817
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/196266
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
(cherry picked from commit bc0187702061fe326422c070c592a18cd93de723)
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6999
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/reg_script.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/reg_script.h b/src/include/reg_script.h index 72e1e96b0c..97b4fb00dc 100644 --- a/src/include/reg_script.h +++ b/src/include/reg_script.h @@ -179,11 +179,11 @@ struct reg_script { #define REG_IO_RMW32(reg_, mask_, value_) \ REG_SCRIPT_IO(RMW, 32, reg_, mask_, value_, 0) #define REG_IO_OR8(reg_, value_) \ - REG_SCRIPT_IO_RMW8(_reg, 0xff, value) + REG_IO_RMW8(reg_, 0xff, value_) #define REG_IO_OR16(reg_, value_) \ - REG_SCRIPT_IO_RMW16(_reg, 0xffff, value) + REG_IO_RMW16(reg_, 0xffff, value_) #define REG_IO_OR32(reg_, value_) \ - REG_SCRIPT_IO_RMW32(_reg, 0xffffffff, value) + REG_IO_RMW32(reg_, 0xffffffff, value_) #define REG_IO_POLL8(reg_, mask_, value_, timeout_) \ REG_SCRIPT_IO(POLL, 8, reg_, mask_, value_, timeout_) #define REG_IO_POLL16(reg_, mask_, value_, timeout_) \ |