]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/powerpc/include/asm/fsl_liodn.h
powerpc/85xx: Fix setting of LIODN prop in PCIe nodes on P3041/P5020
[people/ms/u-boot.git] / arch / powerpc / include / asm / fsl_liodn.h
index f76676cb00171c60892705f7a827c6bc12306777..0ec5c0a3f5786f9c6e25990637eeea2e1b3c5b84 100644 (file)
@@ -70,8 +70,8 @@ extern void fdt_fixup_liodn(void *blob);
        SET_GUTS_LIODN("fsl,pq-sata-v2", liodn, sata##sataNum##liodnr,\
                CONFIG_SYS_MPC85xx_SATA##sataNum##_OFFSET)
 
-#define SET_PCI_LIODN(pciNum, liodn) \
-       SET_GUTS_LIODN("fsl,p4080-pcie", liodn, pex##pciNum##liodnr,\
+#define SET_PCI_LIODN(compat, pciNum, liodn) \
+       SET_GUTS_LIODN(compat, liodn, pex##pciNum##liodnr,\
                CONFIG_SYS_MPC85xx_PCIE##pciNum##_OFFSET)
 
 /* reg nodes for DMA start @ 0x300 */