mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
mmc: msm_sdcc: Enable eMMCv4.5 BKOPS support
Set MMC_CAP2_INIT_BKOPS. This will set the BKOPS_EN bit in the ext_csd register. The BKOPS_EN bit is one time programmable. (cherry picked from commit b7f382b25fbd363c43af2332b4ff490e13aab6e4) Change-Id: Ie913561b2b82ff28366ffe564ffcafe8fc19a96a Signed-off-by: Maya Erez <merez@codeaurora.org> (cherry picked from commit 2d29e0d34e3304d976291d3ab29c7c893c12d740)
This commit is contained in:
parent
1a6cf520af
commit
0375b15d28
1 changed files with 1 additions and 0 deletions
|
@ -5760,6 +5760,7 @@ msmsdcc_probe(struct platform_device *pdev)
|
|||
|
||||
mmc->caps2 |= (MMC_CAP2_BOOTPART_NOACC | MMC_CAP2_DETECT_ON_ERR);
|
||||
mmc->caps2 |= MMC_CAP2_SANITIZE;
|
||||
mmc->caps2 |= MMC_CAP2_INIT_BKOPS;
|
||||
|
||||
if (plat->nonremovable)
|
||||
mmc->caps |= MMC_CAP_NONREMOVABLE;
|
||||
|
|
Loading…
Reference in a new issue