Skip to content
Commit d9d803e0 authored by Yann Gautier's avatar Yann Gautier
Browse files

mmc: stm32_sdmmc2: correctly manage block size



DBLOCKSIZE should be filled such as the data size is 2^DBLOCKSIZE.
Hence it is calculated with __builtin_ctz.

Change-Id: Id6b5ff9b594afc4fc523a388011beed307e6abd1
Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
parent 2c2c9f1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment