summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-02-10 14:53:42 +0100
committerStefan Roese <sr@denx.de>2022-02-17 14:17:07 +0100
commit819a43c90aafbeba393fe147ff9e1807114ea0c8 (patch)
tree3ec552fd3f4a68d297c6a004872abbd06f9d779b /drivers/ddr/microchip
parentab8903a24db11571d634ef255976bb364c3ba64d (diff)
arm: a37xx: pci: Use standard register macros from pci.h
PCI config space of the aardvark PCIe Root Port is available only in internal aardvark memory space starting at offset 0x0. PCI Express registers (PCI_EXP_*) start at offset 0xc0. And Advanced Error Reporting registers (PCI_ERR_*) start at offset 0x100. Replace custom aardvark register macros by standard PCI macros from include/pci.h file with fixed offset. Some DEVCTL and AER macros are not defined in include/pci.h file, so define them in the same way as in linux uapi header file pci_regs.h. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/ddr/microchip')
0 files changed, 0 insertions, 0 deletions