From 5a0c10c38c32212bbafc4294a8c5870007b0e008 Mon Sep 17 00:00:00 2001 From: Lean Sheng Tan Date: Mon, 23 Jan 2023 14:55:28 +0100 Subject: [PATCH] mb/prodrive/atlas: Enable audio output Before, the Intel HDA PCIe device was showing up in the lspci tool, but Audio wasn't working. This patch enables the corresponding FSP-M settings to make it work. Tested on Prodrive Atlas with Themis carrier board on Windows 10 and Linux 6.1.0-rc3. Signed-off-by: Lean Sheng Tan Change-Id: I144618c453c1e6a3e759afc7532a4ac4a71814c9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72385 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Angel Pons --- src/mainboard/prodrive/atlas/romstage_fsp_params.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mainboard/prodrive/atlas/romstage_fsp_params.c b/src/mainboard/prodrive/atlas/romstage_fsp_params.c index 5afbab071a..dc5403f868 100644 --- a/src/mainboard/prodrive/atlas/romstage_fsp_params.c +++ b/src/mainboard/prodrive/atlas/romstage_fsp_params.c @@ -45,4 +45,9 @@ void mainboard_memory_init_params(FSPM_UPD *memupd) }; memcfg_init(memupd, mem_config, &dimm_module_spd_info, half_populated); + + /* Enable Audio */ + memupd->FspmConfig.PchHdaAudioLinkHdaEnable = 1; + memupd->FspmConfig.PchHdaSdiEnable[0] = 1; + memupd->FspmConfig.PchHdaSdiEnable[1] = 1; }