diff options
author | Kevin K Wong <kevin.k.wong@intel.com> | 2016-05-02 16:17:42 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-05-03 15:40:46 -0700 |
commit | e83c06bf90f89ea8c160c9f88b166d0c2e0a982d (patch) | |
tree | c00f560bfb7cadafa0ab62df4e8ce6494ea68286 /include/chipset.h | |
parent | b6ad3710c48b9f7a536808aac7d6e16b3d3a526d (diff) | |
download | chrome-ec-e83c06bf90f89ea8c160c9f88b166d0c2e0a982d.tar.gz |
apollolake: ignore PLTRST# from SOC unless RSMRST# is deasserted
add optional chipset specific function to check if PLTRST# is valid
BUG=chrome-os-partner:52656
BRANCH=none
TEST=make buildall, able to boot to OS on amenia
Change-Id: I7a2747c4f77f50393c3250c2ab0e1625e64e5a41
Signed-off-by: Kevin K Wong <kevin.k.wong@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/341732
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include/chipset.h')
-rw-r--r-- | include/chipset.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/chipset.h b/include/chipset.h index 4b91a6e57f..ac50df0cc1 100644 --- a/include/chipset.h +++ b/include/chipset.h @@ -101,4 +101,11 @@ static inline void power_interrupt(enum gpio_signal signal) { } #endif /* !HAS_TASK_CHIPSET */ +/** + * Optional chipset check if PLTRST# is valid. + * + * @return non-zero if PLTRST# is valid, 0 if invalid. + */ +int chipset_pltrst_is_valid(void) __attribute__((weak)); + #endif /* __CROS_EC_CHIPSET_H */ |