From 2031221fbda5100556933fb225f9199b88aeebac Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Mon, 14 Dec 2020 16:18:04 +0100 Subject: soc/intel/cannonlake: Change mainboard_silicon_init_params argument Use FSPS_UPD instead of FSP_S_CONFIG as argument as already done on xeon_sp and denverton_ns. This allows to set test config UPDs from mainboard code as well. Change-Id: I6d67264e22df32b9210ce88b99d6a7a4f6b97ffb Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/48644 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Matt DeVillier Reviewed-by: Felix Singer --- src/mainboard/prodrive/hermes/ramstage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mainboard/prodrive/hermes') diff --git a/src/mainboard/prodrive/hermes/ramstage.c b/src/mainboard/prodrive/hermes/ramstage.c index b8b147d9b6..72ae014409 100644 --- a/src/mainboard/prodrive/hermes/ramstage.c +++ b/src/mainboard/prodrive/hermes/ramstage.c @@ -8,8 +8,10 @@ static fsp_params parmas_list[] = { /* FIXME: Fill with additional options */ }; -void mainboard_silicon_init_params(FSP_S_CONFIG *params) +void mainboard_silicon_init_params(FSPS_UPD *supd) { + FSP_S_CONFIG *params = &supd->FspsConfig; + /* Configure pads prior to SiliconInit() in case there's any dependencies during hardware initialization. */ program_gpio_pads(); -- cgit v1.2.3