summaryrefslogtreecommitdiff
path: root/board/at91rm9200dk/at45.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-03-11 22:53:33 +0100
committerWolfgang Denk <wd@pollux.denx.de>2006-03-11 22:53:33 +0100
commitd52fb7e3d135704334bd6f97f3444e824665b76f (patch)
treee1e91e323b603533acda1c1de53388c588e3753c /board/at91rm9200dk/at45.c
parent4367a01036bdb67e7fc3000cedba7195fbdee304 (diff)
downloadu-boot-imx-d52fb7e3d135704334bd6f97f3444e824665b76f.zip
u-boot-imx-d52fb7e3d135704334bd6f97f3444e824665b76f.tar.gz
u-boot-imx-d52fb7e3d135704334bd6f97f3444e824665b76f.tar.bz2
Some code cleanup for GCC 4.x
Diffstat (limited to 'board/at91rm9200dk/at45.c')
-rw-r--r--board/at91rm9200dk/at45.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/at91rm9200dk/at45.c b/board/at91rm9200dk/at45.c
index 3c00132..f886fe4 100644
--- a/board/at91rm9200dk/at45.c
+++ b/board/at91rm9200dk/at45.c
@@ -593,7 +593,7 @@ int AT91F_DataFlashRead(
if (AT91F_DataFlashWaitReady(pDataFlash->pDataFlashDesc, AT91C_TIMEOUT_WRDY) != DATAFLASH_OK)
return -1;
- if (AT91F_DataFlashContinuousRead (pDataFlash, addr, buffer, SizeToRead) != DATAFLASH_OK)
+ if (AT91F_DataFlashContinuousRead (pDataFlash, addr, (uchar *)buffer, SizeToRead) != DATAFLASH_OK)
return -1;
size -= SizeToRead;