From ea525006a57bcd91ca2a78728f5a27e34fe0be32 Mon Sep 17 00:00:00 2001 From: Amanda Huang Date: Tue, 25 Sep 2018 00:19:42 +0800 Subject: mb/google/kahlee/variants/liara: Disable NbP-state on Liara To disable NB-Pstate, the system wouldn't auto restart on EVT board when idling. BUG=b:116082728 Change-Id: Iec4f0355cb6eb1c2b0372e3d131cc5e6ba36635e Signed-off-by: Amanda Huang Reviewed-on: https://review.coreboot.org/28726 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c') diff --git a/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c b/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c index cdc1fe0d70..6d34d4a518 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c +++ b/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c @@ -153,4 +153,7 @@ VOID __weak OemCustomizeInitEarly(IN OUT AMD_EARLY_PARAMS *InitEarly) InitEarly->GnbConfig.PsppPolicy = PsppBalanceLow; InitEarly->PlatformConfig.GnbAzI2sBusSelect = GnbAcpI2sBus; InitEarly->PlatformConfig.GnbAzI2sBusPinConfig = GnbAcp2Tx4RxBluetooth; + if ((IS_ENABLED(CONFIG_BOARD_GOOGLE_LIARA)) && (board_id() <= 4)) + InitEarly->PlatformConfig.PlatformProfile.NbPstatesSupported = + FALSE; } -- cgit v1.2.3