summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2005-08-31 12:55:50 +0200
committerStefan Roese <sr@denx.de>2005-08-31 12:55:50 +0200
commit9d2a873bdf72a7c615c9c7ac55357085d0299716 (patch)
tree6aab5d3254576cc613e1f044399137aba48cab41 /net
parent77f6580cc078fea22c2b1348f5b177edcd63885f (diff)
downloadtalos-obmc-uboot-9d2a873bdf72a7c615c9c7ac55357085d0299716.tar.gz
talos-obmc-uboot-9d2a873bdf72a7c615c9c7ac55357085d0299716.zip
Add I2C support to TQM8540 and TQM8560 boards (EEPROM, RTC, LM75-DTT).
Removed CFG_CMD_DISPLAY from default commands. Fixed compiler warning in net.c. Patch by Stefan Roese, 31 Aug 2005
Diffstat (limited to 'net')
-rw-r--r--net/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/net.c b/net/net.c
index d13ae74cd1..11b770004b 100644
--- a/net/net.c
+++ b/net/net.c
@@ -1574,7 +1574,7 @@ unsigned
NetCksum(uchar * ptr, int len)
{
ulong xsum;
- ushort *p = ptr;
+ ushort *p = (ushort *)ptr;
xsum = 0;
while (len-- > 0)
OpenPOWER on IntegriCloud