aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-01-27 20:52:46 +0530
committerSubrata Banik <subratabanik@google.com>2022-02-02 07:08:34 +0000
commit736f9cced0f060a333a5efdc499607350554b9c7 (patch)
tree1d27c61391e0aac5de71fc44c865774ba1ea2ca0 /src
parent2ad24833d9c336bc252f278376034e4963b6b593 (diff)
soc/intel/common/cse: Make cse_disable_mei_devices a public function
This patch export cse_disable_mei_devices() function instead of marking it static. Other IA common code may need to get access to this function for making `heci1` device disable. BUG=none TEST=Able to build and boot brya. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: Ib2a1eb2fdc9d4724bd287b82be4238893c967046 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61430 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/block/cse/cse_eop.c2
-rw-r--r--src/soc/intel/common/block/include/intelblocks/cse.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/cse/cse_eop.c b/src/soc/intel/common/block/cse/cse_eop.c
index 4e1c563ee1..3fc4e2b270 100644
--- a/src/soc/intel/common/block/cse/cse_eop.c
+++ b/src/soc/intel/common/block/cse/cse_eop.c
@@ -50,7 +50,7 @@ static bool cse_disable_mei_bus(void)
return true;
}
-static bool cse_disable_mei_devices(void)
+bool cse_disable_mei_devices(void)
{
struct pmc_ipc_buffer req = { 0 };
struct pmc_ipc_buffer rsp;
diff --git a/src/soc/intel/common/block/include/intelblocks/cse.h b/src/soc/intel/common/block/include/intelblocks/cse.h
index a558c32b14..9bf35dadf6 100644
--- a/src/soc/intel/common/block/include/intelblocks/cse.h
+++ b/src/soc/intel/common/block/include/intelblocks/cse.h
@@ -486,4 +486,7 @@ bool skip_cse_sub_part_update(void);
*/
bool cse_get_boot_performance_data(struct cse_boot_perf_rsp *boot_perf);
+/* Function to make cse disable using PMC IPC */
+bool cse_disable_mei_devices(void);
+
#endif // SOC_INTEL_COMMON_CSE_H