summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRichard Zhu <r65037@freescale.com>2013-07-18 12:39:11 +0800
committerRichard Zhu <r65037@freescale.com>2013-07-18 12:47:11 +0800
commit70b09b335f645c31bea82a669d8cf722f1cd63b5 (patch)
tree57d7c73f0ed7df81b893a3183d4f6f57d3f84f47 /drivers
parent139964d1850de59befd8710d1682d494d7d2fa1a (diff)
ENGR00271609 mmc: correct the wrong calculation of the boot size
The original calculation of the boot size is wrong. Fix it by the right calculation. Signed-off-by: Richard Zhu <r65037@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/core/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 5c8fa764ca43..2bd67d527157 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -840,7 +840,7 @@ static ssize_t mmc_boot_info_show(struct device *dev,
"Supports high speed timing during boot" :
"Does not support high speed timing during boot",
- card->ext_csd.boot_size * 128,
+ card->ext_csd.boot_size >> 10,
card->ext_csd.boot_config,
!!(card->ext_csd.boot_config & 0x40),