Commit 5be3b44cd4ce88adf5f43f38b24c6019945756ec

Authored by Prabhakar Kushwaha
Committed by York Sun
1 parent 252b17e0ec

armv8/ls2085a: call ft_pcie_setup() to change dts status

call ft_pci_setup() to disable PCIe dts node if corresponding
PCIe controller is disabled according to RCW

Signed-off-by: Minghuan Lian <Minghuan.Lian at freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

arch/arm/cpu/armv8/fsl-lsch3/fdt.c
... ... @@ -69,6 +69,10 @@
69 69 "clock-frequency", CONFIG_SYS_NS16550_CLK, 1);
70 70 #endif
71 71  
  72 +#ifdef CONFIG_PCI
  73 + ft_pci_setup(blob, bd);
  74 +#endif
  75 +
72 76 #if defined(CONFIG_FSL_ESDHC)
73 77 fdt_fixup_esdhc(blob, bd);
74 78 #endif