summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2019-05-07 15:31:48 -0600
committerJett Rink <jettrink@chromium.org>2019-05-14 19:37:41 +0000
commit903a7b1f98b4e71c7f171c747df12d193d7cd86c (patch)
tree553cf9c35180b4792359390a6049008191743f5e /chip
parentf8840200e0d2032175c8cd11613c8636c3f1711a (diff)
downloadchrome-ec-903a7b1f98b4e71c7f171c747df12d193d7cd86c.tar.gz
ish: fix lapic table read
When we switched to using REG32 macros for registers, we also changed the math for the offset of the lapic. Fixing the pointer math. The original CL that changed this was CL:1586458 BRANCH=ish BUG=none TEST=ISH runs normally Change-Id: I1beea99ede496a2eee2adf96adeec21b3f1e1fd4 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1600158 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/ish/registers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/ish/registers.h b/chip/ish/registers.h
index b1ead77818..15321c6d83 100644
--- a/chip/ish/registers.h
+++ b/chip/ish/registers.h
@@ -301,7 +301,7 @@ enum ish_i2c_port {
#define IOAPIC_EOI_REG REG32(IOAPIC_EOI_REG_ADDR)
#define IOAPIC_VERSION (0x1)
-#define IOAPIC_IOREDTBL (0x10)
+#define IOAPIC_IOREDTBL (0x10)
#define IOAPIC_REDTBL_DELMOD_FIXED (0x00000000)
#define IOAPIC_REDTBL_DESTMOD_PHYS (0x00000000)
#define IOAPIC_REDTBL_INTPOL_HIGH (0x00000000)