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]
/
board
/
esd
/
cpci750
/
i2c.c
diff --git
a/board/esd/cpci750/i2c.c
b/board/esd/cpci750/i2c.c
index
5b1bc01
..
d95567f
100644
(file)
--- a/
board/esd/cpci750/i2c.c
+++ b/
board/esd/cpci750/i2c.c
@@
-46,7
+46,7
@@
static void i2c_init (int speed, int slaveaddr)
unsigned int n, m, freq, margin, power;
unsigned int actualN = 0, actualM = 0;
unsigned int minMargin = 0xffffffff;
unsigned int n, m, freq, margin, power;
unsigned int actualN = 0, actualM = 0;
unsigned int minMargin = 0xffffffff;
- unsigned int tclk = C
FG
_TCLK;
+ unsigned int tclk = C
ONFIG_SYS
_TCLK;
unsigned int i2cFreq = speed; /* 100000 max. Fast mode not supported */
DP (puts ("i2c_init\n"));
unsigned int i2cFreq = speed; /* 100000 max. Fast mode not supported */
DP (puts ("i2c_init\n"));
@@
-380,7
+380,7
@@
i2c_read (uchar dev_addr, unsigned int offset, int alen, uchar * data,
int len)
{
uchar status = 0;
int len)
{
uchar status = 0;
- unsigned int i2cFreq = C
FG
_I2C_SPEED;
+ unsigned int i2cFreq = C
ONFIG_SYS
_I2C_SPEED;
DP (puts ("i2c_read\n"));
DP (puts ("i2c_read\n"));
@@
-428,7
+428,7
@@
i2c_write (uchar dev_addr, unsigned int offset, int alen, uchar * data,
int len)
{
uchar status = 0;
int len)
{
uchar status = 0;
- unsigned int i2cFreq = C
FG
_I2C_SPEED;
+ unsigned int i2cFreq = C
ONFIG_SYS
_I2C_SPEED;
DP (puts ("i2c_write\n"));
DP (puts ("i2c_write\n"));
@@
-464,7
+464,7
@@
int i2c_probe (uchar chip)
unsigned int i2c_status;
#endif
uchar status = 0;
unsigned int i2c_status;
#endif
uchar status = 0;
- unsigned int i2cFreq = C
FG
_I2C_SPEED;
+ unsigned int i2cFreq = C
ONFIG_SYS
_I2C_SPEED;
DP (puts ("i2c_probe\n"));
DP (puts ("i2c_probe\n"));