summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmanda Huang <amanda_hwang@compal.corp-partner.google.com>2018-09-25 00:19:42 +0800
committerMartin Roth <martinroth@google.com>2018-09-25 16:18:23 +0000
commitea525006a57bcd91ca2a78728f5a27e34fe0be32 (patch)
tree2fe99d19f17a32b12477c2451d47a4a4999def4d /src
parent4f4151abdbca93f762e58f345ed004df1ede8aa3 (diff)
downloadcoreboot-ea525006a57bcd91ca2a78728f5a27e34fe0be32.tar.xz
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 <amanda_hwang@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/28726 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c3
1 files changed, 3 insertions, 0 deletions
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;
}