]> git.sur5r.net Git - u-boot/commit
mmc: detect boot sectors using EXT_CSD_BOOT_MULT too
authorStephen Warren <swarren@nvidia.com>
Mon, 30 Jul 2012 10:55:43 +0000 (10:55 +0000)
committerTom Warren <twarren@nvidia.com>
Fri, 7 Sep 2012 20:54:31 +0000 (13:54 -0700)
commit29159057a168fce0fb473b7771bb4f0940527213
tree6d4c53b1557da1fe10709f9681c346ef933656ee
parent0bc069b2e46ec673daf1c17ee86099fef7252660
mmc: detect boot sectors using EXT_CSD_BOOT_MULT too

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: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/mmc/mmc.c
include/mmc.h