From e3b1a9d7a1074e1ce066a1f11775fdd953b9a98f Mon Sep 17 00:00:00 2001 From: Frank Chu Date: Wed, 27 Mar 2024 15:10:57 +0800 Subject: mb/google/nissa/var/glassway: Set VccIn Aux Imon IccMax to 25 A Iccmax of VccIn_Aux is 25A with MBVR design. BUG=b:330117043 BRANCH=firmware-nissa-15217.B TEST=Local build successfully and boot to OOBE normally. Change-Id: I105dc9df53c624fd7fc697408a1097e023a3cd68 Signed-off-by: Frank Chu Reviewed-on: https://review.coreboot.org/c/coreboot/+/81445 Reviewed-by: Simon Yang Reviewed-by: Derek Huang Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/variants/glassway/Makefile.mk | 3 +++ src/mainboard/google/brya/variants/glassway/ramstage.c | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/mainboard/google/brya/variants/glassway/ramstage.c (limited to 'src/mainboard/google/brya') diff --git a/src/mainboard/google/brya/variants/glassway/Makefile.mk b/src/mainboard/google/brya/variants/glassway/Makefile.mk index 102307a6ca..e409037840 100644 --- a/src/mainboard/google/brya/variants/glassway/Makefile.mk +++ b/src/mainboard/google/brya/variants/glassway/Makefile.mk @@ -4,4 +4,7 @@ bootblock-y += gpio.c romstage-y += gpio.c ramstage-y += gpio.c + ramstage-y += variant.c + +ramstage-y += ramstage.c diff --git a/src/mainboard/google/brya/variants/glassway/ramstage.c b/src/mainboard/google/brya/variants/glassway/ramstage.c new file mode 100644 index 0000000000..6d63eaa8f7 --- /dev/null +++ b/src/mainboard/google/brya/variants/glassway/ramstage.c @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include + +void mainboard_silicon_init_params(FSP_S_CONFIG *params) +{ + params->VccInAuxImonIccImax = 100; // 25 * 4 for ADL-N + printk(BIOS_INFO, "Override VccInAuxImonIccImax = %d\n", params->VccInAuxImonIccImax); +} -- cgit v1.2.3