projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix PCI-Express on PPC440SPe rev. A.
[oweals/u-boot.git]
/
cpu
/
mpc8220
/
i2c.c
diff --git
a/cpu/mpc8220/i2c.c
b/cpu/mpc8220/i2c.c
index 62f7c0f5d330df815284ca99031017880c66273c..d67936dc31c2f3b7a11242f506823015d134115b 100644
(file)
--- a/
cpu/mpc8220/i2c.c
+++ b/
cpu/mpc8220/i2c.c
@@
-23,6
+23,8
@@
#include <common.h>
+DECLARE_GLOBAL_DATA_PTR;
+
#ifdef CONFIG_HARD_I2C
#include <mpc8220.h>
@@
-235,7
+237,6
@@
void i2c_init (int speed, int saddr)
static int mpc_get_fdr (int speed)
{
- DECLARE_GLOBAL_DATA_PTR;
static int fdr = -1;
if (fdr == -1) {