[U-Boot] [PATCH 3/3] pcie-layerscape: Initialize pci-lut for NXP chasis-2 socs
Bharat Bhushan
Bharat.Bhushan at nxp.com
Mon Jan 30 11:43:12 CET 2017
Layerscape Chasis-2 also uses same PCIe controller
as used in Chasis-3 and have similar PCI-Lut.
We need to initialize the pcie-lut for Chasis-2 also
as in Chasis-3.
Signed-off-by: Bharat Bhushan <Bharat.Bhushan at nxp.com>
---
drivers/pci/pcie_layerscape_fixup.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/pci/pcie_layerscape_fixup.c b/drivers/pci/pcie_layerscape_fixup.c
index 19ede2f..2f13e1f 100644
--- a/drivers/pci/pcie_layerscape_fixup.c
+++ b/drivers/pci/pcie_layerscape_fixup.c
@@ -15,7 +15,6 @@
#include <fdt_support.h>
#include "pcie_layerscape.h"
-#ifdef CONFIG_FSL_LSCH3
/*
* Return next available LUT index.
*/
@@ -141,7 +140,6 @@ static void fdt_fixup_pcie(void *blob)
streamid);
}
}
-#endif
static void ft_pcie_ls_setup(void *blob, struct ls_pcie *pcie)
{
@@ -175,9 +173,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
fdt_fixup_pcie(blob);
-#endif
}
#else /* !CONFIG_OF_BOARD_SETUP */
--
1.9.3
More information about the U-Boot
mailing list