diff options
author | Pali Rohár <pali@kernel.org> | 2021-11-24 20:00:30 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-12 22:21:24 +0300 |
commit | ca4b097d7ba88778189ae36b549ea81be89db650 (patch) | |
tree | b7d819e26bc34a8d87f70245a77439e5b251e695 | |
parent | f0c91296015a5976a7b4a6c01892a404c18ced83 (diff) | |
download | u-boot-ca4b097d7ba88778189ae36b549ea81be89db650.tar.xz |
vexpress64: Remove unused macro XR3PCI_ECAM_OFFSET
Macro XR3PCI_ECAM_OFFSET is unused and in case it would be needed in future
it can be replaced by standard PCIE_ECAM_OFFSET macro from pci.h file.
Signed-off-by: Pali Rohár <pali@kernel.org>
-rw-r--r-- | board/armltd/vexpress64/pcie.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/board/armltd/vexpress64/pcie.c b/board/armltd/vexpress64/pcie.c index 733b190e59..1e74158630 100644 --- a/board/armltd/vexpress64/pcie.c +++ b/board/armltd/vexpress64/pcie.c @@ -56,10 +56,6 @@ #define XR3PCI_ATR_TRSLID_PCIE_IO (0x020000) #define XR3PCI_ATR_TRSLID_PCIE_MEMORY (0x000000) -#define XR3PCI_ECAM_OFFSET(b, d, o) (((b) << 20) | \ - (PCI_SLOT(d) << 15) | \ - (PCI_FUNC(d) << 12) | o) - #define JUNO_RESET_CTRL 0x1004 #define JUNO_RESET_CTRL_PHY BIT(0) #define JUNO_RESET_CTRL_RC BIT(1) |