device/pciexp_device: Convert LTR non-snoop/snoop value into common macro

Change-Id: I3d14a40b4ed0dcc216dcac883e33749b7808f00d
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31951
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
diff --git a/src/soc/intel/broadwell/pcie.c b/src/soc/intel/broadwell/pcie.c
index 472e8da..dff4f81 100644
--- a/src/soc/intel/broadwell/pcie.c
+++ b/src/soc/intel/broadwell/pcie.c
@@ -652,7 +652,9 @@
 static void pcie_set_L1_ss_max_latency(struct device *dev, unsigned int off)
 {
 	/* Set max snoop and non-snoop latency for Broadwell */
-	pci_write_config32(dev, off, 0x10031003);
+	pci_write_config32(dev, off,
+		PCIE_LTR_MAX_NO_SNOOP_LATENCY_3146US << 16 |
+		PCIE_LTR_MAX_SNOOP_LATENCY_3146US);
 }
 
 static struct pci_operations pcie_ops = {