diff options
author | Matvejchikov Ilya <matvejchikov@gmail.com> | 2008-07-30 23:20:32 +0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-31 11:34:49 +0200 |
commit | 6361ad4b596f5a940a01c91ae0297d98f790cbe0 (patch) | |
tree | daf8625854ec2485cb4f54f8444d29e1a59eaa05 /include/asm-ppc | |
parent | f0ff885ca64655bee6540eb8a25eed90b1152686 (diff) | |
download | u-boot-imx-6361ad4b596f5a940a01c91ae0297d98f790cbe0.zip u-boot-imx-6361ad4b596f5a940a01c91ae0297d98f790cbe0.tar.gz u-boot-imx-6361ad4b596f5a940a01c91ae0297d98f790cbe0.tar.bz2 |
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.
Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/global_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/global_data.h b/include/asm-ppc/global_data.h index c5ac658..be2ce24 100644 --- a/include/asm-ppc/global_data.h +++ b/include/asm-ppc/global_data.h @@ -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) |