HS200/HS400 mode is not supported during boot operation.
Signed-off-by: Jaehoon Chung <[email protected]>
---
include/linux/mmc/host.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 7960424..ce5db96 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -445,6 +445,10 @@ static inline int mmc_host_cmd23(struct mmc_host *host)
static inline int mmc_boot_partition_access(struct mmc_host *host)
{
+ /* HS200 & HS400 mode is not supported during boot operation */
+ if (host->caps2 & (MMC_CAP2_HS200 | MMC_CAP2_HS400))
+ return 0;
+
return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC);
}
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html