mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-07 12:49:24 +00:00
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>
This commit is contained in:
parent
9f076dbe7e
commit
47d1736231
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
#include <fdt_support.h>
|
#include <fdt_support.h>
|
||||||
#include "pcie_layerscape.h"
|
#include "pcie_layerscape.h"
|
||||||
|
|
||||||
#ifdef CONFIG_FSL_LSCH3
|
#if defined(CONFIG_FSL_LSCH3) || defined(CONFIG_FSL_LSCH2)
|
||||||
/*
|
/*
|
||||||
* Return next available LUT index.
|
* 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)
|
list_for_each_entry(pcie, &ls_pcie_list, list)
|
||||||
ft_pcie_ls_setup(blob, pcie);
|
ft_pcie_ls_setup(blob, pcie);
|
||||||
|
|
||||||
#ifdef CONFIG_FSL_LSCH3
|
#if defined(CONFIG_FSL_LSCH3) || defined(CONFIG_FSL_LSCH2)
|
||||||
fdt_fixup_pcie(blob);
|
fdt_fixup_pcie(blob);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue