summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorLean Sheng Tan <sheng.tan@9elements.com>2023-01-23 14:55:28 +0100
committerLean Sheng Tan <sheng.tan@9elements.com>2023-01-25 12:14:19 +0000
commit5a0c10c38c32212bbafc4294a8c5870007b0e008 (patch)
tree5e4f9ec9098d464d5ad6b42ab86a153fe9d4e322 /src/mainboard
parent50c56fbaad63c71acea85d5da3a772c686a983fb (diff)
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 <sheng.tan@9elements.com> Change-Id: I144618c453c1e6a3e759afc7532a4ac4a71814c9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72385 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/prodrive/atlas/romstage_fsp_params.c5
1 files changed, 5 insertions, 0 deletions
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;
}