projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: remove broken "at91cap9adk" board
[oweals/u-boot.git]
/
board
/
evb64260
/
i2c.c
diff --git
a/board/evb64260/i2c.c
b/board/evb64260/i2c.c
index 22cb8096c831c7a9d0de0c3edd0726e3e8cad062..88d0dac469189d54f20f9c9f8a3d2dc08672a0a5 100644
(file)
--- a/
board/evb64260/i2c.c
+++ b/
board/evb64260/i2c.c
@@
-146,7
+146,7
@@
i2c_select_device(uchar dev_addr, uchar read, int ten_bit)
static uchar
i2c_get_data(uchar* return_data, int len) {
static uchar
i2c_get_data(uchar* return_data, int len) {
- unsigned int data, status;
+ unsigned int data, status
= 0
;
int count = 0;
DP(puts("i2c_get_data\n"));
int count = 0;
DP(puts("i2c_get_data\n"));
@@
-306,7
+306,7
@@
i2c_read(uchar dev_addr, unsigned int offset, int len, uchar* data,
status = i2c_get_data(data, len);
if (status) {
#ifdef DEBUG_I2C
status = i2c_get_data(data, len);
if (status) {
#ifdef DEBUG_I2C
- printf("Data not rec
ie
ved: 0x%02x\n", status);
+ printf("Data not rec
ei
ved: 0x%02x\n", status);
#endif
return status;
}
#endif
return status;
}