commit | e315ae89d35808b6c2cde5508c9df9672abccadd | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Tue Jun 11 15:14:01 2013 -0600 |
committer | Andy Fleming <afleming@freescale.com> | Thu Jun 13 16:52:19 2013 -0500 |
tree | bf0687968802541782242d034ec0b4d03a3bba6e | |
parent | eedcacdb411e0f0f3922904d8be9643a2862f9b2 [diff] |
mmc: report capacity for the selected partition Enhance the MMC core to calculate the size of each MMC partition, and update mmc->capacity whenever a partition is selected. This causes: mmc dev 0 1 ; mmcinfo ... to report the size of the currently selected partition, rather than always reporting the size of the user partition. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Andy Fleming <afleming@freescale.com>