From fad0064377fbd1e6d403044f71de28db21e555dd Mon Sep 17 00:00:00 2001 From: Appukuttan V K Date: Wed, 28 May 2025 19:40:29 +0530 Subject: [PATCH] soc/intel/ptl: Add UFS support for Wildcat Lake SOC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Key changes: - Updated ACPI southbridge configuration to include UFS support for Wildcat Lake. - Modified FSP parameters to enable UFS controllers for Wildcat Lake. References: - Wildcat Lake Processor EDS Volume 1 (#842271) - Wildcat Lake External Design Specification (EDS) Volume 2 (#829345) BUG=b:394208231 TEST=Build Ocelot and Fatcat and verify it compiles without any error. Change-Id: I3878b4a54a7be2565b37b0f885af5d55a6778795 Signed-off-by: Appukuttan V K Reviewed-on: https://review.coreboot.org/c/coreboot/+/87891 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: Jérémy Compostella Reviewed-by: Pranava Y N Reviewed-by: Usha P --- src/soc/intel/pantherlake/acpi/southbridge.asl | 2 +- src/soc/intel/pantherlake/fsp_params.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/intel/pantherlake/acpi/southbridge.asl b/src/soc/intel/pantherlake/acpi/southbridge.asl index bf30363b0f..302099373d 100644 --- a/src/soc/intel/pantherlake/acpi/southbridge.asl +++ b/src/soc/intel/pantherlake/acpi/southbridge.asl @@ -54,6 +54,6 @@ #endif /* UFS 0:17:0 */ -#if CONFIG(SOC_INTEL_PANTHERLAKE_U_H) +#if (CONFIG(SOC_INTEL_PANTHERLAKE_U_H) || CONFIG(SOC_INTEL_WILDCATLAKE)) #include #endif diff --git a/src/soc/intel/pantherlake/fsp_params.c b/src/soc/intel/pantherlake/fsp_params.c index f45d333032..47d135a321 100644 --- a/src/soc/intel/pantherlake/fsp_params.c +++ b/src/soc/intel/pantherlake/fsp_params.c @@ -695,7 +695,7 @@ static void fill_fsps_iax_params(FSP_S_CONFIG *s_cfg, static void fill_fsps_ufs_params(FSP_S_CONFIG *s_cfg, const struct soc_intel_pantherlake_config *config) { -#if CONFIG(SOC_INTEL_PANTHERLAKE_U_H) +#if (CONFIG(SOC_INTEL_PANTHERLAKE_U_H) || CONFIG(SOC_INTEL_WILDCATLAKE)) /* Setting FSP UPD (1,0) to enable controller 0 */ s_cfg->UfsEnable[0] = is_devfn_enabled(PCI_DEVFN_UFS); s_cfg->UfsEnable[1] = 0;