diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-08-04 16:04:46 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2017-08-10 16:25:00 +0000 |
commit | 3b90b5f1299053e87e718501f6c9be50dd343686 (patch) | |
tree | 83de8b47726cd3b61eb14d17b23dd78630b3eff1 /src/soc/intel/common/block/include/intelblocks | |
parent | 3406dd64c328bf0f2f1902d42b239f84c136e4f0 (diff) |
soc/intel/common/lpss: Add lpss_is_controller_in_reset
Add new API function lpss_is_controller_in_reset that returns whether
the LPSS controller is in reset. Also, add lpss.c to smm stage so that
lpss_is_controller_in_reset can be used in smihandler.
BUG=b:64030366
Change-Id: I0fe5c2890ee799b08482e487296a483fa8d42461
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/20885
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/common/block/include/intelblocks')
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/lpss.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/lpss.h b/src/soc/intel/common/block/include/intelblocks/lpss.h index 03a47144c8..138340df86 100644 --- a/src/soc/intel/common/block/include/intelblocks/lpss.h +++ b/src/soc/intel/common/block/include/intelblocks/lpss.h @@ -27,4 +27,7 @@ void lpss_reset_release(uintptr_t base); */ void lpss_clk_update(uintptr_t base, uint32_t clk_m_val, uint32_t clk_n_val); +/* Check if controller is in reset. */ +bool lpss_is_controller_in_reset(uintptr_t base); + #endif /* SOC_INTEL_COMMON_BLOCK_LPSS_H */ |