Skip to content

Commit

Permalink
soc/intel/cmn/blk/cse/cse.c: only disable ME if selected method is HECI
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Kopeć <[email protected]>
  • Loading branch information
mkopec committed Dec 18, 2024
1 parent 9ead4a0 commit a9b8684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/soc/intel/common/block/cse/cse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ static void cse_set_state(struct device *dev)

const unsigned int soft_temp_disable = cse_is_hfs1_com_soft_temp_disable();

if (me_state && !soft_temp_disable) {
if (me_state == ME_MODE_DISABLE_HECI && !soft_temp_disable) {
/* me_state should be disabled, but it's enabled */
printk(BIOS_DEBUG, "ME needs to be disabled.\n");
send = heci_send_receive(&me_disable, sizeof(me_disable),
Expand Down

0 comments on commit a9b8684

Please sign in to comment.