]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.h
ARM: mvebu: a38x: move definition of PEX_CFG_DIRECT_ACCESS
[u-boot] / arch / arm / mach-mvebu / serdes / a38x / ctrl_pex.h
index 53ed4eab320395803204a0354f3d88171c5551e7..3f30b6bf972e1551c0afaac42c617fcfa120402f 100644 (file)
@@ -46,6 +46,7 @@
 
 /* Controller revision info */
 #define PEX_DEVICE_AND_VENDOR_ID       0x000
+#define PEX_CFG_DIRECT_ACCESS(if, reg) (PEX_IF_REGS_BASE(if) + (reg))
 
 /* PCI Express Configuration Address Register */
 #define PXCAR_REG_NUM_OFFS             2