projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0ff885
)
PPC: Add pci_clk in the global_data for CPM2 processors
author
Matvejchikov Ilya
<matvejchikov@gmail.com>
Wed, 30 Jul 2008 19:20:32 +0000
(23:20 +0400)
committer
Wolfgang 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
patch
|
blob
|
history
diff --git
a/include/asm-ppc/global_data.h
b/include/asm-ppc/global_data.h
index c5ac6584acb4c942e1f57ab481a0726ad304fb6d..be2ce2477827965ccbbfe8eeb6b30e42232be425 100644
(file)
--- 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)