summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-11-18 17:11:09 +0100
committerWolfgang Denk <wd@denx.de>2007-11-18 17:11:09 +0100
commit8412d814ce8bf5570a2b747f1e7fd321097fe987 (patch)
tree27f1467772c675242af737a8481ec75f81b0d2d9 /drivers
parent409ecdc0bb47dd28b0af6c25ffd658d22cc36b37 (diff)
downloadu-boot-imx-8412d814ce8bf5570a2b747f1e7fd321097fe987.zip
u-boot-imx-8412d814ce8bf5570a2b747f1e7fd321097fe987.tar.gz
u-boot-imx-8412d814ce8bf5570a2b747f1e7fd321097fe987.tar.bz2
Fix compiler warnings for ARM systems.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s3c4510b_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s3c4510b_eth.c b/drivers/s3c4510b_eth.c
index 48901aa..3d9066a 100644
--- a/drivers/s3c4510b_eth.c
+++ b/drivers/s3c4510b_eth.c
@@ -175,7 +175,7 @@ s32 eth_send(volatile void *packet, s32 length)
}
/* copy user data into frame data pointer */
- memcpy((void *)(eth->m_curTX_FD->m_frameDataPtr.bf.dataPtr),
+ memcpy((void *)((u32)(eth->m_curTX_FD->m_frameDataPtr.bf.dataPtr)),
(void *)packet,
length);