diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-06-11 15:14:01 -0600 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-06-13 16:52:19 -0500 |
commit | f866a46d6ee86335f60c542e294ec2c01d689eba (patch) | |
tree | bf0687968802541782242d034ec0b4d03a3bba6e /snapshot.commit | |
parent | 06e4ae5f8059caac5597e0cfcad5e2e45838fadb (diff) | |
download | u-boot-imx-f866a46d6ee86335f60c542e294ec2c01d689eba.zip u-boot-imx-f866a46d6ee86335f60c542e294ec2c01d689eba.tar.gz u-boot-imx-f866a46d6ee86335f60c542e294ec2c01d689eba.tar.bz2 |
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>
Diffstat (limited to 'snapshot.commit')
0 files changed, 0 insertions, 0 deletions