Signed-off-by: Josh Wu <[email protected]>
---
 drivers/mmc/gen_atmel_mci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c
index acca026..eb2fe1c 100644
--- a/drivers/mmc/gen_atmel_mci.c
+++ b/drivers/mmc/gen_atmel_mci.c
@@ -244,7 +244,7 @@ mci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct 
mmc_data *data)
                        if (data->flags & MMC_DATA_READ)
                        {
                                printf("Read Data:\n");
-                               print_buffer(0, data->dest, 1,
+                               print_buffer(0, data->dest + word_count * 4 * 
block_count, 1,
                                        word_count*4, 0);
                        }
 #endif
-- 
1.7.9.5

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to