summaryrefslogtreecommitdiff
path: root/plat/intel
diff options
context:
space:
mode:
authorTien Hock, Loh <tien.hock.loh@intel.com>2019-03-08 09:26:24 +0800
committerTien Hock, Loh <tien.hock.loh@intel.com>2019-03-08 09:26:24 +0800
commitdd8c03b6bf16739f979ddc5aa20279b06ea5ea3e (patch)
treeb698958d1f5cf395ce1f3fc823b4a2bb36345e5a /plat/intel
parenta468e756377ebe73920eb83f4a4425cabab66ebc (diff)
plat: intel: Add MMC OCR voltage information for initialization
MMC stack needs OCR voltage information for the platform to initialize MMC controller correctly. Signed-off-by: Tien Hock, Loh <tien.hock.loh@intel.com>
Diffstat (limited to 'plat/intel')
-rw-r--r--plat/intel/soc/stratix10/bl2_plat_setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/intel/soc/stratix10/bl2_plat_setup.c b/plat/intel/soc/stratix10/bl2_plat_setup.c
index 91e3b0ac..aa68906d 100644
--- a/plat/intel/soc/stratix10/bl2_plat_setup.c
+++ b/plat/intel/soc/stratix10/bl2_plat_setup.c
@@ -99,6 +99,7 @@ void bl2_el3_plat_arch_setup(void)
dw_mmc_params_t params = EMMC_INIT_PARAMS(0x100000);
info.mmc_dev_type = MMC_IS_SD;
+ info.ocr_voltage = OCR_3_3_3_4 | OCR_3_2_3_3;
switch (boot_source) {
case BOOT_SOURCE_SDMMC: