Enable cache control for eMMC4.5 devices.
Bug
1247699
Bug
1238635
Reviewed-on: http://git-master/r/203326
(cherry picked from commit
48c663ec8d9f3412ec3d8150585bea0a72573dd7)
Change-Id: Id0ede63599e8c3713fc2b95f0741cbcd1e7086bc
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/220962
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
tegra_sdhost_std_freq = TEGRA3_SDHOST_STD_FREQ;
#else
tegra_sdhost_std_freq = TEGRA3_SDHOST_STD_FREQ;
+ host->mmc->caps2 |= MMC_CAP2_CACHE_CTRL;
host->mmc->caps |= MMC_CAP_CMD23;
#endif