Skip to content
  • Diego Santa Cruz's avatar
    mmc: extend mmcinfo to show enhanced partition attribute · c3dbb4f9
    Diego Santa Cruz authored
    
    
    This extends the mmcinfo command's output to show which eMMC partitions
    have the enhanced attribute set. Note that the eMMC spec says that
    if the enhanced attribute is supported then the boot and RPMB
    partitions are of the enhanced type.
    
    The output of mmcinfo becomes:
    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 ENH
    Boot Capacity: 16 MiB ENH
    RPMB Capacity: 128 KiB ENH
    GP1 Capacity: 64 MiB ENH
    GP2 Capacity: 64 MiB ENH
    
    Signed-off-by: default avatarDiego Santa Cruz <Diego.SantaCruz@spinetix.com>
    c3dbb4f9