Re: [U-Boot] [PATCHv3] armv8: fsl-layerscape: Fix a typo of Layerscape PCIe config entry

2019-09-16 Thread Priyanka Jain
>-Original Message-
>From: Z.q. Hou
>Sent: Tuesday, August 27, 2019 9:00 AM
>To: u-boot@lists.denx.de; Prabhakar Kushwaha
>; alexm.ossl...@gmail.com;
>bmeng...@gmail.com
>Cc: Z.q. Hou 
>Subject: [PATCHv3] armv8: fsl-layerscape: Fix a typo of Layerscape PCIe config
>entry
>
>From: Hou Zhiqiang 
>
>The correct config entry is CONFIG_PCIE_LAYERSCAPE and this typo results in
>skipping the fixup of Linux PCIe DT nodes.
>
>Also enable the fixup when Layerscape Gen4 controller driver is enabled.
>
>Fixes: 4da0e52c9dc0 (armv8: fsl-layerscape: fix config dependency for
>layerscape pci code)
>Signed-off-by: Hou Zhiqiang 
>Reviewed-by: Bin Meng 

Applied to fsl-qoriq master, awaiting upstream.

Thanks
priyankajain
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCHv3] armv8: fsl-layerscape: Fix a typo of Layerscape PCIe config entry

2019-08-26 Thread Z.q. Hou
From: Hou Zhiqiang 

The correct config entry is CONFIG_PCIE_LAYERSCAPE and this
typo results in skipping the fixup of Linux PCIe DT nodes.

Also enable the fixup when Layerscape Gen4 controller driver
is enabled.

Fixes: 4da0e52c9dc0 (armv8: fsl-layerscape: fix config dependency for 
layerscape pci code)
Signed-off-by: Hou Zhiqiang 
Reviewed-by: Bin Meng 
---
V3:
 - Fix grammar errors in change log.
V2:
 - Enable this fixup for Layerscape Gen4 controller driver.

 arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c 
b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
index fabe0f0359..25b7afe064 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
@@ -435,7 +435,7 @@ void ft_cpu_setup(void *blob, bd_t *bd)
do_fixup_by_path_u32(blob, "/sysclk", "clock-frequency",
 CONFIG_SYS_CLK_FREQ, 1);
 
-#ifdef CONFIG_PCI_LAYERSCAPE
+#if defined(CONFIG_PCIE_LAYERSCAPE) || defined(CONFIG_PCIE_LAYERSCAPE_GEN4)
ft_pci_setup(blob, bd);
 #endif
 
-- 
2.17.1

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot