summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/cmd_mmc.c2
-rw-r--r--drivers/mmc/mmc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c
index d82f2db..85f0200 100644
--- a/common/cmd_mmc.c
+++ b/common/cmd_mmc.c
@@ -113,7 +113,7 @@ static void print_mmcinfo(struct mmc *mmc)
printf("High Capacity: %s\n", mmc->high_capacity ? "Yes" : "No");
puts("Capacity: ");
- print_size(mmc->capacity, "\n");
+ printf("%lld Bytes\n", mmc->capacity);
printf("Bus Width: %d-bit %s\n", mmc->bus_width,
(mmc->card_caps & EMMC_MODE_4BIT_DDR ||
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index e5a0ec9..54e2a21 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -119,7 +119,7 @@ int mmc_send_status(struct mmc *mmc, int timeout)
cmd.cmdidx = MMC_CMD_SEND_STATUS;
cmd.resp_type = MMC_RSP_R1;
- cmd.cmdarg = 0;
+ cmd.cmdarg = mmc->rca << 16;
cmd.flags = 0;
do {