]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
PPC: Add pci_clk in the global_data for CPM2 processors
authorMatvejchikov Ilya <matvejchikov@gmail.com>
Wed, 30 Jul 2008 19:20:32 +0000 (23:20 +0400)
committerWolfgang Denk <wd@denx.de>
Thu, 31 Jul 2008 09:34:49 +0000 (11:34 +0200)
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.

Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
include/asm-ppc/global_data.h

index c5ac6584acb4c942e1f57ab481a0726ad304fb6d..be2ce2477827965ccbbfe8eeb6b30e42232be425 100644 (file)
@@ -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)