diff options
author | Hu, Hebo <hebo.hu@intel.com> | 2019-03-25 15:27:06 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-08 02:51:30 -0700 |
commit | 6beb629714ce05108399cefc621b098fc58f03ce (patch) | |
tree | 684dbf362a7f57f58e7d93939bdb555154d665f2 /core | |
parent | 014b6c86dfd1aa9ec9ffaba2647d4ca89baf1ef4 (diff) | |
download | chrome-ec-6beb629714ce05108399cefc621b098fc58f03ce.tar.gz |
ish/ish5: implement reset, reset_prep and D3 flow
1: reset and reset_prep implemented
2: D3 flow implemented
BUG=b:122364080
BRANCH=none
TEST=tested on arcada
Change-Id: Ie6bacd89e2363578d85157dfb1dd8b56e2828d05
Signed-off-by: Hu, Hebo <hebo.hu@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/1536486
Commit-Ready: Hebo Hu <hebo.hu@intel.corp-partner.google.com>
Tested-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Hebo Hu <hebo.hu@intel.corp-partner.google.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/minute-ia/interrupts.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/minute-ia/interrupts.c b/core/minute-ia/interrupts.c index 36cb77c820..7ab0be1eb7 100644 --- a/core/minute-ia/interrupts.c +++ b/core/minute-ia/interrupts.c @@ -142,10 +142,18 @@ static const irq_desc_t system_irqs[] = { LEVEL_INTR(ISH_HPET_TIMER0_IRQ, ISH_HPET_TIMER0_VEC), LEVEL_INTR(ISH_HPET_TIMER1_IRQ, ISH_HPET_TIMER1_VEC), LEVEL_INTR(ISH_DEBUG_UART_IRQ, ISH_DEBUG_UART_VEC), +#ifdef CONFIG_ISH_PM_RESET_PREP LEVEL_INTR(ISH_RESET_PREP_IRQ, ISH_RESET_PREP_VEC), +#endif #ifdef CONFIG_ISH_PM_D0I1 LEVEL_INTR(ISH_PMU_WAKEUP_IRQ, ISH_PMU_WAKEUP_VEC), #endif +#ifdef CONFIG_ISH_PM_D3 + LEVEL_INTR(ISH_D3_RISE_IRQ, ISH_D3_RISE_VEC), + LEVEL_INTR(ISH_D3_FALL_IRQ, ISH_D3_FALL_VEC), + LEVEL_INTR(ISH_BME_RISE_IRQ, ISH_BME_RISE_VEC), + LEVEL_INTR(ISH_BME_FALL_IRQ, ISH_BME_FALL_VEC) +#endif }; /** |