mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
27 lines
865 B
Diff
27 lines
865 B
Diff
From 5d3f9ed5a9eb305a2531015cc65200d48be5dbf4 Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robimarko@gmail.com>
|
|
Date: Tue, 11 May 2021 22:21:57 +0200
|
|
Subject: [PATCH 1/2] PCI: qcom: backport register define
|
|
|
|
This is used by the pending IPQ6018 PCI support which
|
|
uses the same Gen3 IP and the one we are reusing for
|
|
IPQ8074.
|
|
|
|
Without it compilation will break.
|
|
|
|
Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|
---
|
|
drivers/pci/controller/dwc/pcie-qcom.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/pci/controller/dwc/pcie-qcom.c
|
|
+++ b/drivers/pci/controller/dwc/pcie-qcom.c
|
|
@@ -61,6 +61,7 @@
|
|
#define PCIE20_PARF_SID_OFFSET 0x234
|
|
#define PCIE20_PARF_BDF_TRANSLATE_CFG 0x24C
|
|
#define PCIE20_PARF_DEVICE_TYPE 0x1000
|
|
+#define PCIE20_PARF_BDF_TO_SID_TABLE_N 0x2000
|
|
|
|
#define PCIE20_ELBI_SYS_CTRL 0x04
|
|
#define PCIE20_ELBI_SYS_CTRL_LT_ENABLE BIT(0)
|