From 67ebbc90eca727c2abb5ca924cc1c33548529d8d Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Mon, 6 May 2019 12:57:51 -0600 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/1596312 Reviewed-by: Jett Rink Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1600192 Commit-Queue: Jett Rink Tested-by: Jett Rink --- chip/ish/ish_fwst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1