Skip to contentSkip to conversation

armv8: fsl-layerscape: fix config dependency for layerscape pci code

PATCH Superseded Alex Marginean 3 participants 4 messages May 29, 2019 – Jun 19, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 armv8: fsl-layerscape: fix config dependency for layerscape pci code

Fixes a link error on layerscape platform, linking fails with CONFIG_PCI set and CONFIG_PCI_LAYERSCAPE unset.

---
 arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv8/fsl-layerscape/fdt.c +1 -1
index 11117657fe..fabe0f0359 100644
@@ -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
+#ifdef CONFIG_PCI_LAYERSCAPE
 	ft_pci_setup(blob, bd);
 #endif
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 1/1 armv8: fsl-layerscape: fix config dependency for layerscape pci code

Fixes a link error on layerscape platform, linking fails with CONFIG_PCI set and CONFIG_PCI_LAYERSCAPE unset.

---
Changes in v2:
- resent with proper email addresses for freescale/NXP folks

 arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv8/fsl-layerscape/fdt.c +1 -1
index 11117657fe..fabe0f0359 100644
@@ -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
+#ifdef CONFIG_PCI_LAYERSCAPE
 	ft_pci_setup(blob, bd);
 #endif
 
Signature · 1 line
2.17.1
#2 lore raw

PATCH v2 1/1 armv8: fsl-layerscape: fix config dependency for layerscape pci code

Quoted 4 lines · Alex Marginean

Fixes a link error on layerscape platform, linking fails with CONFIG_PCI set and CONFIG_PCI_LAYERSCAPE unset.

Quoted 8 lines

---
Changes in v2:
- resent with proper email addresses for freescale/NXP folks

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

PATCH v2 1/1 armv8: fsl-layerscape: fix config dependency for layerscape pci code

In reply to Alex Marginean
Quoted 11 lines

-----Original Message-----
From: Alex Marginean <[email protected]>
Sent: Thursday, May 30, 2019 9:59 PM
To: u-boot at lists.denx.de
Cc: York Sun <[email protected]>; Mingkai Hu <[email protected]>; Prabhakar Kushwaha <[email protected]>; Albert Aribaud <[email protected]>; Alex Marginean <[email protected]>
Subject: [PATCH v2] armv8: fsl-layerscape: fix config dependency for layerscape pci code

Quoted 5 lines

Fixes a link error on layerscape platform, linking fails with CONFIG_PCI set and CONFIG_PCI_LAYERSCAPE unset.

---

This patch has been applied to fsl-qoriq master, awaiting upstream.

--pk