diff options
author | Timur Tabi <timur@freescale.com> | 2012-07-25 11:03:34 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-08-08 18:32:16 -0500 |
commit | 5c5befda58e4a3f198a033e8a9952b2b309acc86 (patch) | |
tree | 631cd1488116efe75498985641df0db02f3c5b0c /arch/powerpc/cpu/mpc85xx/p4080_ids.c | |
parent | 718f2b318764233cb5dec5e740962a66eecbabad (diff) | |
download | u-boot-imx-5c5befda58e4a3f198a033e8a9952b2b309acc86.zip u-boot-imx-5c5befda58e4a3f198a033e8a9952b2b309acc86.tar.gz u-boot-imx-5c5befda58e4a3f198a033e8a9952b2b309acc86.tar.bz2 |
powerpc/85xx: use CONFIG_SYS_FSL_PCIE_COMPAT macro when setting the PCI LIODNs
The SET_PCI_LIODN() macro takes a compatible property string as a parameter, so that it knows
which PCI device tree node to look for. The calls to these macros are using a hard-coded string,
but we already have the CONFIG_SYS_FSL_PCIE_COMPAT macro which contains the same string, so we
should use that.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/p4080_ids.c')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/p4080_ids.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/p4080_ids.c b/arch/powerpc/cpu/mpc85xx/p4080_ids.c index a6ea6af..5c287fb 100644 --- a/arch/powerpc/cpu/mpc85xx/p4080_ids.c +++ b/arch/powerpc/cpu/mpc85xx/p4080_ids.c @@ -52,9 +52,9 @@ struct liodn_id_table liodn_tbl[] = { SET_SDHC_LIODN(1, 156), - SET_PCI_LIODN("fsl,p4080-pcie", 1, 193), - SET_PCI_LIODN("fsl,p4080-pcie", 2, 194), - SET_PCI_LIODN("fsl,p4080-pcie", 3, 195), + SET_PCI_LIODN(CONFIG_SYS_FSL_PCIE_COMPAT, 1, 193), + SET_PCI_LIODN(CONFIG_SYS_FSL_PCIE_COMPAT, 2, 194), + SET_PCI_LIODN(CONFIG_SYS_FSL_PCIE_COMPAT, 3, 195), SET_DMA_LIODN(1, 196), SET_DMA_LIODN(2, 197), |