diff options
author | Wolfgang Denk <wd@denx.de> | 2009-06-04 10:56:09 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-06-04 10:56:09 +0200 |
commit | 3bc8556f9b24af60dba2b55a0abb1182dff45ecc (patch) | |
tree | a6333aa494f842120c69724386b3823affd177e7 /drivers/mmc/fsl_esdhc.c | |
parent | dfcd7f21607fd847236b04bb1a8d59a7c10ab99c (diff) | |
parent | 4e3d89ba948eef801ffd46ef862cdede5b3f8320 (diff) | |
download | u-boot-imx-3bc8556f9b24af60dba2b55a0abb1182dff45ecc.zip u-boot-imx-3bc8556f9b24af60dba2b55a0abb1182dff45ecc.tar.gz u-boot-imx-3bc8556f9b24af60dba2b55a0abb1182dff45ecc.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
Diffstat (limited to 'drivers/mmc/fsl_esdhc.c')
-rw-r--r-- | drivers/mmc/fsl_esdhc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 0ba45cd..8274af5 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -206,12 +206,12 @@ esdhc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) cmdrsp2 = in_be32(®s->cmdrsp2); cmdrsp1 = in_be32(®s->cmdrsp1); cmdrsp0 = in_be32(®s->cmdrsp0); - ((uint *)(cmd->response))[0] = (cmdrsp3 << 8) | (cmdrsp2 >> 24); - ((uint *)(cmd->response))[1] = (cmdrsp2 << 8) | (cmdrsp1 >> 24); - ((uint *)(cmd->response))[2] = (cmdrsp1 << 8) | (cmdrsp0 >> 24); - ((uint *)(cmd->response))[3] = (cmdrsp0 << 8); + cmd->response[0] = (cmdrsp3 << 8) | (cmdrsp2 >> 24); + cmd->response[1] = (cmdrsp2 << 8) | (cmdrsp1 >> 24); + cmd->response[2] = (cmdrsp1 << 8) | (cmdrsp0 >> 24); + cmd->response[3] = (cmdrsp0 << 8); } else - ((uint *)(cmd->response))[0] = in_be32(®s->cmdrsp0); + cmd->response[0] = in_be32(®s->cmdrsp0); /* Wait until all of the blocks are transferred */ if (data) { |