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]
/
drivers
/
i2c
/
mxc_i2c.c
diff --git
a/drivers/i2c/mxc_i2c.c
b/drivers/i2c/mxc_i2c.c
index
1f6ba1f
..
eedad06
100644
(file)
--- a/
drivers/i2c/mxc_i2c.c
+++ b/
drivers/i2c/mxc_i2c.c
@@
-47,14
+47,14
@@
#define I2SR_IIF (1 << 1)
#define I2SR_RX_NO_AK (1 << 0)
#define I2SR_IIF (1 << 1)
#define I2SR_RX_NO_AK (1 << 0)
-#ifdef C
FG
_I2C_MX31_PORT1
+#ifdef C
ONFIG_SYS
_I2C_MX31_PORT1
#define I2C_BASE 0x43f80000
#define I2C_BASE 0x43f80000
-#elif defined (C
FG
_I2C_MX31_PORT2)
+#elif defined (C
ONFIG_SYS
_I2C_MX31_PORT2)
#define I2C_BASE 0x43f98000
#define I2C_BASE 0x43f98000
-#elif defined (C
FG
_I2C_MX31_PORT3)
+#elif defined (C
ONFIG_SYS
_I2C_MX31_PORT3)
#define I2C_BASE 0x43f84000
#else
#define I2C_BASE 0x43f84000
#else
-#error "define C
FG
_I2C_MX31_PORTx to use the mx31 I2C driver"
+#error "define C
ONFIG_SYS
_I2C_MX31_PORTx to use the mx31 I2C driver"
#endif
#ifdef DEBUG
#endif
#ifdef DEBUG