projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
resubmit: ppc4xx: Remove sequoia/sequioa.h. Cleanup ppc440.h for PPC440EPX
[oweals/u-boot.git]
/
cpu
/
mpc5xxx
/
i2c.c
diff --git
a/cpu/mpc5xxx/i2c.c
b/cpu/mpc5xxx/i2c.c
index 044db46f6fb43676627c835ba844871a6e5a89d7..0f02e78a3bd3e25d04459b50c0b36c5d0e79cdc1 100644
(file)
--- a/
cpu/mpc5xxx/i2c.c
+++ b/
cpu/mpc5xxx/i2c.c
@@
-23,6
+23,8
@@
#include <common.h>
+DECLARE_GLOBAL_DATA_PTR;
+
#ifdef CONFIG_HARD_I2C
#include <mpc5xxx.h>
@@
-228,7
+230,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) {