projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git]
/
cpu
/
mpc824x
/
drivers
/
i2c
/
i2c.c
diff --git
a/cpu/mpc824x/drivers/i2c/i2c.c
b/cpu/mpc824x/drivers/i2c/i2c.c
index
3add687
..
854345e
100644
(file)
--- a/
cpu/mpc824x/drivers/i2c/i2c.c
+++ b/
cpu/mpc824x/drivers/i2c/i2c.c
@@
-31,9
+31,9
@@
#ifdef CONFIG_HARD_I2C
#include <i2c.h>
#ifdef CONFIG_HARD_I2C
#include <i2c.h>
-#define TIMEOUT (C
FG
_HZ/4)
+#define TIMEOUT (C
ONFIG_SYS
_HZ/4)
-#define I2C_Addr ((unsigned *)(C
FG
_EUMB_ADDR + 0x3000))
+#define I2C_Addr ((unsigned *)(C
ONFIG_SYS
_EUMB_ADDR + 0x3000))
#define I2CADR &I2C_Addr[0]
#define I2CFDR &I2C_Addr[1]
#define I2CADR &I2C_Addr[0]
#define I2CFDR &I2C_Addr[1]