summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2019-05-06 12:57:51 -0600
committerchrome-bot <chrome-bot@chromium.org>2019-05-07 12:01:07 -0700
commit9e7244a6c5f436a4f431636d7f16fe5c93335c46 (patch)
tree7e3341341f42bd7976c70b0e31910a4a3557a3c7
parent106c145b07042ba39860f0ef9b1f379f896f5b5f (diff)
downloadchrome-ec-9e7244a6c5f436a4f431636d7f16fe5c93335c46.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>
-rw-r--r--chip/ish/ish_fwst.h2
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);