soc/intel/skylake: Add option to disable host reads to PMC XRAM
FSP disables host access to shadowed PMC XRAM registers by default, it also provides a UPD to enable/disable host reads to these regiters. Expose the same in devicetree as a config option. Change-Id: Iaa33aa3233bda4f050da37d1d8af0556311c9496 Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Reviewed-on: https://review.coreboot.org/18319 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
committed by
Martin Roth
parent
6375512896
commit
ffe58107df
@@ -402,6 +402,9 @@ struct soc_intel_skylake_config {
|
|||||||
*/
|
*/
|
||||||
u32 PrmrrSize;
|
u32 PrmrrSize;
|
||||||
|
|
||||||
|
/* Enable/Disable host reads to PMC XRAM registers */
|
||||||
|
u8 PchPmPmcReadDisable;
|
||||||
|
|
||||||
/* Statically clock gate 8254 PIT. */
|
/* Statically clock gate 8254 PIT. */
|
||||||
u8 clock_gate_8254;
|
u8 clock_gate_8254;
|
||||||
|
|
||||||
|
@@ -258,6 +258,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
|||||||
params->FastPkgCRampDisableGt = config->FastPkgCRampDisableGt;
|
params->FastPkgCRampDisableGt = config->FastPkgCRampDisableGt;
|
||||||
params->FastPkgCRampDisableSa = config->FastPkgCRampDisableSa;
|
params->FastPkgCRampDisableSa = config->FastPkgCRampDisableSa;
|
||||||
|
|
||||||
|
/* Enable PMC XRAM read */
|
||||||
|
tconfig->PchPmPmcReadDisable = config->PchPmPmcReadDisable;
|
||||||
|
|
||||||
soc_irq_settings(params);
|
soc_irq_settings(params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user