diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-06-17 15:37:55 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-19 00:51:23 +0000 |
commit | 7e80ddc5177af46cc8defc2741f4e9590b97cbbb (patch) | |
tree | 811bd2fb95e3190c956bae2e8ff7dd0a2181fa8e /chip/ish/config_chip.h | |
parent | 247b6099f910c3e1685b9185371177ac61a32617 (diff) | |
download | chrome-ec-7e80ddc5177af46cc8defc2741f4e9590b97cbbb.tar.gz |
minute-ia: load eip value from top of stack
For interrupt vectors (as opposed to exception handlers), the eip
value is on top of the stack (referentially the return address by C
calling convention). Use separate code for WDT vector.
BUG=b:129983997
BRANCH=none
TEST='crash watchdog' showing correct EIP, CS values
Change-Id: I7efb2c71aba63eefd89fc71af089bc14034b7d08
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1663188
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'chip/ish/config_chip.h')
-rw-r--r-- | chip/ish/config_chip.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/ish/config_chip.h b/chip/ish/config_chip.h index d27effdd72..e6b1b52050 100644 --- a/chip/ish/config_chip.h +++ b/chip/ish/config_chip.h @@ -100,6 +100,10 @@ #error "CHIP_FAMILY_ISH(3|4|5) must be defined" #endif +/* Provide WDT vec number to Minute-IA core implementation */ +#undef CONFIG_MIA_WDT_VEC +#define CONFIG_MIA_WDT_VEC ISH_WDT_VEC + /****************************************************************************/ /* Customize the build */ /* Optional features present on this chip */ |