diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-05-06 12:57:51 -0600 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2019-05-07 21:32:46 +0000 |
commit | 67ebbc90eca727c2abb5ca924cc1c33548529d8d (patch) | |
tree | cfe6465989357701fdb4e8f37e705b4eb3ce765f /chip/ish/ish_fwst.h | |
parent | f276141e3078954361b55436aee50f1b87ffa7f0 (diff) | |
download | chrome-ec-67ebbc90eca727c2abb5ca924cc1c33548529d8d.tar.gz |
ish: remove erroneous REG32 in ish_fwsts.h
I'm a screw-up and forgot this in CL:1578435. Since
ish_fwst_is_hup_set is not used (yet), this did not cause any issues.
BUG=b:130573158,b:132060059
BRANCH=none
TEST=make buildall -j
Change-Id: I38a25a648b2235bade143fd20acb50a1318da992
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1596312
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1600192
Commit-Queue: Jett Rink <jettrink@chromium.org>
Tested-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'chip/ish/ish_fwst.h')
-rw-r--r-- | chip/ish/ish_fwst.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/ish/ish_fwst.h b/chip/ish/ish_fwst.h index edc347aa12..506740e51b 100644 --- a/chip/ish/ish_fwst.h +++ b/chip/ish/ish_fwst.h @@ -141,7 +141,7 @@ static inline int ish_fwst_is_hup_set(void) /* set fw failure reason */ static inline void ish_fwst_set_fail_reason(uint32_t val) { - uint32_t fwst = REG32(IPC_ISH_FWSTS); + uint32_t fwst = IPC_ISH_FWSTS; IPC_ISH_FWSTS = (fwst & ~IPC_ISH_FWSTS_FAIL_REASON_MASK) | (val << IPC_ISH_FWSTS_FAIL_REASON_SHIFT); |