diff options
author | Bharat Bhushan <bharat.bhushan@nxp.com> | 2017-03-22 06:36:30 (GMT) |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-03-28 17:52:41 (GMT) |
commit | 47d1736231dcad185662222754e1015dc025f67a (patch) | |
tree | 2eece6f654ebc8050fccde99646406944f11812b /drivers | |
parent | 9f076dbe7ec3d1ea96e0d4f5d1bdc37273b88265 (diff) | |
download | u-boot-47d1736231dcad185662222754e1015dc025f67a.tar.xz |
pcie-layerscape: Initialize pci-lut for NXP chasis-2 socs
Layerscape Chasis-2 also uses same PCIe controller as Chasis-3
and have similar PCI-Lut.
Signed-off-by: Bharat Bhushan <bharat.bhushan@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pcie_layerscape_fixup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pcie_layerscape_fixup.c b/drivers/pci/pcie_layerscape_fixup.c index 64e461e..d7591bc 100644 --- a/drivers/pci/pcie_layerscape_fixup.c +++ b/drivers/pci/pcie_layerscape_fixup.c @@ -15,7 +15,7 @@ #include <fdt_support.h> #include "pcie_layerscape.h" -#ifdef CONFIG_FSL_LSCH3 +#if defined(CONFIG_FSL_LSCH3) || defined(CONFIG_FSL_LSCH2) /* * Return next available LUT index. */ @@ -188,7 +188,7 @@ void ft_pci_setup(void *blob, bd_t *bd) list_for_each_entry(pcie, &ls_pcie_list, list) ft_pcie_ls_setup(blob, pcie); -#ifdef CONFIG_FSL_LSCH3 +#if defined(CONFIG_FSL_LSCH3) || defined(CONFIG_FSL_LSCH2) fdt_fixup_pcie(blob); #endif } |