diff options
author | David Wu <david_wu@quanta.corp-partner.google.com> | 2024-08-19 16:35:06 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-08-23 14:32:45 +0000 |
commit | 2f3d534eeaf8683ca60de3118c820bc32b03d070 (patch) | |
tree | 92bef5130ad9a166a7be9f7c067e8bb76f7f15b6 /src/mainboard | |
parent | df96dd5075214f0083a4907ae7874dc016c5e816 (diff) |
mb/google/nissa/var/riven: Set VccIn Aux Imon IccMax to 25A
Iccmax of VccIn_Aux is 25A with MBVR design.
BUG=b:348258637
TEST=Local build successfully and boot to OS normally.
Change-Id: I59c420c03a8f01d185f616a2212798266b4251e0
Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83986
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com>
Reviewed-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/brya/variants/riven/Makefile.mk | 1 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/riven/ramstage.c | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/riven/Makefile.mk b/src/mainboard/google/brya/variants/riven/Makefile.mk index 86ba20d3c3..393ccfdf1c 100644 --- a/src/mainboard/google/brya/variants/riven/Makefile.mk +++ b/src/mainboard/google/brya/variants/riven/Makefile.mk @@ -6,3 +6,4 @@ romstage-y += gpio.c ramstage-$(CONFIG_FW_CONFIG) += fw_config.c ramstage-$(CONFIG_FW_CONFIG) += variant.c ramstage-y += gpio.c +ramstage-y += ramstage.c diff --git a/src/mainboard/google/brya/variants/riven/ramstage.c b/src/mainboard/google/brya/variants/riven/ramstage.c new file mode 100644 index 0000000000..5ed9a37f72 --- /dev/null +++ b/src/mainboard/google/brya/variants/riven/ramstage.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include <console/console.h> +#include <soc/ramstage.h> + +void mainboard_silicon_init_params(FSP_S_CONFIG *params) +{ + /* Refer to FSP Silicon (soc/intel/alderlake/fsp_params.c) + VccIn Aux Imon IccMax. Values are in 1/4 Amp increments */ + params->VccInAuxImonIccImax = 100; /* 25000(25A) * 4 / 1000 */ + printk(BIOS_INFO, "Override VccInAuxImonIccImax = %d\n", params->VccInAuxImonIccImax); +} |