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>
This commit is contained in:
Ivy Jian 2022-09-12 14:42:58 +08:00 committed by Subrata Banik
parent 78c4d0f6a6
commit 4257e8c132
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ static void fill_fspm_tcss_params(FSP_M_CONFIG *m_cfg,
/* TCSS DMA */ /* TCSS DMA */
m_cfg->TcssDma0En = is_devfn_enabled(PCI_DEVFN_TCSS_DMA0); 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 */ /* Enable TCSS port */
max_port = get_max_tcss_port(); max_port = get_max_tcss_port();