Skip to contentSkip to conversation

PPC: Add pci_clk in the global_data for CPM2 processors

PATCH New Matvejchikov Ilya 2 participants 2 messages Jul 30, 2008 – Jul 31, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 PPC: Add pci_clk in the global_data for CPM2 processors

This patch adds pci_clk field to the global_data structure for the processors which have CPM2 module in case the CONFIG_PCI is defined.

---
 include/asm-ppc/global_data.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
include/asm-ppc/global_data.h +3 -0
index c5ac658..be2ce24 100644
@@ -51,6 +51,9 @@ typedef	struct	global_data {
 	unsigned long	cpm_clk;
 	unsigned long	scc_clk;
 	unsigned long	brg_clk;
+#ifdef CONFIG_PCI
+	unsigned long	pci_clk;
+#endif
 #endif
 	unsigned long   mem_clk;
 #if defined(CONFIG_MPC83XX)
Signature · 1 line
1.5.6.4
#1 lore raw

PATCH 1/2 PPC: Add pci_clk in the global_data for CPM2 processors

Quoted 7 lines · In message <[email protected]> you…

This patch adds pci_clk field to the global_data structure for the processors which have CPM2 module in case the CONFIG_PCI is defined.

---
 include/asm-ppc/global_data.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In the bathtub of history the truth is harder to hold than the  soap,
and much more difficult to find ...     - Terry Pratchett, _Sourcery_