Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/28564
Change subject: mb/google/kahlee/variants/baseboard: Set STAPM percentage ......................................................................
mb/google/kahlee/variants/baseboard: Set STAPM percentage
Default STAPM percentage is 68%, which causes a lot of thermal throttling. AMD experimented with 80%, it works for grunt. This is initial code to provide easy change path for other grunt based platforms.
BUG=b:111608748 TEST=build and boot grunt.
Change-Id: I22863f6ed76152bf872fce3e275f8a7fd8077504 Signed-off-by: Richard Spiegel richard.spiegel@silverbackltd.com --- M src/mainboard/google/kahlee/Kconfig M src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c 2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/64/28564/1
diff --git a/src/mainboard/google/kahlee/Kconfig b/src/mainboard/google/kahlee/Kconfig index 9180906..6f05fb8 100644 --- a/src/mainboard/google/kahlee/Kconfig +++ b/src/mainboard/google/kahlee/Kconfig @@ -88,6 +88,10 @@ int default 4
+config STAPM_PERCENT + int + default 80 + config IRQ_SLOT_COUNT int default 11 diff --git a/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c b/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c index 4c5a294..c125af6 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c +++ b/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c @@ -151,4 +151,6 @@ InitEarly->GnbConfig.PsppPolicy = PsppBalanceLow; InitEarly->PlatformConfig.GnbAzI2sBusSelect = GnbAcpI2sBus; InitEarly->PlatformConfig.GnbAzI2sBusPinConfig = GnbAcp2Tx4RxBluetooth; + InitEarly->PlatformConfig.PlatStapmConfig.CfgStapmScalar = + CONFIG_STAPM_PERCENT; }