Skip to content
  • Stephen Warren's avatar
    mmc: detect boot sectors using EXT_CSD_BOOT_MULT too · 8948ea83
    Stephen Warren authored
    
    
    Some eMMC devices contain boot partitions, but do not set the PART_SUPPORT
    bit in EXT_CSD_PARTITIONING_SUPPORT. Allow partition selection on such
    devices, by enabling partition switching when EXT_CSD_BOOT_MULT is set.
    
    Note that the Linux kernel enables access to boot partitions solely based
    on the value of EXT_CSD_BOOT_MULT; EXT_CSD_PARTITIONING_SUPPORT only
    influences access to "general" partitions.
    
    eMMC devices affected by this issue exist on various NVIDIA Tegra
    platforms (and presumably many others too), such as Harmony (plug-in eMMC),
    Seaboard, Springbank, and Whistler (plug-in eMMC).
    
    Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
    8948ea83