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
/
arm920t
/
at91rm9200
/
i2c.c
diff --git
a/cpu/arm920t/at91rm9200/i2c.c
b/cpu/arm920t/at91rm9200/i2c.c
index
90f95df
..
b68c5dd
100644
(file)
--- a/
cpu/arm920t/at91rm9200/i2c.c
+++ b/
cpu/arm920t/at91rm9200/i2c.c
@@
-120,7
+120,7
@@
int
i2c_read (unsigned char chip, unsigned int addr, int alen,
unsigned char *buffer, int len)
{
i2c_read (unsigned char chip, unsigned int addr, int alen,
unsigned char *buffer, int len)
{
-#ifdef C
FG
_I2C_EEPROM_ADDR_OVERFLOW
+#ifdef C
ONFIG_SYS
_I2C_EEPROM_ADDR_OVERFLOW
/* we only allow one address byte */
if (alen > 1)
return 1;
/* we only allow one address byte */
if (alen > 1)
return 1;
@@
-139,7
+139,7
@@
int
i2c_write(unsigned char chip, unsigned int addr, int alen,
unsigned char *buffer, int len)
{
i2c_write(unsigned char chip, unsigned int addr, int alen,
unsigned char *buffer, int len)
{
-#ifdef C
FG
_I2C_EEPROM_ADDR_OVERFLOW
+#ifdef C
ONFIG_SYS
_I2C_EEPROM_ADDR_OVERFLOW
int i;
unsigned char *buf;
int i;
unsigned char *buf;
@@
-210,7
+210,7
@@
int i2c_set_bus_speed(unsigned int speed)
unsigned int i2c_get_bus_speed(void)
{
unsigned int i2c_get_bus_speed(void)
{
- return C
FG
_I2C_SPEED;
+ return C
ONFIG_SYS
_I2C_SPEED;
}
#endif /* CONFIG_HARD_I2C */
}
#endif /* CONFIG_HARD_I2C */