summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorFrank Chu <frank_chu@pegatron.corp-partner.google.com>2024-03-27 15:10:57 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-05-14 13:10:10 +0000
commite3b1a9d7a1074e1ce066a1f11775fdd953b9a98f (patch)
tree9622b68fbf8dfe648c85f11f74ed66b56bbb8b11 /src/mainboard
parente7e717b3a6f5cfb69d64fbbe2c75367e273a315c (diff)
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 <frank_chu@pegatron.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81445 Reviewed-by: Simon Yang <simon1.yang@intel.com> Reviewed-by: Derek Huang <derekhuang@google.com> Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brya/variants/glassway/Makefile.mk3
-rw-r--r--src/mainboard/google/brya/variants/glassway/ramstage.c9
2 files changed, 12 insertions, 0 deletions
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 <soc/ramstage.h>
+
+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);
+}