[coreboot-gerrit] Patch set updated for coreboot: 84ba152 AMD PI agesawrapper: add PSPP (PCIe Speed Power Policy) interface

WANG Siyuan (wangsiyuanbuaa@gmail.com) gerrit at coreboot.org
Wed Jun 10 07:56:07 CEST 2015

WANG Siyuan (wangsiyuanbuaa at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10461


commit 84ba152d8191b3890c8cb407aea5051a01febccf
Author: WANG Siyuan <wangsiyuanbuaa at gmail.com>
Date:   Mon Jun 8 10:13:13 2015 +0800

    AMD PI agesawrapper: add PSPP (PCIe Speed Power Policy) interface
    PSPP policy is defined in 3rdparty/blobs/pi/amd/*/AGESA.h
    /// PCIe PSPP Power policy
    typedef enum  {
      PsppDisabled,                                           ///< PSPP disabled
      PsppPerformance = 1,                                    ///< Performance
      PsppBalanceHigh,                                        ///< Balance-High
      PsppBalanceLow,                                         ///< Balance-Low
      PsppPowerSaving,                                        ///< Power Saving
      MaxPspp                                                 ///< Max Pspp for boundary check
    Change-Id: I7fe735cddea94a83e38d856a3de1f27735467a28
    Signed-off-by: WANG Siyuan <wangsiyuanbuaa at gmail.com>
    Signed-off-by: WANG Siyuan <SiYuan.Wang at amd.com>
 src/northbridge/amd/pi/agesawrapper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/northbridge/amd/pi/agesawrapper.c b/src/northbridge/amd/pi/agesawrapper.c
index 8e9d1f8..4d87b9c 100644
--- a/src/northbridge/amd/pi/agesawrapper.c
+++ b/src/northbridge/amd/pi/agesawrapper.c
@@ -107,6 +107,7 @@ AGESA_STATUS agesawrapper_amdinitearly(void)
 	AmdEarlyParamsPtr = (AMD_EARLY_PARAMS *)AmdParamStruct.NewStructPtr;
 	OemCustomizeInitEarly (AmdEarlyParamsPtr);
+	AmdEarlyParamsPtr->GnbConfig.PsppPolicy = PsppDisabled;
 	status = AmdInitEarly ((AMD_EARLY_PARAMS *)AmdParamStruct.NewStructPtr);
 	if (status != AGESA_SUCCESS) agesawrapper_amdreadeventlog(AmdParamStruct.StdHeader.HeapStatus);
 	AmdReleaseStruct (&AmdParamStruct);

More information about the coreboot-gerrit mailing list