diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-04-16 13:06:36 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-16 14:55:13 -0700 |
commit | 5f18b03e1b5429600cae87c42b70ec301e41dcd5 (patch) | |
tree | 329dafe0f3a72224a8159e27d04a8dd3d78312fd /include/chipset.h | |
parent | caad1bdbd4e4509a07aa2cee97df8dbdc8621e4d (diff) | |
download | chrome-ec-5f18b03e1b5429600cae87c42b70ec301e41dcd5.tar.gz |
PMIC_PWROK is active-high on pit
Add a function which handles translation of PWROK from logical level
to physical level.
Also implement chipset_force_shutdown() in gaia_power.c, so PMU code
doesn't need to know about PWROK physical level.
BUG=chrome-os-partner:18738
BRANCH=none
TEST=build all platforms; boot spring
Change-Id: I360266ef89b6ead49a633cd57b7530f791b04c9e
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/48251
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/chipset.h')
-rw-r--r-- | include/chipset.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/chipset.h b/include/chipset.h index bebd3f4553..fff954032a 100644 --- a/include/chipset.h +++ b/include/chipset.h @@ -70,7 +70,6 @@ static inline void chipset_exit_hard_off(void) { } */ void chipset_throttle_cpu(int throttle); -#ifdef CONFIG_TASK_CHIPSET /** * Immedaitely shut off power to main processor and chipset. * @@ -78,9 +77,6 @@ void chipset_throttle_cpu(int throttle); * critical. */ void chipset_force_shutdown(void); -#else -static inline void chipset_force_shutdown(void) { } -#endif /** * Reset the CPU and/or chipset. |