commit | f866a46d6ee86335f60c542e294ec2c01d689eba | [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 | 06e4ae5f8059caac5597e0cfcad5e2e45838fadb [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>