Skip to content
Snippets Groups Projects
Commit f866a46d authored by Stephen Warren's avatar Stephen Warren Committed by Andy Fleming
Browse files

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: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent 06e4ae5f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment