From: Prabhakar Kushwaha Date: Thu, 28 May 2015 09:23:59 +0000 (+0530) Subject: armv8/ls2085a: call ft_pcie_setup() to change dts status X-Git-Tag: v2015.10-rc1~183^2~46 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5be3b44cd4ce88adf5f43f38b24c6019945756ec;p=oweals%2Fu-boot.git 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 Signed-off-by: Prabhakar Kushwaha Reviewed-by: York Sun --- diff --git a/arch/arm/cpu/armv8/fsl-lsch3/fdt.c b/arch/arm/cpu/armv8/fsl-lsch3/fdt.c index d37002333c..b9fd559356 100644 --- a/arch/arm/cpu/armv8/fsl-lsch3/fdt.c +++ b/arch/arm/cpu/armv8/fsl-lsch3/fdt.c @@ -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