Attention is currently required from: Patrick Rudolph. Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60404 )
Change subject: soc/intel/common/cse: Helper function to set D0I3 for all HECI devices ......................................................................
soc/intel/common/cse: Helper function to set D0I3 for all HECI devices
SoC code to perform the override while putting the entire HECI device lists into D0i3.
BUG=b:211954778
Signed-off-by: Subrata Banik subratabanik@google.com Change-Id: If9eb573be096928ccd6cd05b672ec022f5840059 --- M src/soc/intel/common/block/cse/cse_eop.c M src/soc/intel/common/block/include/intelblocks/cse.h 2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/60404/1
diff --git a/src/soc/intel/common/block/cse/cse_eop.c b/src/soc/intel/common/block/cse/cse_eop.c index 4e1c563..9ae0fdf 100644 --- a/src/soc/intel/common/block/cse/cse_eop.c +++ b/src/soc/intel/common/block/cse/cse_eop.c @@ -14,6 +14,9 @@ #define PMC_IPC_MEI_DISABLE_SUBID_ENABLE 0 #define PMC_IPC_MEI_DISABLE_SUBID_DISABLE 1
+/* SoC callback to set D0I3 for all HECI devices */ +__weak void soc_heci_set_d0i3(void) { /* no-op */ } + enum cse_eop_result { CSE_EOP_RESULT_GLOBAL_RESET_REQUESTED, CSE_EOP_RESULT_SUCCESS, diff --git a/src/soc/intel/common/block/include/intelblocks/cse.h b/src/soc/intel/common/block/include/intelblocks/cse.h index 540dabc..77c7415 100644 --- a/src/soc/intel/common/block/include/intelblocks/cse.h +++ b/src/soc/intel/common/block/include/intelblocks/cse.h @@ -349,4 +349,7 @@ * Returns true if cse sub-parition update is required otherwise false. */ bool skip_cse_sub_part_update(void); + +/* SoC callback to set D0I3 for all HECI devices */ +void soc_heci_set_d0i3(void); #endif // SOC_INTEL_COMMON_CSE_H