armv8/ls2085a: call ft_pcie_setup() to change dts status
authorPrabhakar Kushwaha <prabhakar at freescale.com>
Thu, 28 May 2015 09:23:59 +0000 (14:53 +0530)
committerYork Sun <yorksun@freescale.com>
Mon, 20 Jul 2015 18:44:34 +0000 (11:44 -0700)
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>
arch/arm/cpu/armv8/fsl-lsch3/fdt.c

index d37002333c92d441b39e875d1bacfc6292eabaed..b9fd559356b522b0805009f17b9d10ca5a25639d 100644 (file)
@@ -69,6 +69,10 @@ void ft_cpu_setup(void *blob, bd_t *bd)
                               "clock-frequency", CONFIG_SYS_NS16550_CLK, 1);
 #endif
 
+#ifdef CONFIG_PCI
+       ft_pci_setup(blob, bd);
+#endif
+
 #if defined(CONFIG_FSL_ESDHC)
        fdt_fixup_esdhc(blob, bd);
 #endif