diff options
author | Diego Santa Cruz <Diego.SantaCruz@spinetix.com> | 2014-12-23 10:50:16 +0100 |
---|---|---|
committer | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | 2015-01-19 17:00:11 +0200 |
commit | c5f0d3f1c5078870926ebbc84af92f0f66133cb3 (patch) | |
tree | 404ebe812a48741190686e3bd79f100f0bd5367e /drivers/mmc/mmc_spi.c | |
parent | 72d42bad5849dd063fb2f2de84384f97dd990c30 (diff) | |
download | u-boot-imx-c5f0d3f1c5078870926ebbc84af92f0f66133cb3.zip u-boot-imx-c5f0d3f1c5078870926ebbc84af92f0f66133cb3.tar.gz u-boot-imx-c5f0d3f1c5078870926ebbc84af92f0f66133cb3.tar.bz2 |
mmc: show hardware partition sizes in mmcinfo output
There is currently no command that will provide an overview of the hardware
partitions present on an eMMC device, one has to switch to every partition
via "mmc dev" and run mmcinfo for each to get the partition's capacity.
This commit adds a few lines of output to mmcinfo with the sizes of the
present partitions, like this:
Device: OMAP SD/MMC
Manufacturer ID: fe
OEM: 14e
Name: MMC16
Tran Speed: 52000000
Rd Block Len: 512
MMC version 4.41
High Capacity: Yes
Capacity: 13.8 GiB
Bus Width: 4-bit
User Capacity: 13.8 GiB
Boot Capacity: 16 MiB
RPMB Capacity: 128 KiB
GP1 Capacity: 64 MiB
GP2 Capacity: 64 MiB
panto: Minor edit removing superfluous parentheses.
Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Diffstat (limited to 'drivers/mmc/mmc_spi.c')
0 files changed, 0 insertions, 0 deletions