commit | d9d803e0be7af7785d8ea72e79b2926db581bb65 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Tue Jun 11 20:03:07 2019 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Mon Sep 02 17:53:16 2019 +0200 |
tree | 74b7a52afbe9ba96032d1a37765acb68e6a5d8bd | |
parent | 2c2c9f1eb1596793dd590cfc19d65488fd286dfc [diff] |
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: Yann Gautier <yann.gautier@st.com>