summaryrefslogtreecommitdiff
path: root/cpu/pxa
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-02-20 09:05:45 +0100
committerStefan Roese <sr@denx.de>2007-02-20 09:05:45 +0100
commiteb867a76238fb38e952c37871b16d0d7fd61c95f (patch)
tree7db1f4941c4e51073b7a6d600a9432b51e2f56fa /cpu/pxa
parent53758fa20e935cc87eeb0519ed365df753a6f289 (diff)
downloadu-boot-imx-eb867a76238fb38e952c37871b16d0d7fd61c95f.zip
u-boot-imx-eb867a76238fb38e952c37871b16d0d7fd61c95f.tar.gz
u-boot-imx-eb867a76238fb38e952c37871b16d0d7fd61c95f.tar.bz2
[PATCH 9_9] Use "void *" not "unsigned long *" for block dev read_write buffer pointers
Block device read/write is anonymous data; there is no need to use a typed pointer. void * is fine. Also add a hook for block_read functions Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'cpu/pxa')
-rw-r--r--cpu/pxa/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/pxa/mmc.c b/cpu/pxa/mmc.c
index c57d0d5..0fbaa16 100644
--- a/cpu/pxa/mmc.c
+++ b/cpu/pxa/mmc.c
@@ -363,7 +363,7 @@ mmc_write(uchar *src, ulong dst, int size)
ulong
/****************************************************/
-mmc_bread(int dev_num, ulong blknr, ulong blkcnt, ulong *dst)
+mmc_bread(int dev_num, ulong blknr, ulong blkcnt, void *dst)
/****************************************************/
{
int mmc_block_size = MMC_BLOCK_SIZE;