mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 14:55:16 +00:00
mmc: stm32_sdmmc2: fill ocr_voltage
STM32MP1 SDMMC device voltage is 3.3V. We should then precise the 2 ranges 3.2 to 3.3V and 3.3 to 3.4V in ocr_voltage field. Change-Id: I88e479f8f16bfe608a7808eace0df3fdec48deab Signed-off-by: Yann Gautier <yann.gautier@st.com>
This commit is contained in:
parent
e2b717e6bd
commit
b248bb4a74
1 changed files with 1 additions and 0 deletions
|
@ -723,6 +723,7 @@ int stm32_sdmmc2_mmc_init(struct stm32_sdmmc2_params *params)
|
|||
mdelay(1);
|
||||
|
||||
sdmmc2_params.clk_rate = stm32mp_clk_get_rate(sdmmc2_params.clock_id);
|
||||
sdmmc2_params.device_info->ocr_voltage = OCR_3_2_3_3 | OCR_3_3_3_4;
|
||||
|
||||
return mmc_init(&stm32_sdmmc2_ops, sdmmc2_params.clk_rate,
|
||||
sdmmc2_params.bus_width, sdmmc2_params.flags,
|
||||
|
|
Loading…
Add table
Reference in a new issue