projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup for GCC-4.x
[oweals/u-boot.git]
/
cpu
/
ppc4xx
/
spd_sdram.c
diff --git
a/cpu/ppc4xx/spd_sdram.c
b/cpu/ppc4xx/spd_sdram.c
index 48102efcff089ce41cf56c0ed6a369a660b39542..7c9ac25e218d7fd63b1ec0c6bf245438fd3c6637 100644
(file)
--- a/
cpu/ppc4xx/spd_sdram.c
+++ b/
cpu/ppc4xx/spd_sdram.c
@@
-456,7
+456,7
@@
long int spd_sdram(int(read_spd)(uint addr))
int spd_read(uint addr)
{
- char data[2];
+
u
char data[2];
if (i2c_read(SPD_EEPROM_ADDRESS, addr, 1, data, 1) == 0)
return (int)data[0];