summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-07-30 10:55:43 +0000
committerTom Warren <twarren@nvidia.com>2012-09-07 13:54:31 -0700
commit29159057a168fce0fb473b7771bb4f0940527213 (patch)
tree6d4c53b1557da1fe10709f9681c346ef933656ee /include
parent0bc069b2e46ec673daf1c17ee86099fef7252660 (diff)
downloadblackbird-obmc-uboot-29159057a168fce0fb473b7771bb4f0940527213.tar.gz
blackbird-obmc-uboot-29159057a168fce0fb473b7771bb4f0940527213.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 7546b4a6c8..b63b2c32a0 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -160,6 +160,7 @@
#define EXT_CSD_CARD_TYPE 196 /* RO */
#define EXT_CSD_SEC_CNT 212 /* RO, 4 bytes */
#define EXT_CSD_HC_ERASE_GRP_SIZE 224 /* RO */
+#define EXT_CSD_BOOT_MULT 226 /* RO */
/*
* EXT_CSD field definitions
OpenPOWER on IntegriCloud