]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/mmc/mmc.c
mmc: detect boot sectors using EXT_CSD_BOOT_MULT too
[karo-tx-uboot.git] / drivers / mmc / mmc.c
index c1c2862986432cd3a7be6d0600d6cb094ba0f004..551d6a9189eb474f0059cd411fede4834ef66026 100644 (file)
@@ -1162,7 +1162,8 @@ int mmc_startup(struct mmc *mmc)
                }
 
                /* store the partition info of emmc */
-               if (ext_csd[EXT_CSD_PARTITIONING_SUPPORT] & PART_SUPPORT)
+               if ((ext_csd[EXT_CSD_PARTITIONING_SUPPORT] & PART_SUPPORT) ||
+                   ext_csd[EXT_CSD_BOOT_MULT])
                        mmc->part_config = ext_csd[EXT_CSD_PART_CONF];
        }