Skip to content

Commit

Permalink
mb/clevo/{tgl-u,adl-p}: Enable C10 reporting on systems using eSPI
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Żygowski <[email protected]>
  • Loading branch information
miczyg1 committed Aug 24, 2023
1 parent c47ec58 commit b77b012
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mainboard/clevo/adl-p/ramstage.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ void mainboard_silicon_init_params(FSP_S_CONFIG *params)
params->CpuPcieRpMaxPayload[0] = 2; // 512B
params->CpuPcieRpAcsEnabled[0] = 1;

// Enable reporting CPU C10 state over eSPI
params->PchEspiHostC10ReportEnable = 1;

params->LidStatus = system76_ec_get_lid_state();
}

Expand Down
3 changes: 3 additions & 0 deletions src/mainboard/clevo/tgl-u/ramstage.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ smbios_enclosure_type smbios_mainboard_enclosure_type(void)
void mainboard_silicon_init_params(FSP_S_CONFIG *params)
{
variant_configure_fsps(params);

// Enable reporting CPU C10 state over eSPI
params->PchEspiHostC10ReportEnable = 1;
}

static void set_fan_curve(void)
Expand Down

0 comments on commit b77b012

Please sign in to comment.