summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvy Jian <ivy.jian@quanta.corp-partner.google.com>2022-09-12 14:42:58 +0800
committerSubrata Banik <subratabanik@google.com>2022-09-14 05:29:23 +0000
commit4257e8c13218556c016a06d8edeb48794772f377 (patch)
treef10b4b986a0c6a64eadb6366b232a746f5e51b5f
parent78c4d0f6a6a797742ddbd7d7dcb9a80fe2dc99d3 (diff)
soc/intel/meteorlake: Enable TcssDma1En
Adding support enables/disables TcssDma1En by usb4_params. BUG=b:244687646 TEST= TcssDma1En is enabled as expected. before patch [SPEW ] PCI: 00:0d.2 [8086/0000] bus ops [DEBUG] PCI: 00:0d.2 [8086/7ec2] enabled [INFO ] PCI: Static device PCI: 00:0d.3 not found, disabling it. after patch [SPEW ] PCI: 00:0d.2 [8086/0000] bus ops [DEBUG] PCI: 00:0d.2 [8086/7ec2] enabled [SPEW ] PCI: 00:0d.3 [8086/0000] bus ops [DEBUG] PCI: 00:0d.3 [8086/7ec3] enabled Signed-off-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com> Change-Id: I9cd8fc3819f533e9581fea19d4da48283888cc04 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67534 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Tarun Tuli <taruntuli@google.com>
-rw-r--r--src/soc/intel/meteorlake/romstage/fsp_params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/meteorlake/romstage/fsp_params.c b/src/soc/intel/meteorlake/romstage/fsp_params.c
index 109a7443ea..74ea88d6b5 100644
--- a/src/soc/intel/meteorlake/romstage/fsp_params.c
+++ b/src/soc/intel/meteorlake/romstage/fsp_params.c
@@ -213,7 +213,7 @@ static void fill_fspm_tcss_params(FSP_M_CONFIG *m_cfg,
/* TCSS DMA */
m_cfg->TcssDma0En = is_devfn_enabled(PCI_DEVFN_TCSS_DMA0);
- m_cfg->TcssDma1En = 0;
+ m_cfg->TcssDma1En = is_devfn_enabled(PCI_DEVFN_TCSS_DMA1);
/* Enable TCSS port */
max_port = get_max_tcss_port();