summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-06-11 15:14:01 -0600
committerAndy Fleming <afleming@freescale.com>2013-06-13 16:52:19 -0500
commitf866a46d6ee86335f60c542e294ec2c01d689eba (patch)
treebf0687968802541782242d034ec0b4d03a3bba6e /test
parent06e4ae5f8059caac5597e0cfcad5e2e45838fadb (diff)
downloadtalos-obmc-uboot-f866a46d6ee86335f60c542e294ec2c01d689eba.tar.gz
talos-obmc-uboot-f866a46d6ee86335f60c542e294ec2c01d689eba.zip
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 'test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud