diff options
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r-- | src/soc/intel/common/block/pcie/Kconfig | 12 | ||||
-rw-r--r-- | src/soc/intel/common/block/pcie/pcie.c | 4 |
2 files changed, 14 insertions, 2 deletions
diff --git a/src/soc/intel/common/block/pcie/Kconfig b/src/soc/intel/common/block/pcie/Kconfig index 859ba22eab..f65d8c16f3 100644 --- a/src/soc/intel/common/block/pcie/Kconfig +++ b/src/soc/intel/common/block/pcie/Kconfig @@ -17,6 +17,18 @@ config PCIEXP_CLK_PM config PCIEXP_L1_SUB_STATE default y +config PCIE_LTR_MAX_SNOOP_LATENCY + hex + default 0x1003 + help + Latency tolerance reporting, max snoop latency value defaults to 3.14 ms. + +config PCIE_LTR_MAX_NO_SNOOP_LATENCY + hex + default 0x1003 + help + Latency tolerance reporting, max non-snoop latency value defaults to 3.14 ms. + endif # SOC_INTEL_COMMON_BLOCK_PCIE config PCIE_DEBUG_INFO diff --git a/src/soc/intel/common/block/pcie/pcie.c b/src/soc/intel/common/block/pcie/pcie.c index c8a958d70d..d5d3322581 100644 --- a/src/soc/intel/common/block/pcie/pcie.c +++ b/src/soc/intel/common/block/pcie/pcie.c @@ -48,8 +48,8 @@ static void pch_pcie_init(struct device *dev) static void pcie_get_ltr_max_latencies(u16 *max_snoop, u16 *max_nosnoop) { - *max_snoop = PCIE_LTR_MAX_SNOOP_LATENCY_3146US; - *max_nosnoop = PCIE_LTR_MAX_NO_SNOOP_LATENCY_3146US; + *max_snoop = CONFIG_PCIE_LTR_MAX_SNOOP_LATENCY; + *max_nosnoop = CONFIG_PCIE_LTR_MAX_NO_SNOOP_LATENCY; } static struct pci_operations pcie_ops = { |