aboutsummaryrefslogtreecommitdiff
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:29:28 +0800
commit69ae781161eef75b4de1346f68279b38a385f7a3 (patch)
treeeb4a0f96f30ec87eef8f459413a06e5803027505
parent1cf55aba4902d43c95e5a24acf6d85de96923dc0 (diff)
downloadarm-trusted-firmware-69ae781161eef75b4de1346f68279b38a385f7a3.tar.gz
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>
-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 91e3b0ac5..aa68906da 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: